您现在的位置是:网站首页> 编程资料编程资料
解决方法:An error occurred on the server when processing the URL. Please contact the system administrato_资源网
2022-05-13
986人已围观
简介 解决方法:An error occurred on the server when processing the URL. Please contact the system administrato_资源网
在WINDOWS7或SERVER2008上安装了iis7.5,调试ASP程序时出现以下错误:
An error occurred on the server when processing the URL. Please contact the system administrator
解决方法如下:
设置方法一:
以管理员身份运行CMD,将目录定位到%windir%\system32\inetsrv\,然后执行appcmd set config -section:asp -scriptErrorSentToBrowser:true。
%windir%\system32\inetsrv\appcmd set config -section:asp -scriptErrorSentToBrowser:true
设置方法二:
打开IIS7的asp设置,展开“调试属性”选项,“将错误发送到浏览器”这项默认的是False,改为True,然后点右侧的应用!如图所示:

通过以上设置后,再从浏览时打开出错ASP页面时就能看到页面出错的详细信息,方使调试。如果是公开的web服务器建议不要打开此选项,以防出错信息被他人利用。
相关内容
- ISAPI_Rewrite 各版本301转向大全(附ISAPI_Rewrite语法规则)_资源网
- 修改IIS的 ASPMaxRequestEntityAllowed_资源网
- Linux安装配置maven以及搭建nexus服务器_资源网
- 解决64位win7系统IIS7[ODBC 驱动程序管理器]未发现数据源名称并且未指定默认驱动程序_资源网
- 启用win7下IIS7的http500错误详细信息提示显示的方法步骤_资源网
- Windows2008 64位IIS7+ACCESS数据库无法打开Asp页面_资源网
- win2008 r2系统iis7中如何设置ip限制_资源网
- win7 iis7.5 Request 对象 错误 'ASP 0104 : 80004005'_资源网
- iis7.5 500 - 内部服务器错误_资源网
- Windows 2008 R2 + IIS 7.5 Rewrite组件重写规则兼容方法_资源网
