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

Windows
Windows Server 2008网络中顺畅访问“邻居”
Windows Server 2008使用软件授权管理工具
Windows HPC Server 2008背后的中国团队
九种方式打造安全的Win Server 2008
Windows Server 2008下的自助安全防御
Windows Server 2008之数据安全保护
Windows Server 2008下利用Diskpart管理磁盘
Windows Server 2008添加Hyper-V组件
自我挖掘,Windows Server 2008数据备份有门道
Windows Server 2008 Core下如何安装Hyper-V
Windows Server 2008的节能降耗
Windows Server 2008 蓝牙驱动安装方法
Windows Server 2008 防火墙配置
Windows Server 2008 网络管理技巧
Tech Ed 2008:HPC Server 2008讲解
调教Windows server 2008系统菜单
Windows Server 2008系统10个意外惊喜
让你的Windows server 2008 更安全
Windows Server 2008下 驾驭拨号上网
Windows Server 2008服务器系统数据安全

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


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