| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 864 人关注过本帖
标题:完全一样的内容,有些ASP文件就可以通过,而不报警,是不是问题不在这?
只看楼主 加入收藏
boyfuture
Rank: 1
等 级:新手上路
帖 子:552
专家分:0
注 册:2005-12-20
结帖率:88.89%
收藏
 问题点数:0 回复次数:3 
完全一样的内容,有些ASP文件就可以通过,而不报警,是不是问题不在这?

各位大虾,看看这个问题,内容和别的一样,但是还是错,问题出在哪,请指教!
M
icrosoft OLE DB Provider for ODBC Drivers 错误 '80004005'

[Microsoft][ODBC Microsoft Access Driver]常见错误 不能打开注册表关键字 'Temporary (volatile) Jet DSN for process 0xb48 Thread 0xac4 DBC 0x34d73f4 Jet'。

/ao/databin/Connections/conn.asp,行 4

下面就是conn.asp内容:
<% set Conn=server.CreateObject("ADODB.Connection") '创建连接对象
strSQL="Driver={Microsoft Access Driver (*.mdb)};DBQ=" &_
server.MapPath("pomawinoasys.mdb") '连接字符串
conn.open(strSQL)
%>

各位高手,谢谢了!

搜索更多相关主题的帖子: ASP 文件 报警 
2007-08-18 22:22
multiple1902
Rank: 8Rank: 8
等 级:贵宾
威 望:42
帖 子:4881
专家分:671
注 册:2007-2-9
收藏
得分:0 
别太着急,为什么不先试试搜索呢?

http://bbs.bc-cn.net/viewthread.php?tid=53077
2007-08-19 10:43
multiple1902
Rank: 8Rank: 8
等 级:贵宾
威 望:42
帖 子:4881
专家分:671
注 册:2007-2-9
收藏
得分:0 

http://bbs.foosun.net/showtopic-18182.html

为什么不先试试搜索呢?

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

希望此篇短文能对大家所有帮助~~切忌,请先确保你的程序没有问题才能按照此文解决问题,不然后果。。。呵呵

2007-08-19 10:45
boyfuture
Rank: 1
等 级:新手上路
帖 子:552
专家分:0
注 册:2005-12-20
收藏
得分:0 
DbPath="ksxt.mdb"
strconn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&Server.MapPath(DbPath)&";Persist Security Info=False"
这样解决了,谢谢老大!原来mdb必须要和主登录文件在一个位置!
2007-08-19 16:37
快速回复:完全一样的内容,有些ASP文件就可以通过,而不报警,是不是问题不在这 ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014038 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved