• 爱情文章
  • 亲情文章
  • 友情文章
  • 生活随笔
  • 校园文章
  • 经典文章
  • 人生哲理
  • 励志文章
  • 搞笑文章
  • 心情日记
  • 英语文章
  • 范文大全
  • 作文大全
  • 新闻阅读
  • 当前位置: 山茶花美文网 > 生活随笔 > 正文

    【解决方法:An,error,occurred,on,the,server,when,processing,the,URL.,Please,contact,the,system,administrato】 error occurred

    时间:2020-04-21来源:山茶花美文网 本文已影响 山茶花美文网手机站

    在WINDOWS7或SERVER2008上安装了IIS7.5,调试ASP程序时出现以下错误:

    An error occurred on the server when processing the URL. Please contact the system administrator

    解决方法如下:

    设置方法一:

    以管理员身份运行CMD,将目录定位到%windir%system32inetsrv,然后执行appcmd set config -section:asp -scriptErrorSentToBrowser:true。

    %windir%system32inetsrvappcmd set config -section:asp -scriptErrorSentToBrowser:true

    设置方法二:

    打开IIS7的asp设置,展开调试属性选项,将错误发送到浏览器这项默认的是False,改为True,然后点右侧的应用!如图所示:

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

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

    • 爱情文章
    • 亲情文章
    • 友情文章
    • 随笔
    • 哲理
    • 励志
    • 范文大全