Forum Moderators: open
I am a novice ASP programmer. I get the following error while working with one of the pages which connects to the access database.
E R R O R
--------------------------------------------------------
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x5e8 Thread 0x7f4 DBC 0x391000c Jet'.
/xx/pagename.asp, line 12
Internal Server Error
--------------------------------------------------------
connection string
--------------------------------------------------------
<%
mpath="databases/db.mdb"
dsn = "DBQ=" & Server.Mappath(mpath) & ";Driver={Microsoft Access Driver (*.mdb)}; PWD="
%>
--------------------------------------------------------
I dont know what to do here. It was working yesterday and collected some data too, Today its just not working. I am lost because of its randomness.
Thanking,
Neh
Open Explorer and find the \WINNT\Temp directory.
select the "Security" tab under the "Properties" and add "iusr_" account ("IUSR_", Internet Guest User.)
In the "Permissions" box allow only :
List Folder Contents
Read
Write permissions
It also cleck the checkbox saying "Allow inheritable from parent to propagate this object
Dave
DaveN...what does setting the permissions on the WINNT/temp directory do if the db isn't there?
Always learning something.
cst = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
cst = cst & server.mappath("database.mdb")
set conn = Server.CreateObject("ADODB.Connection")
conn.open cst
It doesn't make sense to allow the read and write access to the Folder where database is. But I did it anyways and it worked great. Still working after 4 days.
I dont like the way MS is doing stuff, and these "unkown errors".
I am glad I had you people with me.
Thanks,
Neh