php专区

 首页 > php专区 > PHP安全 > 常见错误 不能打开注册表关键字 Temporary (volati

常见错误 不能打开注册表关键字 Temporary (volati

分享到:
【字体:
导读:
          相信大家在运行和数据库打交道的asp文件时遇到过一下的问题: Microsoft OLE DB Provider for ODBC Drivers 错误 80004005 [Microsoft][ODBC Microsoft Access Driver]常见错误 不能打开注册表关键字 Temporary (v...

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

其实就是让用户的环境变量temp目录对所有用户可写

分享到:
给大家一个新奇且使用的技巧 - Windows操...
文章来源:http://hi.baidu.com/biweilun d1017555:这个早在2004年电脑爱好者上就刊登过啦。 LiFediy:04年.....在网页中直接右击密码框,就能看见明文密码,不需要借助任何软件,你信吗?下面看我的操作:首先打开记事本,在其中写入如下代码,然后保存为一个htm网页文件,放在一个路径下面,我放在D盘下的passwdlook.htm,...
用命令行开启或关闭 IP 安全策略 - Windo...
来自坏狼安全网 用命令行开启或关闭 IP 安全策略程序代码netsh ipsec static set policy name=Yourpolicy as sign = y其实 netsh ipsec 命令可以控制 IP 安全策略 的很多东西,有兴趣可以自己看一下C:InetpubAdminScripts>netsh ipsec下列指令有效:此上下文中的命令:?              - 显示命令列表。dump  ...
  •         php迷,一个php技术的分享社区,专属您自己的技术摘抄本、收藏夹。
  • 在这里……