每次我将webapp上传到提供商时都会出错.由于customErrors模式,我看到的只是默认的"运行时错误"消息,指示我关闭customErrors以查看有关错误的更多信息.
恼怒,我已将我的web.config设置为如下所示:
<?xml version="1.0"?>
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Run Code Online (Sandbox Code Playgroud)
而且,我得到的只是愚蠢的远程错误页面,没有任何有用的信息.我还能做些什么来关闭自定义错误!
asp.net ×1