Always Showing Aspnet Error Pages

If we want to always show the rich ASP.NET error page, such as when a team of developers are working against a single server, we could enable this mode by adding a web.config file with the following setting:

<configuration> <system.web>

<customErrors mode="Off" />


In a production environment, we want to leave the default setting, mode="RemoteOnly", or mode="On", to ensure that remote users do not see rich error detail. We also want to provide custom error pages.

0 0

Post a comment