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 Wes MacDonald

Wes MacDonald is a Developer Technologies MVP, PSD, MCT and a Principal Consultant for LIKE 10 INC., a DevOps Consulting firm providing premium support, guidance and services for Azure and VSTS.

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: