There are 3 setting changes you need to make to the SharePoint web.config to show the real error messages and call stack – rather than the out-of-the-box message that is often very vague and unhelpful for troubleshooting.

The other day I still couldn’t get it to show the real error message even though I have applied these settings. It turns out there are 2 different web.config:

Under C:\inetpub\wwwroot\wss\VirtualDirectories\80: this web.config applies to the content pages in SharePoint.

Under [SharePointRoot]\TEMPLATE\LAYOUTS: this web.config applies to the application pages in SharePoint, i.e. pages under the _layouts/ virtual parth.

Share this:

Like this:

LikeLoading...

Related

About Bernado

Based in Australia, I am a freelance SharePoint and Dynamics CRM developer. I love developing innovative solutions that address business and everyday problems. Feel free to contact me if you think I can help you with your SharePoint or CRM implementation.