当前位置: 首页 > 图文教程 > 操作系统 > Windows > IIS连接数据库故障如何解决?

Windows
活用Windows Server 2008系统的几种安全功能
有备而来 让系统VPN连接顺风顺水
强化Windows Server 2008下的打印管理
Windows Storage Server 2008 (x64)BT下载
Windows Server 2008下的网络排错
Server Core上部署IIS7全程攻略
Windows Server 2008脱机文件配置攻略
用组策略保护Windows Server 2008系统安全
高效管理Windows Server 2008的卷影副本
Windows Server 2008 R2中IIS 7.5的改进
众OEM厂商助阵微软推Foundation版服务器系统
使用Windows Server 2008的WDS部署客户端系统
Windows Server 2008制作密码重设盘
扫清Windows Server 2008共享障碍
详述Windows Server 2008安全部署的六个方面
借道IIS搭建企业内部Web方式文件共享平台
新品分析:Windows Server 2008 Foundation
巧用Windows Server 2008的NPS策略
Windows Server 2008故障转移群集简介
微软WSUS 3.0安装配置详解

Windows 中的 IIS连接数据库故障如何解决?


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-10-20   浏览: 118 ::
收藏到网摘: n/a

问题1.
An error occurred on the server when processing the URL.Please contact the system administrator

解决方法:
打开IIS7的asp设置,展开“调试属性”选项,“将错误发送到浏览器”这项默认的是False,改为True,然后会出现下面的错误:

问题2.
错误类型:ADODB.Connection (0x800A0E7A) 未找到提供程序的解决方法

解决方法:
Regsvr32.exe  "%ProgramFiles%\Common Files\System\Ole DB\oledb32.dll"
如果你的win系统是64位的话,会仍然出现下面的错误:

问题3.
错误类型:ADODB.Connection (0x800A0E7A) 未找到提供程序的解决方法

解决方法:
以在cmd.exe文件上单击右键,以“系统管理员的身份”运行它,然后去到C:\inetpub\AdminScripts目录下,运行下面代码:
cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 true

问题解决!

PS. 64位系统是不支持32位oledb方式的数据库连接的