本文介绍了web.config中的customErrors模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个的Web.Config很大的问题,我要看看我的网页的错误,并在asp.net web表单和Web配置解决它,但是当发生错误,我看到另一个错误,我看到以下内容:
I set this property Off, but do not show error and say again please set attribute to On your CustomError.
when I set mode to On,say Please set customErrors mode to On Again.
解决方案
In this case, your server might have a configuration <deployment retail="true" />
that overrides application settings and disables trace output, custom errors, and debug capabilities.
Change the value to "false"
<deployment retail="false" />
这篇关于web.config中的customErrors模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!