常用辦法:
1、重啟伺服器,有些就能恢複正常。
2、安裝 MDAC 新版。
3、沒有辦法的辦法:重裝系統。
微軟支援人員的解決方案:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q295297
網友:
Microsoft OLE DB Provider for ODBC Drivers 錯誤 '80004005'
[Microsoft][ODBC Microsoft Access Driver]常見錯誤 不能開啟註冊表關鍵字 'Temporary (volatile) Jet DSN for process 0x494 Thread 0x960 DBC 0x2c74004 Jet'。
想過所有的辦法包括裝資料庫支援,安裝OLEDB,安裝IIS,安裝ODBC,重新設定資料庫連接方式,都不行,所有訪問ACCESS資料庫的都是同一個錯誤,但是SQL SERVER都沒有問題,只能重新裝WIN2000 才能搞定,但是太麻煩了,所以到網路上找辦法,
唯一找到對頭的解決辦法是:
5.錯誤資訊:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Access 97 ODBC driver Driver]General error Unable to open
registry key 'DriverId'.
原因:
這個錯誤發生在愛從註冊表中讀取數值的時候。 使用regedit32.exe檢查你的註冊表的許可權。
你也可以使用NT中的註冊表監視程式(NTRegMon)來看讀取失敗資訊。該程式到這找:http://www.sysinternals.com
但是對註冊表監測修改後還是沒有能夠解決
我問過很多人,也有幾個碰到過這個問題的,都是重新裝了2000才好,不知道大家有什麼計策
--------------------------------------------------------------------------------
PRB: Error Message: 0x80004005:
General Error Unable to Open Registry Key (Q295297)
--------------------------------------------------------------------------------
The information in this article applies to:
Microsoft Internet Information Services version 5.0
--------------------------------------------------------------------------------
SYMPTOMS
When you access a page that connects to an Access database, you may
receive the following error message in the browser:
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 0x614 Thread 0x6c0 DBC
0x21dd07c Jet'.
(FileName), (LineNumber)
CAUSE
The account that is being used to access the page does not have access
to the HKEY_LOCAL_MACHINE/SOFTWARE/ODBC registry key.
RESOLUTION
IMPORTANT : This article contains information about editing the
registry. Before you edit the registry, make sure you understand how
to restore it if a problem occurs. For information about how to do
this, view the "Restoring the Registry" Help topic in Regedit.exe or
the "Restoring a Registry Key" Help topic in Regedt32.exe.
WARNING : Using Registry Editor incorrectly can cause serious problems
that may require you to reinstall your operating system. Microsoft
cannot guarantee that problems resulting from the incorrect use of
Registry Editor can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing
Keys and Values" Help topic in Registry Editor (Regedit.exe) or
the "Add and Delete Information in the Registry" and "Edit Registry
Data" Help topics in Regedt32.exe. Note that you should back up the
registry before you edit it. If you are running Windows NT or Windows
2000, you should also update your Emergency Repair Disk (ERD).
1.Start Registry Editor (Regedt32.exe).
2.Select the following key in the registry: HKEY_LOCAL_MACHINE/SOFTWARE/ODBC
3.On the Security menu, click Permissions .
4.Type the required permissions for the account that is accessing the
Web page.
5.Quit Registry Editor.
STATUS
This behavior is by design.
REFERENCES
For additional information, click the article number below to view the
article in the Microsoft Knowledge Base:
Q183060 INFO: Troubleshooting Guide for 80004005 and Other Error Messages