錯誤|關鍵字|解決|問題|註冊表 相信大家在運行和資料庫打交道的asp檔案時遇到過一下的問題:
Microsoft OLE DB Provider for ODBC Drivers 錯誤 '80004005'
[Microsoft][ODBC Microsoft Access Driver]常見錯誤 不能開啟註冊表關鍵字 'Temporary (volatile) Jet DSN for process 0x1844 Thread 0x1b40 DBC 0x554cc59c Jet'。
/friends/conn.asp,行5
昨天我也遇到了,以前解決的辦法都是重新安裝系統,昨天我實在是不想安裝,所以跑去msdn去查,結果終於給找到了~~
發布出來給大家分享~~~
下面是msdn解決辦法的原文:
Locate your system's TEMP folder:
Follow the appropriate steps for your version of Windows:
For Windows XP: On the Start menu, click Control Panel, click the Performance and Maintenance icon, click the System icon, click the Advanced tab, and then click the Environment Variables button.
For Windows 2000: right-click My Computer on your desktop, click Properties on the menu that appears, click the Advanced tab, and then click the Environment Variables button.
For Windows NT: right-click My Computer on your desktop, click Properties on the menu that appears, and then click the Environment tab.
Find the TEMP variable in the list of System variables and note the folder that your system is using.
Note An easier way to perform this task is to click Start , click Run, type %temp%, and then press Enter.
Start Windows Explorer.
In Folders view, expand the path to your temporary folder.
Right-click the folder and click Properties on the shortcut menu.
On the Security tab, add Everyone to the existing permissions, assign it Change permissions, and apply these new settings to all files and subfolders.
Click OK.
除了你把資料庫路徑寫錯會出現這種問題以外,還有的原因應該是對系統臨時目錄存取權限不夠的原因,所以應該把everyone加入到系統臨時目錄的安全選項中。。
記住是系統的臨時目錄,不是使用者的臨時目錄~如:2000的系統臨時路徑是:/winnt/temp
希望此篇短文能對大家所有協助~~切忌,請先確保你的程式沒有問題才能按照此文解決問題,不然後果。。。呵呵
http://www.manbu.net
NeoWing