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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 叶童说即使不完美也是特别的美 【吃瓜sp89】芒果台是怎么毁了甲亢哥长沙行的完整复盘! 北京惠而惠文化传播有限公司完成3000万元天使轮融资 媒体:美对华关税升至145% 为什么现在的年轻人更容易觉得疲惫?

      <code id='6f23e'></code><style id='38038'></style>
      • <acronym id='4804e'></acronym>
        <center id='df8a2'><center id='37d75'><tfoot id='196cf'></tfoot></center><abbr id='0c17c'><dir id='83eb3'><tfoot id='ba58c'></tfoot><noframes id='5b2d9'>

      • <optgroup id='bd46d'><strike id='1f285'><sup id='609b9'></sup></strike><code id='a6d80'></code></optgroup>
          1. <b id='df4f2'><label id='ccf99'><select id='cdf4a'><dt id='0a6bb'><span id='c040c'></span></dt></select></label></b><u id='fd0f6'></u>
            <i id='fa2dd'><strike id='43ffd'><tt id='72414'><pre id='194d2'></pre></tt></strike></i>