Web Hosting Talk







View Full Version : ADODB connection error


andy18
11-24-2002, 01:14 PM
Hello,

Getting this error :

Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Cannot open database '(unknown)'. It may not be a database that your application recognizes, or the file may be corrupt.


I have deleted the database and reupload but the error is still there.

Below is my connection string :

Set objConn = Server.CreateObject("ADODB.Connection")
objConn.ConnectionString ="DSN=rugs"
objConn.Open <------ this is the line where the error appear...





Andy

andy18
11-24-2002, 02:58 PM
Hello,

Manage to find the error.We are using the MDAC 2.7 while the Access database is in 97.Try to convert it to Access 2000 format and fixed the problem.



Cheers!


Andy