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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 笔记本RTX 5070 Ti 性能分析:青春版4080+DLSS4 中方驳斥万斯言论:无知无礼又可悲 全球首个,即将开跑!机器人选手准备得如何?先睹为快 哈尔滨市司法局局长丁锐心梗去世,年仅41岁 在单位,一把手一般不会惹以下4种人:1、快退休的中层领导;2、干净又能干的老实人;3、跟大领导关系很铁的干部;4、工龄久的老财务

      <code id='30b95'></code><style id='ef105'></style>
      • <acronym id='7a956'></acronym>
        <center id='57df1'><center id='5467d'><tfoot id='91a1d'></tfoot></center><abbr id='e9df3'><dir id='2201b'><tfoot id='41f56'></tfoot><noframes id='6eec9'>

      • <optgroup id='e021c'><strike id='45cdb'><sup id='ebc65'></sup></strike><code id='c61e7'></code></optgroup>
          1. <b id='c7f77'><label id='14e82'><select id='af3bf'><dt id='a1b5b'><span id='514d1'></span></dt></select></label></b><u id='9ec62'></u>
            <i id='5ba2f'><strike id='662f5'><tt id='efbb7'><pre id='e4d40'></pre></tt></strike></i>