Should I remove this directive from web.config?

Discussion in 'ASP.NET / ASP.NET Core' started by Clay_Shannon, Apr 22, 2008.

  1. In order to see exactly what error was occurring (I was only seeing a generic err msg), I added this to my web.config:

    <customErrors mode="Off"/>

    That did the trick, and I was able to quickly solve the problem. Should I now remove it, though, so that users won't see specific info about my site's "innards"?
     
  2. It is a good idea to only turn that on when you need it.
     

Share This Page