64位Vista、Windows7系统IIS连接数据库故障完美解决 |
本文标签:Vista,Windows7,IIS,数据库故障 问题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方式的数据库连接的 |