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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 金饰价格涨破1000元 越南的女人有多美?看看她们的真实生活,还想娶吗 上海地铁猥亵事件男子称被公司开除 网传火化时遗体会突然坐起来或会「猛地动一下」,这是真的吗?遗体在火化过程中会发生什么? CBA综合:广东大胜上海 季后赛八强出炉

      <code id='5675d'></code><style id='e3691'></style>
      • <acronym id='3f3d9'></acronym>
        <center id='c9bdc'><center id='5650d'><tfoot id='aed04'></tfoot></center><abbr id='d5274'><dir id='cdc66'><tfoot id='1a707'></tfoot><noframes id='d50cc'>

      • <optgroup id='b22c5'><strike id='3cc8c'><sup id='56493'></sup></strike><code id='45a6b'></code></optgroup>
          1. <b id='55fa9'><label id='3c476'><select id='1c961'><dt id='1377b'><span id='7cd5a'></span></dt></select></label></b><u id='4ec06'></u>
            <i id='83374'><strike id='99dbb'><tt id='ec425'><pre id='ab5fb'></pre></tt></strike></i>