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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 非遗、科技、IP激活清明春旅新活力 沉浸式创新体验让文旅消费一路“繁花” 全球媒体聚焦丨美国著名专栏作家撰文称 在中国看到了未来 美首次载人绕地球两极飞行任务团队返回地球 特朗普晒美军空袭胡塞武装集会视频 蒯曼0-4不敌张本美和

      <code id='e449f'></code><style id='a6c2c'></style>
      • <acronym id='e9c17'></acronym>
        <center id='08e21'><center id='e53bc'><tfoot id='3b585'></tfoot></center><abbr id='24a5c'><dir id='387cf'><tfoot id='5a4a4'></tfoot><noframes id='466fc'>

      • <optgroup id='7e33e'><strike id='eabd9'><sup id='e2e92'></sup></strike><code id='497f5'></code></optgroup>
          1. <b id='85c21'><label id='c34da'><select id='5769c'><dt id='2a8c4'><span id='b8708'></span></dt></select></label></b><u id='cdd63'></u>
            <i id='3cb9b'><strike id='b8366'><tt id='ae34e'><pre id='9b2f3'></pre></tt></strike></i>