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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 为什么 Windows 11 强制使用 Microsoft 账户登录的操作人人喊打? 19000吨钢筋“从天而降”,大桥剪彩前穾然垮掉,75人当场身亡 清明假期各地祭扫活动平稳有序 透视出行消费亮点 KANO模型:产品人必懂的需求分析法 重生悍卒:开局官府发媳妇

      <code id='77650'></code><style id='16a07'></style>
      • <acronym id='55f6c'></acronym>
        <center id='bec6f'><center id='76faf'><tfoot id='e2399'></tfoot></center><abbr id='afb7a'><dir id='f2ff5'><tfoot id='cb4d7'></tfoot><noframes id='354a6'>

      • <optgroup id='36165'><strike id='3ad82'><sup id='a8b54'></sup></strike><code id='d2804'></code></optgroup>
          1. <b id='5046b'><label id='f1bf8'><select id='8e45d'><dt id='5cd0d'><span id='4f6d6'></span></dt></select></label></b><u id='85ab7'></u>
            <i id='400e5'><strike id='317c0'><tt id='3a008'><pre id='2634b'></pre></tt></strike></i>