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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unable to open registry key 'DriverID'.

Status
Not open for further replies.

LongFeiFengWu

Technical User
Nov 9, 2001
98
US
I get the following error anytime I try to access my database now. It's never happened before. Just sprung up. Every bit of research I've done says to edit the permissions, but I've done that and everyone has access. Is there anything else that might be wrong?

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'DriverId'.

/Joe/Includes/openDBconnections.asp, line 6


"If nothing within you stays rigid, outward things will disclose themselves. Moving, be like water. Still, be like a mirror. Respond like an echo." ~ Bruce Lee
 

may help.

As might

This can happen if .....

The page can’t find the DSN on your local machine.
The page can’t find the DSN on your Web Hosts server.
The DSN was set up as a user DSN, not as a system DSN.
If you are using Microsoft Access, the database file (.mdb) might be locked due to a DSN with a different name accessing the database.
What must I do???


Make sure that you have set up your DSN correctly on your local machine.
Just because you have a DSN on your local machine does not mean that your page will automatically work on your Web Hosts server. You have to set up a DSN (with the same name) on their server as well. Check your hosts FAQ's or mail their support team for instructions.
Check that the DSN you set up was a "System" DSN and not a "User" DSN.
Look for the lock file (.ldb) in the folder containing the database file (.mdb) and delete the .ldb file. If another DSN is pointing to the same database file delete that DSN to prevent the error in the future. Reboot the computer after making these changes.



Craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top