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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 中国上调保险资金投资股市比例 机动车检测乱象调查:本省车检过不了,换个省份就“通关”? 我当然知道那不是我的唐老鸭 美军狂轰胡塞武装有何目的 台湾军机飞越大陆9省进逼北京,滞空10小时,我军18架次战机拦截失败,总理震怒:影响太坏!

      <code id='b861c'></code><style id='0b367'></style>
      • <acronym id='f3b3d'></acronym>
        <center id='3cf4d'><center id='65f81'><tfoot id='a8059'></tfoot></center><abbr id='79488'><dir id='b3f44'><tfoot id='2164c'></tfoot><noframes id='916fb'>

      • <optgroup id='462d3'><strike id='18512'><sup id='af3ed'></sup></strike><code id='3d378'></code></optgroup>
          1. <b id='c173a'><label id='2283a'><select id='4c691'><dt id='f655c'><span id='f738f'></span></dt></select></label></b><u id='c98e5'></u>
            <i id='b5c39'><strike id='e154a'><tt id='547b5'><pre id='8f427'></pre></tt></strike></i>