IV.
1.错误信息
Microsoft OLE DB Provider for ODBC Drivers error ''80004005''
[Microsoft][ODBC Microsoft Access 97 Driver] The Microsoft Jet database
engine cannot open the file ''(unknown)''. It is already opened exclusively
by another user, or you need permission to view its data.
原因:
这个错误发生在当IIS使用匿名帐号(通常是IUSR)时,该帐号在NT中对数据库所在的目录
没有正确的权限.(这就是为什么在Win95和PWS下没问题,因为win95根本就没有目录权限这一说)
检查文件和目录的权限. 确定你能够在该目录中有能够新建和删除临时文件的权限。
这些临时文件其实是数据库建立在同一个目录下的文件, 但是要注意的是,有可能这些文件
也可能建立在别的目录,例如 /Winnt.
使用NT的文件监视程序监视文件失败时到底是访问了什么目录。
这个NT的文件监视程序可以在这个地方下载http://www.sysinternals.com.
2.错误信息:
Microsoft OLE DB Provider for ODBC Drivers error ''80004005''
[Microsoft][ODBC Microsoft Access 97 Driver] Couldn''t use ''(unknown)''; file
already in use.
原因:
多人使用时数据库被锁定。
3.错误信息:
Microsoft OLE DB Provider for ODBC Drivers error ''80004005''
[Microsoft][ODBC Driver Manager] Data source name not found and no default
driver specified.
原因:
最可能的原因是ConnectString是一个在global.asa中初始化的Session变量,但是global.asa
却没有正常工作。解决办法是,检查赋值时是否正确:(在你的asp中加入下面的代码)
<%= "''auth_user'' is " & request.servervariables("auth_user")%>
<P>
<%= "''auth_type'' is " & request.servervariables("auth_type")%>
<P>
<%= "connection string is " & session("your_connectionstring")%>
<P>
还有一个原因就是你在你的ConnectString中加入了多余的空格,例如
DSN = MyDSN; Database = Pubs;
试试改成下面这个样子:
DSN=MyDSN;Database=Pubs;
还有可能错误出现的原因是DSN名称没找着,这可以采用我提供的id=36767的办法解决。
最后是检查是否安装了最新的驱动程序,既是否是最新的MDAC版本。作者: souho 时间: 2008-3-15 14:39
4.错误信息
Microsoft OLE DB Provider for ODBC Drivers error ''80004005''
[Microsoft][ODBC Driver Manager] Data source name not ??
原因:
这个错误有可能是出现在你的计算机上软件安装(或则反安装)的顺序上。
如果ODBC的版本不一致的话,就会发生该错误。
解决办法是安装最新版本的MDAC
5.错误信息:
Microsoft OLE DB Provider for ODBC Drivers error ''80004005''
[Microsoft][ODBC Access 97 ODBC driver Driver]General error Unable to open
registry key ''DriverId''.
原因:
这个错误发生在爱从注册表中读取数值的时候。使用regedit32.exe检查你的注册表的权限。
你也可以使用NT中的注册表监视程序(NTRegMon)来看读取失败信息。该程序到这找:http://www.sysinternals.com
6.错误信息:
Microsoft OLE DB Provider for ODBC Drivers error ''80004005''
[Microsoft][ODBC SQL Server Driver][dbnmpntw]ConnectionOpen (CreateFile()).
原因:
两个原因:当一个数据库中包含有分别在不用机器上的许可关系时,
这也可能发生在同一台机器上,当你给一个关系设置了UNC路径,而另一个关系却是本地路径。
错误原因是:
当用户使用IIS匿名帐号登录后,对本地这台机器而言他是有权的,但是对于一个UNC路径的机器,
另外这台机器是不会认为你当前匿名登录的帐号在它那上面也是合法的。
这样它就不允许你访问它上面的资源,导致错误。
7.错误信息
Microsoft OLE DB Provider for ODBC Drivers error ''80004005'' Microsoft][ODBC
Microsoft SQL Driver] Logon Failed()
原因:
该错误是由SQL Server产生的,当它不接受或则不能够认识这个登录帐号的时候,或者没有使用管理员身份登录,
也可能是在NT中没有SQL影射帐号造成的。
8.错误信息
Microsoft OLE DB Provider for ODBC Drivers error ''80004005''
[Microsoft][ODBC SQL Server Driver][SQL Server] Login failed- User: Reason:
Not defined as a valid user of a trusted SQL Server connection.
原因:
原因同上。
试试这个办法:在SQL Server的Enterprise Manager中,选择Server/SQL Server/Configure[ASCII
133]/Security Options/Standard.
如果是运行在IIS4中,取消选择该项目的Password Synchronization选项。
9.错误信息
Microsoft OLE DB Provider for ODBC Drivers error ''80004005''
[Microsoft][ODBC Microsoft Access 97 Driver] Couldn''t lock file.
原因:
也许是没有正确的权限生成Access数据库的锁定文件(.ldb)
默认时,该文件和你的数据库是同一个目录的。
给匿名帐号全权访问数据库共享目录的权限。
有时是因为文件是因为共享时有意使用了只读的权限限制。试试使用下面的代码。
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Mode = adModeShareDenyWrite ''8
10.错误信息
Microsoft OLE DB Provider for ODBC Drivers error ''80004005''
[Microsoft][ODBC Microsoft Access 97 Driver] ''(unknown)'' isn''t a valid
path. Make sure that the path name is spelled correctly and that you are
connected to the server on which the file resides.
原因:
路径非法。最可能发生在当Global.asa和CoonecntString被使用到另外一台机器上的时候。
11.错误信息
Microsoft OLE DB Provider for ODBC Drivers error ''80004005''
[Microsoft][ODBC SQL Server Driver][SQL Server] The query and the views in
it exceed the limit of 16 tables.
国际域名(.com/.net/.org)/新网 促销价:60.00元/1年 60元/ 1年
.cc 域名 200.00元/1年
.tv 域名 480.00元/1年
.biz 域名 180.00元/1年
.info 域名 180.00元/1年
中文国际顶级域名(中文.com) 70.00元/1年
中文通用顶级域名(.中国/.公司/.网络) 260.00元/1年作者: hyh8800 时间: 2010-10-17 13:01
谢谢楼主分享啊.作者: pc0917 时间: 2010-10-25 11:25
学习了,支持一下,,,,作者: 梦幻鬼鱼 时间: 2010-11-24 17:02
真厉害啊 一语点醒梦中人作者: yangyitao 时间: 2010-11-29 11:05
很好 非常感谢。作者: klsfp 时间: 2011-1-10 02:24
每年回母校看看那些为你付出过的老师,走上******你才了解她们才是无私的,比起那点学费,她们简直太伟大了。学会感恩。作者: klsfp 时间: 2011-1-10 02:40
我一个不久前结婚的男同学叫——常在厨房混,那能不切手作者: z770997563 时间: 2011-1-10 08:21
谢谢分享啊 最近正需要这个!作者: cyxuxu 时间: 2011-4-5 19:07
哇,太感谢了作者: 熊先生 时间: 2011-4-19 13:31
好 收藏 备用作者: 0735bj 时间: 2011-10-9 20:28
提示: 作者被禁止或删除 内容自动屏蔽作者: 7229676 时间: 2011-10-11 09:35
收藏了。好东西~~作者: 小海 时间: 2011-10-12 09:43
楼主 写的很好 谢谢分享作者: raybro 时间: 2011-11-15 22:23
非常好,收藏了,楼主辛苦作者: 清静无为 时间: 2011-11-29 00:47
第一次见到这些参数,要好好研究。作者: pybahao 时间: 2012-1-7 17:41
全了啊 建议再弄个PHP的啊作者: pybahao 时间: 2012-1-7 17:41
我最近用帝国的 现在基本都是php了作者: migrantsun 时间: 2012-5-28 21:26
建站是个细活。作者: 那他哈 时间: 2012-8-8 11:14 标题: 回帖1 新人来访,学习了!谢谢楼主分享!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!作者: Toxic.耗子 时间: 2012-9-22 06:00
见贴就回见贴就回见贴就回见贴就回见贴就回作者: chushuan5486 时间: 2012-10-8 10:04 标题: UGG Classic Mini|UGG Classic Mini Boots- 火车采集器html简单模板示范
Chippewa Boots For Style
Chippewa has been a well known brand of boots since 1901 and has been famous for its brilliant quality and skills in manufacturing world class boot wear. Chippewa products make outdoor activities fun and more lively and adventurous because they boast the best quality.Chippewa has actually been making quality footwear using the best material**ailable in the market and has its own boot making technologies and finding comfort in every pair you wear is what Chippewa aims to achieve for every one of its customers.? Would you believe it,UGG Annabelle|UGG Annabelle Boots, every single pair of these great shoes is made manually to ensure that there s no difference in quality while being produced on a mass scale. It s this that makes these Chippewa products superior to all the rest,http://www.sanctusonline.org/forums/topic/preparing-a-place?replies=1#post-3341!? Some women find Chippewa men s footwear good to look at and stylish. However if you are unaware of the size you re looking for here s a simple way of finding out just minus 1.5 sizes from your present female shoe size!? When it comes to quality and comfort, there s nothing like Chippewa products. If you re looking for motorcycle kickers,http://www.mhyk.com/html/dongmantequ/manhuazhuanqu/chengrenmanhua/2009/0812/212.html, this is the brand you should look at. Theirs can be used anywhere; bad grounds,UGG Classic Mini|UGG Classic Mini Boots,http://wynnga.com/members/home, rocky landscapes and violent weather and its protection for the rider all the way through. The styling and sizes are numerous, and there are boots meant for every purpose! What matters most is that, Chippewa products are durable,UGG Plumdale|UGG Plumdale Boots, that s why the company has lasted a century!? What makes motorcycle footwear different? Here s how you characterize them. These shoes should be strong enough to live up to the spirit of motorcycling. They **e to endure large temperature differences and depending on the weather **e to keep the feet dry or warm but still as comfortable as possible hence they can t be like normal boots. Motorcycle ones should be made tough for rough surfaces, and should be comfortable whether used on dirt or stony surfaces or asphalt! All Chippewas **e these characteristic features, so it s up to you to make your own choice of things.Depending on the need for protection, you can choose the height you need. Heights can be anywhere between six to seventeen inches, and an increase in height gives more protection.These boots are made of leather and many **e soles with spikes. The first ones made by Chippewa were logger boots. Its popularity prompted Chippewa to make specialized footwear like this.Chippewa presently makes products for people who are adventurous and also for sports purposes. The quality is surely beyond any other!So what do you need to do to find this comfortable? Boots like these need to be worn with thick socks. This ensures the product is not too loose or too tight for your feet when you wear your socks. Also while wearing them, make sure you put your feet in with ease rather than **ing to break in because it might cause corns if you walk around too much in them while they are still new.作者: aeix8kMp 时间: 2012-10-19 18:44
神马都是浮云。。。。作者: xjhe5dCz 时间: 2012-10-24 05:56 拒绝日货!从我做起!从现在做起!请与你的家人、朋友、同事、员工一起来。树莓派II卡片电脑,纯国货,无污染,299元让你的电视变电脑
风火轮承诺,每卖出1个“树莓派II”,就向国家捐款0.5元.
[img=,388,196]http://www.arm-cn.com/images/shumeipai/sddd.jpg[/img]作者: goutong 时间: 2012-11-17 22:13
顶你,专为贡献值而来作者: 客友keyoou.com 时间: 2013-1-6 17:38
客友(keyoou.com)来报道,哈哈!作者: veblen 时间: 2013-1-29 15:33
asp都沒幾個站用吧。。作者: 慕诚旗舰店 时间: 2013-3-6 16:26