登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

樱之花

叶散的时候,你明白欢聚;花谢的时候,你明白青春.

 
 
 

日志

 
 
关于我

分类中“我的实验室”是我在日常工作中的一些知识总结,有些写的比较匆忙,可能大家在阅读时会产生困扰,后期有时间我会重新整理编辑,谢谢大家的到访,您们的支持是我前进的动力!

解决asp连access遇到的常见错误不能打开注册表关键字  

2007-04-23 08:40:09|  分类: ASP开发 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

解决asp连access遇到的“常见错误 不能打开注册表关键字 'Temporary (volatile) Jet DSN for...'

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

下面是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

打开IE然后在地址栏输入%temp%
然后把里边的所有文件全都删除了就OK!!!

给IIS_MachineName帐号的系统目录写权限:system/temp

 

  评论这张
 
阅读(810)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018