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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 特朗普关税致美股史诗级暴跌 科技"七巨头"一夜蒸发超7万亿 胡锡进谈美扔关税核弹中国如何应对 官场之权势滔天 雷军到底有没有夸大智驾 龙拳小子

      <code id='b7f8f'></code><style id='87ccd'></style>
    • <acronym id='1cd57'></acronym>
      <center id='c322f'><center id='31db2'><tfoot id='79f76'></tfoot></center><abbr id='be02f'><dir id='d7e89'><tfoot id='745a8'></tfoot><noframes id='4b565'>

    • <optgroup id='59b28'><strike id='fa790'><sup id='bb271'></sup></strike><code id='2b4e5'></code></optgroup>
        1. <b id='1cf49'><label id='14fa5'><select id='14aa3'><dt id='a67ac'><span id='59adb'></span></dt></select></label></b><u id='5267e'></u>
          <i id='44e63'><strike id='b3230'><tt id='37120'><pre id='c1c79'></pre></tt></strike></i>