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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 鹿晗工作室突然更新 韩国代总统韩德洙与美国总统特朗普通电话 贝兹利战斧隔扣闫鹏飞 男子逼女友喝农药身亡 获刑15年 《可遇不可求的事》原创作品音乐会在伦敦举办

      <code id='a3b3b'></code><style id='a2ea6'></style>
      • <acronym id='1cbdb'></acronym>
        <center id='387ef'><center id='ce4ad'><tfoot id='8743a'></tfoot></center><abbr id='e4d7e'><dir id='a96c5'><tfoot id='797fa'></tfoot><noframes id='38081'>

      • <optgroup id='5fa7e'><strike id='4b932'><sup id='ddcf0'></sup></strike><code id='7621d'></code></optgroup>
          1. <b id='be374'><label id='64d51'><select id='06b20'><dt id='aead5'><span id='2bb4b'></span></dt></select></label></b><u id='511c7'></u>
            <i id='60d36'><strike id='53241'><tt id='f5401'><pre id='8202f'></pre></tt></strike></i>