解決運行asp檔案時遇到的“常見錯誤 不能開啟註冊表關鍵字”問題

來源:互聯網
上載者:User
錯誤|關鍵字|解決|問題|註冊表 相信大家在運行和資料庫打交道的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



相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.