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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 马上评丨清华体育为什么强,答案在这里 4 月 9 日美国的所谓「对等关税」政策正式落地生效,接下来将有哪些应对手段? 腾讯客服:微信暂无消息已读功能 赵勇任中国女排主教练 杨昊加盟教练组 【星穹铁道3.2新增宝箱全收集】黎明云崖/斯缇科西亚/创生若虫/成就/贼灵/战利品/黄金替罪羊/启目集/仙馔秘酿/全网最贴心的星穹铁道宝箱攻略

      <code id='5682f'></code><style id='63366'></style>
      • <acronym id='4825f'></acronym>
        <center id='64a99'><center id='eb51d'><tfoot id='65ff6'></tfoot></center><abbr id='90342'><dir id='7a600'><tfoot id='4a786'></tfoot><noframes id='3f7af'>

      • <optgroup id='a67f4'><strike id='0a54c'><sup id='26f42'></sup></strike><code id='f43aa'></code></optgroup>
          1. <b id='0989b'><label id='66244'><select id='d55ab'><dt id='cc3fc'><span id='a5423'></span></dt></select></label></b><u id='82ccf'></u>
            <i id='e8335'><strike id='20307'><tt id='b44fb'><pre id='6d4e6'></pre></tt></strike></i>