Ok, this should be common knowledge by now, but when setting your own development box for SharePoint (whether it’s 2007 or 2010), these are the changes to web.config required to show proper error messages, and none of that “friendly” end-user centric messages:

<configuration>

<SharePoint>

<SafeMode CallStack=”true” … />

</SharePoint>

<system.web>

<CustomErrors mode=”off” />

</system.web>

</configuration>

 

Other sources to look at when debugging:

  • SharePoint event log
  • SharePoint logs
  • Debug the working process
  • IIS logs
  • Use tracing
  • Use remote debugging if no debugger is installed (not usually applicable to your development box)
Advertisements