ASP.NET 2.0 features a new configuration element called deployment. If you set this in machine.config – debugging, tracing and detailed errors are turned off machine wide. This is a nice switch for admins to make sure a dev didn’t forget to set the correct values in his local application.
<deployment retail=“true“ />