By default, stack traces are not shown for site users. However, stack traces and other exception information can be viewed in the Event Viewer on the host. To enable exception information (such as stack trace) on pages and toasters on the Administrator site, you need to update the web.config file.
- Open the web.config file.
- In the customErrors element, set the Site mode attribute to "Off". Stack traces are now shown to all users. If you only want to show stack traces to users accessing the site through localhost, set the mode attribute to “RemoteOnly”.
- To enable stack traces in toasters, set includeStackTraceInFaults attribute in the webClientConfig element to “True”.