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

Windows
Windows Server 2008下高效域管理体验
Windows Server 2008 core管理与配置
Windows PowerShell不一样的系统管理体验
活动目录迁移需要的步骤
给Windows Server 2008设一个简单密码
部署NAP For DHCP 限制非法客户端
Windows Remote Shell(WinRM)使用介绍
微软新品Windows Server 2008 Foundation详情
Windows Server Core 网络的基本配置
Windows Server core的便捷操作和远程管理
Vista和Server08 SP2 RTM-Escrow发放给测试者
slmgr.vbs介绍与VA2.0部署
通过Windows Server终端服务实现远程管理
深入Windows Server 2008的自我监控
群集共享卷文件(CSV)四种模式的区别
Windows Server 2008 R2热添加删除虚拟存诸
部署基于Windows 2008防火墙策略提升域安全
调整服务 解决Windows Server 2008疑难病症
Windows Server 2008 R2的八大优势
Windows Server 2008禁止模块安装提升网络性能

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


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