I believe you have encountered the following problems when running asp files dealing with databases:
Microsoft ole db Provider for ODBC Drivers error 80004005
[Microsoft] [ODBC Microsoft Access Driver] common errors do not enable the Registry keyword Temporary (volatile) Jet DSN for process 0x1844 Thread 0x1b40 DBC 0x554cc59c Jet.
/Friends/conn. asp, Row 5
I also met yesterday. The previous solution was to reinstall the system. I really didn't want to install it yesterday, so I ran to msdn to check it and finally found it ~~
Publish it to share with you ~~~
The following is the original text of the msdn solution:
Locate your systems 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 cut 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.
In addition to writing wrong database paths, this problem may occur. The reason should be that the access permission to the temporary directory of the system is insufficient, therefore, you should add everyone to the security options of the temporary system directory ..
Remember that it is a temporary directory of the system, not a temporary directory of the user ~ For example, 2000 of the temporary system path is/winnt/temp.
In fact, it is to make the temp directory of the user's environment variable writable to all users.