General Bloging

Development and Stuff

About the author

Author Name is someone.
E-mail me Send mail

Recent comments

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010

SharePoint 2007 Show Error Messages for Debugging

Debugging SharePoint errors is  a pain.  You normally get the the  "An unexpected error has occurred" error message is shown.

Sometime there is nothing in the event log or trace log.

To enable detailed error messages in the browser do the following in web.config 

<SafeMode MaxControls="200" CallStack="false"… />  change to  <SafeMode MaxControls="200" CallStack="true" … />

The customError setting must be changed to "Off":     <customErrors mode="Off"/>

After these changes, the "An unexpected error has occurred" should no longer be shown and you should a standard ASP.NET error page.

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by gurney on Tuesday, March 18, 2008 8:58 AM
Permalink | Comments (1) | Post RSSRSS comment feed

Related posts

Comments

graphics comments us

Friday, May 15, 2009 10:00 AM

thanks for this usefull informations..
now i find what i want to know, thanks ..