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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 国泰海通证券!新任高管名单!少壮派上位! AI 幻觉和人类错误的本质区别是什么? 外媒:中方反制瞄准美经济要害 女子连续6天早退1分钟被辞退,法院:公司应付赔偿金 西藏林芝巴河沿岸桃花盛放

      <code id='08cfd'></code><style id='85ff1'></style>
      • <acronym id='27144'></acronym>
        <center id='fb97d'><center id='7f99b'><tfoot id='1ed97'></tfoot></center><abbr id='b1c0c'><dir id='a6d60'><tfoot id='2aa3c'></tfoot><noframes id='0143a'>

      • <optgroup id='e2adc'><strike id='87818'><sup id='b184b'></sup></strike><code id='e4060'></code></optgroup>
          1. <b id='e56fa'><label id='cf7d1'><select id='2839f'><dt id='17dc0'><span id='11b23'></span></dt></select></label></b><u id='3a669'></u>
            <i id='0433d'><strike id='6fd06'><tt id='b04d0'><pre id='61d2a'></pre></tt></strike></i>