Troubleshoot "Common errors that do not open registry keys" encountered while running ASP files

Source: Internet
Author: User
Tags odbc
I believe everyone in the running and database dealing with ASP files encountered a problem:
Microsoft OLE DB Provider for ODBC Drivers error ' 80004005 '
[Microsoft] [ODBC Microsoft Access Driver] Common error cannot open registry key ' temporary (volatile) Jet DSN for process 0x1844 Thread 0X1B40 DBC 0x554cc59 C Jet '.
/friends/conn.asp, Line 5
Yesterday I also met, the previous solution is to reinstall the system, yesterday I really do not want to install, so ran to MSDN to check, the results finally to find the ~ ~
Released for everyone to share ~ ~ ~
The following is the original version of the MSDN solution:
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 me Computer on your desktop, click the "Properties on" the menu that appears, click the Advanced t AB, and then click the Environment Variables button.
For Windows nt:right-click me Computer on your desktop, click Properties on the menu that appears, and then click the ENV Ironment tab.
Find the "TEMP variable in" the "System variables and note" The folder that your system is using.
Note a easier way to perform this task was 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 this new settings To all files and subfolders.
Click OK.
In addition to the problem that occurs when you write a database path incorrectly, there is a reason why the access to the system's temporary directory should be insufficient, so everyone should be added to the security options for the system temp directory.
Remember is the system's temporary directory, not the user's temporary directory ~ such as: 2000 of the system temporary path is:/winnt/temp
I hope this article can help all of you ~ ~ Avoid, please ensure that your program has no problems to follow this article to solve the problem, or the consequences ... Oh
Http://www.manbu.net
Neowing

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.