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

Windows
Windows Server 2008关闭闲置状态的IDE通道
Windows Server 2008网络中禁止迅雷下载
Windows Server 2008病毒偷改账号的安全隐患
Windows Server 2008网上邻居打开慢的解决
Windows Server 2008 四项优化技巧
解决Windows Server 2008 回收站无法清空故障
部署RemoteApp实现应用程序的远程调用
Windows Server 2008 R2新增功能概览
Windows Server 2008 WDS 设置完全攻略
卷影复制 解决Windows Server 2008共享隐患
在Windows Server 2008中实现流量的监控和限制
Windows Server 2008的NPS策略应用
巧妙查看Windows Server 2008运行性能
利用命令行 提升Windows Server 2008管理效率
详述Windows Server 2008全面审核策略
配置Windows Server 2008防火墙让系统更安全
你所不知道的Windows7企业功能详解
Windows Server 2008服务器管理控制台解析
活用Windows Server 2008命令 解决网络疑难杂症
定制Windows 2008使它适合日常使用

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-10-20   浏览: 75 ::
收藏到网摘: 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方式的数据库连接的