|
dzirkelb1 -> Cannot open database ''. It may not be a database that your application recognizes, or the file may (4/9/2009 17:08:48)
|
Periodically throughout the day, I'd say two or three times, all of my pages that use a specific access application will get this error: quote:
Microsoft JET Database Engine error '80004005' Cannot open database ''. It may not be a database that your application recognizes, or the file may be corrupt. /dbole_noado.inc, line 4 The code for include file is this:
<%
strConn = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=D:/Data/DeeIntranet.mdb;Password=;"
Set dbc = Server.CreateObject("ADODB.Connection")
dbc.open strConn
%>
To get rid of the error, I do an iisreset, and it fixes it with 100% success rate. However, it is really annoying. I have read some about it, they say my database could actually be corrupt. I have done a compact and it still does it. I just did a repair, so we'll see if that works. I have also read that I need to make sure my jet 4.0 has the most recent version. Also, that I have the most recent mdac installed...however, every link I find to the most recent mdac is an old microsoft link. Here is the link that I found to get the latest jet / mdac: http://databases.aspfaq.com/database/how-do-i-get-the-latest-version-of-the-jet-oledb-drivers.html and the link to mdac is out of date. So, two questions: 1) does anyone know where the most recent MDAC download would be? 2) does anyone have any other ideas of what to try? I am in the process of updating over 150 pages from access to sql connection, but there will always be some stragglers that just use access...and I'd like to get rid of this once and for all.
|
|
|
|