Turn Custom Errors Off in Web.Config
28-12-2015 16:39:56
C# / ASP.NET MVC
0 Bookmark(s)
218 View(s)
If you get a 500 Server error on a production server you do not see any exception details (for security reasons).
To turn this custom error pages off, modify the following secion in the Web.Config file:
If you want to see detailed errors from local access, but custom errors from remote, set it to:
In case you still don't see detailed errors, your application settings could be overriden by the
machine.configfile:
Set the retail attribute of the deployment element to
false: