|
 |
asp_database_setup thread: Access 97 Interfering with Access 2000 Driver?
Message #1 by "Bonnie Colleen Lehenbauer" <bcwillia@r...> on Fri, 9 Mar 2001 13:28:19 -0800
|
|
I have an asp application that works with an Access 2000 database. I have a
friend that installed it on another computer with Access 97 installed. I
had him upgrade MDAC, but the asp application still cannot open the
database. I thought perhaps the default Access driver was pointing to the
wrong version of jet, so I had him change the datasource for the application
to be more specific, but the problem continues.
My new connection string now reads:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\DB\MyDB.mdb
But the following error continues:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access 97 Driver] Can't open database
'(unknown)'. It may not be a database that your application recognizes, or
the file may be corrupt.
What really baffles me is the "Access 97 Driver" part of the message when
the provider is pointing to Jet 4.0. Any pointers?
Bonnie
Message #2 by "Ken Schaefer" <ken@a...> on Mon, 12 Mar 2001 12:17:33 +1100
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: I have an asp application that works with an Access 2000 database. I have
a
: friend that installed it on another computer with Access 97 installed. I
: had him upgrade MDAC, but the asp application still cannot open the
: database. I thought perhaps the default Access driver was pointing to the
: wrong version of jet, so I had him change the datasource for the
application
: to be more specific, but the problem continues.
:
: My new connection string now reads:
: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\DB\MyDB.mdb
:
: But the following error continues:
:
: Microsoft OLE DB Provider for ODBC Drivers error '80004005'
: [Microsoft][ODBC Microsoft Access 97 Driver] Can't open database
: '(unknown)'. It may not be a database that your application recognizes, or
: the file may be corrupt.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Judging by the error message it *appears* that you are not using the above
connection string to open a connection to your database. Instead you are
still using the OLEDB Provider for ODBC drivers.
Can you post some more code, eg the bits you use to actually open the
connection (If you were actually using the provider above you'd have an
error similar to:
Microsoft JET OLEDB Provider Error '80004005'
not
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
Cheers
Ken
|
|
 |