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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 非常“精彩”的一堂社会课 哪吒那么厉害,为什么唐僧西天取经不让哪吒去? 全球首个,即将开跑!机器人选手准备得如何?先睹为快 哪本书像「午后甜品」一样治愈过你的疲惫时刻? 男子花一万五做房顶被一阵风给掀飞

      <code id='eb799'></code><style id='8a709'></style>
      • <acronym id='5620c'></acronym>
        <center id='c32c3'><center id='6d540'><tfoot id='7b9c8'></tfoot></center><abbr id='341d4'><dir id='6b5e3'><tfoot id='080c7'></tfoot><noframes id='53e9a'>

      • <optgroup id='3bf0e'><strike id='1d022'><sup id='d7cef'></sup></strike><code id='6b860'></code></optgroup>
          1. <b id='b1226'><label id='5a784'><select id='a7ca3'><dt id='818bf'><span id='58342'></span></dt></select></label></b><u id='2815d'></u>
            <i id='36e0e'><strike id='1a2cd'><tt id='47314'><pre id='35e7d'></pre></tt></strike></i>