“/”应用程序中的服务器错误。

运行时错误

说明: 服务器上出现应用程序错误。此应用程序的当前自定义错误设置禁止远程查看应用程序错误的详细信息(出于安全原因)。但可以通过在本地服务器计算机上运行的浏览器查看。

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 Web 应用程序根目录下的“web.config”配置文件中创建一个 <customErrors> 标记。然后应将此 <customErrors> 标记的“mode”属性设置为“Off”。


<!-- Web.Config 配置文件 -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>

注释: 通过修改应用程序的 <customErrors> 配置标记的“defaultRedirect”属性,使之指向自定义错误页的 URL,可以用自定义错误页替换所看到的当前错误页。


<!-- Web.Config 配置文件 -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>

百度 搜狗 360搜索 微软市值登顶全球第一 国泰海通证券:关税背景下看好农药凸显刚需属性 教育部预警,近期选择赴美有关州学习时做好安全风险评估,哪些风险需要注意?在美留学生目前情况如何? 特朗普威胁伊朗:达不成核协议就将使用武力 强硬反制!中国对美国再加征50%关税

      <code id='ae6c2'></code><style id='b515c'></style>
      • <acronym id='108a8'></acronym>
        <center id='9b75e'><center id='1e825'><tfoot id='9cf08'></tfoot></center><abbr id='cf402'><dir id='566ce'><tfoot id='c7b3b'></tfoot><noframes id='f16dd'>

      • <optgroup id='85786'><strike id='0c819'><sup id='ba9f5'></sup></strike><code id='4a5a6'></code></optgroup>
          1. <b id='eda8c'><label id='29fbf'><select id='878e0'><dt id='11e5b'><span id='58ccd'></span></dt></select></label></b><u id='761a8'></u>
            <i id='9992d'><strike id='8a823'><tt id='83562'><pre id='d3386'></pre></tt></strike></i>