zoukankan      html  css  js  c++  java
  • 解决方法:An error occurred on the server when processing the URL. Please contact the system administrator

    在WINDOWS7,8或SERVER2008,2012上安装了IIS7.5,8,调试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.

    解决方法如下:

    设置方法一:

    以管理员身份运行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,然后点右侧的应用!如图所示:

    Picture 2013-06-11 22_22_11

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

    同时需要修改IE选项打开错误提示

    Picture 2013-06-11 22_26_33

  • 相关阅读:
    01: Django rest framework 基础
    配置java环境 启动服务
    配置文件详解
    介绍
    所有的编译安装包
    mysql 二进制安装
    使用Python 、 go 语言测试rabbitmq的工作机制
    Haproxy + Rabbit 集群 简要介绍
    rabbitmqctl 的常用命令
    虚拟主机介绍
  • 原文地址:https://www.cnblogs.com/rogerroddick/p/3132170.html
Copyright © 2011-2022 走看看