随身笔记
随身笔记

解决方法:An error occurred on the server when processing the URL. Please contact the system administrator

在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设置

https://sdeno.com/wp-content/uploads/2012/12/3.jpg
,展开“调试属性”选项
https://sdeno.com/wp-content/uploads/2012/12/4.jpg
,“将错误发送到浏览器”这项默认的是False,改为True,然后点右侧的应用!如图所示:

https://sdeno.com/wp-content/uploads/2012/12/5.jpg
没有标签
首页      前端资源      解决方法:An error occurred on the server when processing the URL. Please contact the system administrator

随身笔记

解决方法:An error occurred on the server when processing the URL. Please contact the system administrator
在WINDOWS7或SERVER2008上安装了IIS7.5,调试ASP程序时出现以下错误:   An error occurred on the server when processing the URL. Please contact the system administrato…
扫描二维码继续阅读
2012-12-07