RSS

Category Archives: Debugging

Debugging tips for SharePoint


Here is a nice article about debugging in SharePoint. Worth read….

http://blog.thekid.me.uk/archive/2007/07/25/debugging-tips-for-sharepoint-and-wss-exceptions.aspx

Here is another tip for hiding “An unexpected error has occurred” message

Replace  web.config, by modifying the line…

<SafeMode MaxControls=“200“ CallStack=“false“…

to…

<SafeMode MaxControls=“200“ CallStack=“true“…

You will also need to set custom errors to ‘Off’ .

You will no longer see the “An unexpected error has occurred” error page and instead you get a lovely ’standard ASP.Net error page’ with the stack trace and everything…development has got that little bit easier!!

 
Leave a comment

Posted by on March 30, 2009 in Debugging, Error