Debug SharePoint 2013

First you have to open the web.confing file of the application C:\inetpub\wwwroot\wss\VirtualDirectories\<port>.

  1. Debug=”true” instead of the default of Debug=”false”
  2. CallStack=”true” instead of the default of CallStack=”false”
  3. CustomErrors=”Off” instead of the default of CustomErrors=”On”

Secondly, there is a second web.config file located at the 

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\web.config 
That second web.config file contains the customErrors section that needs to be set to off.  


Central Administration has a second web.config file too if you need to see error descriptions there:

 

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\ADMIN\web.config

 

From customErrors section set the value to off.

 

Advertisements

One thought on “Debug SharePoint 2013

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s