• 生活就是这样,需要去灌溉!
    • 谢谢您的关注,欢迎您的注册与写作!
    • 循环往复,生生不息,或许这就是生命的意义吧!生命是插曲的产品吧!
    • 古今多少事,都付笑言中!
    • 风住尘香花已尽,日晚倦梳头。物是人非事事休,欲语泪先流。
    • 闻说双溪春尚好,也拟泛轻舟,只恐双溪舴艋舟,载不动许多愁。

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

Windows 柳叶扉鸿 8年前 (2017-11-24) 672次浏览 已收录 扫描二维码
内容目录

在 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,然后点右侧的应用!如图所示:

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

 

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


柳叶扉鸿 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明解决方法:An error occurred on the server when processing the URL. Please contact the system administrator
相关文章 相关文章 相关文章
喜欢 (0)