解决运行asp文件时遇到的“常见错误 不能打开注册表关键字”问题

错误|关键字|解决|问题|注册表

相信大家在运行和数据库打交道的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

时间: 2022-12-15

解决运行asp文件时遇到的“常见错误 不能打开注册表关键字”问题的相关文章

ASP出现不能打开注册表关键字的解决教程

  如果出现如下错误: Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005' [Microsoft][ODBC Microsoft Access Driver]常见错误 不能打开注册表关键字 'Temporary (volatile) Jet DSN for process 0xa78 Thread 0xadc DBC 0x26a0cfc Jet'. 请设置数据库文件为可以让用户IUSR_Machine(匿名访问使用帐户)有可写权限 如

ASP不能打开注册表关键字错误 '80004005'的解决方法_应用技巧

如果出现如下错误: Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005' [Microsoft][ODBC Microsoft Access Driver]常见错误 不能打开注册表关键字 'Temporary (volatile) Jet DSN for process 0xa78 Thread 0xadc DBC 0x26a0cfc Jet'. 第一步:请设置数据库文件为可以让用户IUSR_Machine(匿名访问使用帐户)有可写权限

ASP不能打开注册表关键字错误 '80004005'的解决方法

如果出现如下错误: Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005' [Microsoft][ODBC Microsoft Access Driver]常见错误 不能打开注册表关键字 'Temporary (volatile) Jet DSN for process 0xa78 Thread 0xadc DBC 0x26a0cfc Jet'. 第一步:请设置数据库文件为可以让用户IUSR_Machine(匿名访问使用帐户)有可写权限

关于ASP访问ACCESS数据的“不能打开注册表关键字”

前天,N久以前做的一个ACCESS数据库的程序出错了,程序都没有改动过,之前好好的,突然就不行了. 错误信息如下: ---------------------------------- Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005' [Microsoft][ODBC Microsoft Access Driver]常见错误 不能打开注册表关键字 'Temporary (volatile) Jet DSN for process 0

运行asp.net时出现 http错误404-文件或目录未找到

  问题描述:       http错误404-文件或目录未找到   问题原因:         我遇到的情况,装了.NET 2.0 + IIS 升级后就出现以上问题:不确定其他原因也会不会产生类似错误.(如果有,希望大家能贴出更多的原因,方便遇到同样错误的人找到问题的根源)   解决方法:        首先,要重新注册IIS :运行cmd 后 进入"C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727" 键入命令aspnet_regiis -i

运行asp.net时出现 http错误404-文件或目录未找到_实用技巧

问题原因:       我遇到的情况,装了.NET 2.0 + IIS 升级后就出现以上问题:不确定其他原因也会不会产生类似错误.(如果有,希望大家能贴出更多的原因,方便遇到同样错误的人找到问题的根源)   解决方法:        首先,要重新注册IIS :运行cmd 后 进入"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727" 键入命令aspnet_regiis -i   其次,在: 计算机管理--Internet信息服务(IIS)管理器-

ASP中数据库调用中常见错误的现象和解决

 下面是虚机维护中,经常碰到的一些ASP程序中的数据库调用的错误,现收集整理如下: 不能打开注册表关键字(8007000e) Microsoft OLE DB Provider for ODBC Drivers 错误 '8007000e' [Microsoft][ODBC Microsoft Access Driver]常见错误 不能打开注册表关键字 'Temporary (volatile) Jet DSN for process 0x11b4 Thread 0x1a4c DBC 0x9d34

ASP中数据库调用中常见错误的现象和解决方法

不能打开注册表关键字(8007000e) Microsoft OLE DB Provider for ODBC Drivers 错误 '8007000e' [Microsoft][ODBC Microsoft Access Driver]常见错误 不能打开注册表关键字 'Temporary (volatile) Jet DSN for process 0x11b4 Thread 0x1a4c DBC 0x9d34354 Jet'. 1.打开数据库时写法不对,标准的ACCESS数据库调用写法: "

IIS 运行ASP文件500内部错误解决方法大全_win服务器

1 IIS服务器出现500错误   2错误原因:500错误的原因一般是源程序出现错误造成的. 3 解决办法:1 首先设置IE浏览器à工具->Internet选项   2 刷新或者重新打开500错误页面就会出现错误的程序部分   3 根据错误提示,然后解决问题.     4 ADODB.Connection 创建失败的可能解决方法: 1.重装MDAC2.8. MDAC 2.8下载地址: http://www.microsoft.com/downloads/details.aspx?displayl