Web.config Custom Errors mode Conflict

前端 未结 11 1481
执笔经年
执笔经年 2020-12-25 12:52

I have a great and important problem with Web.Config, I need to see the Error of my page and resolve it in asp.net web form and web config, but when Error Occurred, I see an

11条回答
  •  爱一瞬间的悲伤
    2020-12-25 13:48

    To show the error for debugging and NOT showing an custom error page you do not need a defaultRedirect and simply having this should then output the debug / exception information:

    
        
    
    

    NOTE: Ensure that On starts with an upper-case O. By changing the web.config this should (by default) recycle your app pool and be picked up straight away.

提交回复
热议问题