首 页新闻资讯影视剧情购物商城星座运程网址导航
当前位置:九悦网新闻资讯操作系统系统其他

解决iis7出现An error occurred on the server when processing the URL错误提示

来源:九悦网新闻   作者:本站   发布时间:2016-03-20 10:20:57

这两天我在IIS7上在调试asp程序的时候遇到下面这样的错误提示:
An error occurred on the server when processing the URL. Please contact the system administrator.If you are the system administrator please click here to find out more about this error.

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

其原因是IIS7对ASP程序发送的一个脚本错误消息,只要是程序中有错误就会出现这样的错误提示,所以关键的一步是要将具体的错误显示出来,方法如下:

1、打开控制面板→管理工具→Internet 信息服务(IIS)管理器→双击“ASP”图标

解决iis7出现An error occurred on the server when processing the URL错误提示

2、在左边的窗口中找到你的网站,然后在右边的窗口中展开“调试属性”,把“将错误发送到浏览器”设为True即可,相关截图如下所示:

解决iis7出现An error occurred on the server when processing the URL错误提示

通过以上设置后,再从浏览时打开出错ASP页面时就能看到页面出错的详细信息,方便调试。不过如果是公开的Web服务器建议不要打开此选项,以防出错信息被他人利用。

网上有人说原因是通常没有开启父路径,在“调试属性”下方有一个”行为“-“启动父路径”设置为True即可。但是我开启了,依然存在问题。

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

解决方法:Regsvr32.exe  "%ProgramFiles%\Common Files\System\Ole DB\oledb32.dll"

如果你的win系统是64位的话,会仍然出现下面的错误:

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

解决方法:

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

“管理员身份运行后就是C:\window\system32>,”

cd\

cd C:\inetpub\AdminScripts

cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 true

Tags:解决 iis7 iis

关于本站 | 网站帮助 | 广告合作 | 九悦网声明 | 友情连接 | 网站地图
Copyright © 九悦网 . All Rights Reserved .
页面执行时间:116,957.00000 毫秒