简体   繁体   English

如何设置web.config以查看ASP.NET MVC3项目的完整错误消息

[英]How to setup web.config to see the complete error message for ASP.NET MVC3 project

How to setup web.config to see the complete error message for ASP .NET MVC3 project remotly? 如何设置web.config以远程查看ASP .NET MVC3项目的完整错误消息?

So I need a detailed error info... 所以我需要一个详细的错误信息......

I have this under web.config but it seems doesn't work... 我在web.config下有这个但看起来不行......

<system.web>
 <customErrors mode="off" />

Finally I found the solution. 最后我找到了解决方案。

Yup we need <customErrors mode="off" /> and also we have to restart website under IIS. 是的,我们需要<customErrors mode="off" /> ,我们还要在IIS下重启网站。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM