While testing a SharePoint app, it is useful to see the "real" error messages instead of the nice "An unknown error occured. Please contact your system administrator".
As I'm always forgetting how to set the web.config to show the "real" errors, here are the couple of steps which need to be done:
As I'm always forgetting how to set the web.config to show the "real" errors, here are the couple of steps which need to be done:
- Switch custom errors off
<system.web>
…
<customErrors mode="Off" />
…
</system.web> - Enable CallStack
<SharePoint>
…
<SafeMode CallStack="true" />
…
</SharePoint>
0 comments:
Post a Comment