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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 54岁胡兵走秀松弛感拉满 农夫山泉饮用水收入罕见下滑2成,卖水生意不好了? “对等关税”太荒谬!美媒曝美财长受不了想辞职 著名演员因病去世,年仅58岁,大家都认识! 专家谈2025年金价上涨

      <code id='0a943'></code><style id='797be'></style>
      • <acronym id='7e383'></acronym>
        <center id='170c1'><center id='b3760'><tfoot id='ef0c3'></tfoot></center><abbr id='fc7b7'><dir id='dff63'><tfoot id='72a72'></tfoot><noframes id='a13dc'>

      • <optgroup id='cefc4'><strike id='386c3'><sup id='9ba19'></sup></strike><code id='b6afd'></code></optgroup>
          1. <b id='9b8bb'><label id='5247a'><select id='f3523'><dt id='f4fd5'><span id='ee910'></span></dt></select></label></b><u id='9ca2d'></u>
            <i id='c7b91'><strike id='463ee'><tt id='17855'><pre id='812ca'></pre></tt></strike></i>