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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 【新思想引领新征程】消费市场提质向好 助力经济高质量发展 董卿含泪公开孩子生父,苦瞒7年终于憋不住了!难怪当年退出央台 马布里成为中国女婿 鹿晗穿越千年传统文化探寻之旅 「三分钟热度」真的不好吗?也许它是你的隐藏优势

      <code id='2effb'></code><style id='0d2ba'></style>
      • <acronym id='b8029'></acronym>
        <center id='ac25b'><center id='51fb9'><tfoot id='f29ff'></tfoot></center><abbr id='2a584'><dir id='167f4'><tfoot id='c704a'></tfoot><noframes id='461cf'>

      • <optgroup id='f0328'><strike id='36054'><sup id='0a3bd'></sup></strike><code id='c53bc'></code></optgroup>
          1. <b id='5f05c'><label id='a03c5'><select id='2555a'><dt id='a0f12'><span id='aa87c'></span></dt></select></label></b><u id='ffda1'></u>
            <i id='08d2d'><strike id='43590'><tt id='4fc2b'><pre id='b2d02'></pre></tt></strike></i>