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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 俄媒称特朗普将把墨西哥变成乌克兰 伊能静否认与秦昊各过各的 重回七零:一把猎枪养四娃 甲亢哥一句句OMG击碎老外偏见 《为美好的世界献上祝福》里的世界到底有多残酷?

      <code id='31a19'></code><style id='0c8f1'></style>
      • <acronym id='282fe'></acronym>
        <center id='75fd2'><center id='ec334'><tfoot id='ca284'></tfoot></center><abbr id='72056'><dir id='73788'><tfoot id='e07ac'></tfoot><noframes id='a8227'>

      • <optgroup id='a7557'><strike id='abdec'><sup id='355e2'></sup></strike><code id='b1e2e'></code></optgroup>
          1. <b id='5606b'><label id='c0112'><select id='e4745'><dt id='e7618'><span id='b9dc7'></span></dt></select></label></b><u id='fb0b2'></u>
            <i id='58d6f'><strike id='326b8'><tt id='38696'><pre id='01445'></pre></tt></strike></i>