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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 外媒:中国猛烈反击美国“霸凌”关税 IP到底是什么?一文讲清IP设计的底层逻辑 NINEPERCENT七周年 党内盟友罕见与特朗普唱反调:明年中期选举我们可能面临“血洗” 这种老花镜千万别买 越戴眼睛越花

      <code id='bce4b'></code><style id='fd86b'></style>
      • <acronym id='f68eb'></acronym>
        <center id='f1a89'><center id='60d3c'><tfoot id='bd605'></tfoot></center><abbr id='9fb5e'><dir id='83c08'><tfoot id='b0227'></tfoot><noframes id='27ce1'>

      • <optgroup id='e9fb7'><strike id='8bffc'><sup id='15760'></sup></strike><code id='ab691'></code></optgroup>
          1. <b id='5f2ba'><label id='85905'><select id='15443'><dt id='0078c'><span id='d7f60'></span></dt></select></label></b><u id='b1b7c'></u>
            <i id='2181a'><strike id='e327a'><tt id='9ee52'><pre id='25cd4'></pre></tt></strike></i>