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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 金子涵曾因体重饱受争议 珍珠项链居然可以这么戴 特朗普签署一系列旨在促进美国煤炭业发展的行政令 专家称A股长期向好走势不会改变 全球高度关注中国反制美国关税

      <code id='0eafe'></code><style id='dea31'></style>
      • <acronym id='8088a'></acronym>
        <center id='42bdc'><center id='6f039'><tfoot id='e9713'></tfoot></center><abbr id='8d5da'><dir id='baeff'><tfoot id='3454f'></tfoot><noframes id='c36f6'>

      • <optgroup id='a03c2'><strike id='9d4dc'><sup id='69298'></sup></strike><code id='4c256'></code></optgroup>
          1. <b id='eca5b'><label id='cdb02'><select id='4aef6'><dt id='2e162'><span id='34c7f'></span></dt></select></label></b><u id='2b436'></u>
            <i id='80e9c'><strike id='a5b31'><tt id='e8489'><pre id='d36c4'></pre></tt></strike></i>