ASP Forum
Error 80004005
webdesign | Posted 7:28pm 31. August 2007 Server Time |

I am getting this error.

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x530 Thread 0x6ec DBC 0x161497c Jet'.

I am still getting this error even after I delete the database.

I have searched the forum for possible solutions.

1.) I am not running Crystal Reports 8
2.) Permissions have all been set to modify

Please help.
valkyr | Posted 2:30am 4. September 2007 Server Time |

>> 2.) Permissions have all been set to modify

Permissions on what have been set to modify ? You need write permissions on the Database itself and the Directory where it resides.
webdesign | Posted 0:09am 5. September 2007 Server Time |

everything had been working fine for a very long time.
webdesign | Posted 0:10am 5. September 2007 Server Time |

and then this error 80004005
webdesign | Posted 5:14am 19. September 2007 Server Time |

trying to use the following code but I get the 80004005 error.  This script seems to be the problem.

Strange because it worked fine a couple of weeks ago.

Does anybody see anything wrong here?

<%
Dim myConn,myPath
Set myConn = Server.CreateObject("ADODB.Connection")
myPath = Server.MapPath("maindatabase.mdb")
myConn.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & myPath & ";"
Dim mySQL
mySQL = "Select Count(*) AS myTotal FROM sampletable where DateDiff('s',timelastlogged, Now) < 1800"
Dim myRS
Set myRS = Server.CreateObject("ADODB.RecordSet")
myRS.Open mySQL, myConn
Response.Write myRS("myTotal")
myRS.Close
Set myRS = Nothing
myConn.Close
Set myConn = Nothing
%>

I use other connections to other databases and it works fine... but somehow when I try to count things.  I get the 80004005 error.

Thanks in advance


Reply to Post Error 80004005



Back to Forum Page