Troubleshoot and get actual error in SharePoint 2013

In this post we will discuss how to troubleshoot and get actual error message in SharePoint 2013. Basically this technique will be helpful if you are getting something errors like “File not found.” Here we will do some modification in the web.config file for the particular web application.

You may also read:
– Implement Custom Promoted Actions Delegate Control in SharePoint 2013

– Generate userprofile information PowerShell Script SharePoint 2013

– Unfollow SharePoint Online Site you are following

Follow below steps:
First navigate to the below directory:
F:\inetpub\wwwroot\wss\VirtualDirectories\[Port number]

In this directory we will modify the web.config file. Before modifying anything in the web.config make sure to take a backup of the web.config file.

Then open the config file in Notepad or Notepad++.

– First search for “CallStack” and set it to true like CallStack=”true”.

– Then search for “customerrors” and set to off like customerrors=”Off”

– Then search for “debug” and make it to “true” like debug=”true”

Then Save your web.config file and you will be able to see the actual error message when you will refresh the browser.

But make sure to revert back and checking the exact error message.

Hope this will be helpful.

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)


Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site