Tuesday, 28 February 2012

Enable errors display on the production server

They following lines in the web.config are the key to finding errors on the production servers.

<!-- Web.Config Configuration File --><configuration>    <system.web>        <customErrors mode="Off"/>    </system.web></configuration>

Don't forget to return the mode into "RemoteOnly" immediately after finishing, that can be a real threat to your application if left behind.

No comments:

Post a Comment