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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 法总理:加征关税是一场“地震”,美国将首先成为受害者 侯佩岑管乐随地大小演 越南越捷航空将使用中国商飞客机C909运营国内航线 U17国足vs乌兹别克斯坦 被问及市场时,特朗普表示,“有时你必须吃药”

      <code id='37e58'></code><style id='c30db'></style>
      • <acronym id='4b3e7'></acronym>
        <center id='f3cb5'><center id='685a8'><tfoot id='83dbf'></tfoot></center><abbr id='84c6a'><dir id='8a0d0'><tfoot id='ec073'></tfoot><noframes id='92e6c'>

      • <optgroup id='7de27'><strike id='d3a1f'><sup id='75402'></sup></strike><code id='58fd7'></code></optgroup>
          1. <b id='22b60'><label id='605a8'><select id='ee355'><dt id='2ff26'><span id='d8629'></span></dt></select></label></b><u id='4c4dd'></u>
            <i id='d9172'><strike id='416b5'><tt id='80e7f'><pre id='7aac4'></pre></tt></strike></i>