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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 冯德莱恩:欧盟将成立工作组应对美关税政策 网友在路口被隔好远的大爷撞上车 恒指高开1.66% 小米集团涨近6% “国家队”出手增持释放哪些信号? 河南省委常委会召开会议,坚决拥护党中央对刘满仓的处分决定

      <code id='0326f'></code><style id='b38e1'></style>
      • <acronym id='1403d'></acronym>
        <center id='9092f'><center id='3c44d'><tfoot id='f0a27'></tfoot></center><abbr id='f11d4'><dir id='6e87c'><tfoot id='4407d'></tfoot><noframes id='10ba6'>

      • <optgroup id='9e19f'><strike id='d4b4d'><sup id='138fa'></sup></strike><code id='3940b'></code></optgroup>
          1. <b id='b5373'><label id='501fe'><select id='f0562'><dt id='ed9c8'><span id='3f5e0'></span></dt></select></label></b><u id='f92d9'></u>
            <i id='e7aa5'><strike id='34cde'><tt id='d17b4'><pre id='5171c'></pre></tt></strike></i>