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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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='22642'></code><style id='31ccb'></style>
      • <acronym id='6a2ab'></acronym>
        <center id='8eb6c'><center id='22d07'><tfoot id='7ed18'></tfoot></center><abbr id='0e60c'><dir id='2d723'><tfoot id='0e105'></tfoot><noframes id='d396b'>

      • <optgroup id='995e5'><strike id='f4a84'><sup id='a63f8'></sup></strike><code id='3379f'></code></optgroup>
          1. <b id='fc269'><label id='bed71'><select id='b1400'><dt id='5b8e0'><span id='8d792'></span></dt></select></label></b><u id='ff121'></u>
            <i id='f7191'><strike id='7ab87'><tt id='5f460'><pre id='b0d9f'></pre></tt></strike></i>