Howto Enable SharePoint’s Debug Mode

I have met many SharePoint developers and administrator that can not provide detail information of the error. Most of them do not know, how to enable SharePoint's debug mode. There are lot of guidance in internet, but I will just write here as this is very basic information that every developer or SharePoint administrator must know! In order to enable SharePoint's debug mode, 3 places that you need to modify in web.config:

  1. Callstack = “true”
  2. customErrors mode = “Off”
  3. compilation debug = “true”

But where is the web.config?

  1. You can open IIS Manager, and right click to the SharePoint web application that you work on

  2. Click Explore

  3. Open web.config in Notepad

  4. Search for above keyword and modify

Here is how the final web.config looks like

Riwut Libinuko
Sr. Cloud Solution Architect

My research interests include distributed robotics, mobile computing and programmable matter.

comments powered by Disqus