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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 巴拿马称,李嘉诚的港口合约存在违规,有哪些信息值得关注?会对长和港口交易带来哪些影响? 外国姑娘被中国人暖到了 2028年洛杉矶奥运会比赛项目确定 乒乓球增设混合团体赛 他痴痴地等北京来电,却迎来84%关税,欧盟顺手补一刀:华尔街崩了 中国进出口银行:加大对小微企业支持

      <code id='08174'></code><style id='42a72'></style>
      • <acronym id='39fb2'></acronym>
        <center id='706e1'><center id='d6c9d'><tfoot id='a0f84'></tfoot></center><abbr id='616b1'><dir id='77da7'><tfoot id='9d2db'></tfoot><noframes id='30d89'>

      • <optgroup id='ce1ec'><strike id='706f1'><sup id='425d1'></sup></strike><code id='9b60e'></code></optgroup>
          1. <b id='7dc8d'><label id='e74ec'><select id='d7f82'><dt id='6cdd4'><span id='72a0d'></span></dt></select></label></b><u id='140f3'></u>
            <i id='1da0d'><strike id='22239'><tt id='5c7d1'><pre id='37fba'></pre></tt></strike></i>