SharePoint Development – Turn off those friendly errors


 

The error page displayed while you are doing development on SharePoint has a lot to be desired, while it is perfect for production it just doesn’t;t give you any information to go on while you are knee deep in development.

  1. Open your SharePoint site’s web.config
  2. Find the <SafeMode> Element and change value of the CallStack attribute to "true".
  3. Find the <customErrors> element and change the value of the mode attribute to "Off".
  4. Save the file.

Now when you get an error you’ll get the real thing, no icing on that error anymore. 

About wesmacdonald

Wes MacDonald is a Visual Studio ALM MVP, PSD, MCT and a Principal Consultant for LIKE 10 INC., a SharePoint Server, Visual Studio and Team Foundation Server Consulting Firm providing premium support and guidance services.

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: