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 DevOps Consultant for LIKE 10 INC., a DevOps consulting firm providing premium support, guidance and services for Azure, Microsoft 365 and Azure DevOps.

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: Logo

You are commenting using your 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: