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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 北京平谷风雨雷雹齐至 逃离美国资产:美国股债汇三杀,标普一度接近熔断 中国对美加征关税提高至125% OPPO中国区总裁:更多精力会花在AI底层,研究用户场景需求 中产返贫:数据、情绪与事实

      <code id='c36a7'></code><style id='8b50d'></style>
      • <acronym id='e3d31'></acronym>
        <center id='1ba6a'><center id='25b73'><tfoot id='03eae'></tfoot></center><abbr id='c5c35'><dir id='17e35'><tfoot id='6026b'></tfoot><noframes id='5c05e'>

      • <optgroup id='ed3a2'><strike id='6caed'><sup id='561b9'></sup></strike><code id='52e1d'></code></optgroup>
          1. <b id='352a6'><label id='c0a31'><select id='a95d9'><dt id='44360'><span id='06e8f'></span></dt></select></label></b><u id='86ae9'></u>
            <i id='d7be1'><strike id='ad69d'><tt id='72af1'><pre id='ab803'></pre></tt></strike></i>