Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ODBC Error

Status
Not open for further replies.

blondebier

Programmer
Jun 19, 2003
142
GB
Any ideas why I would be receiving 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 0x714 Thread 0x808 DBC 0x1044044 Jet'.
C:\INETPUB\ line 10

I changed the path in my db.asp file from:

strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=C:\inetpub\ & _
"Persist Security Info=False"

to:

dim db
dim strConn

strConn = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("myDB.mdb")

This sorted out another error message, but created this one!

Any help would be greatly appreciated.
 
two kinds of drivers. you are probably running a newer version of access and some of the older versions do not like the ODBC. besides it's prone to errors and not a suggested connection string anyhow.

____________________________________________________
[sub]The most important part of your thread is the subject line.
Make it clear and about the topic so we can find it later for reference. Please!! faq333-2924[/sub]
onpnt2.gif
 
If I were you, I would go back to using the OLEDB provider and tell us what error you were getting with that. It will probably be easier to fix.

--James
 
i agree with JamesLean. I had the exact same problem, only I started with your current string and fixed it by changing to your first string. It is easier to fix the first error (whatever it was) than to fix your current error :)
 
1) your question to the second thread you started is in my reply
2) please don't start multiple threads on the same topic and problem/discussion etc....
3) in case the answer is somehow hidden in my reply,
The OLEDB is a more stable and less prone to errors connection string!
In case ou want a second opinion, just about every hit from a search will tell you that also.




____________________________________________________
[sub]The most important part of your thread is the subject line.
Make it clear and about the topic so we can find it later for reference. Please!! faq333-2924[/sub]
onpnt2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top