DotNet Development, SharePoint Customizing, Silverlight, MS Infrastructure and other tips and tricks

Receive a detailed Error Message from a SP MasterPage

Posted by PANVEGA on July 9, 2009

By default you receive an “An unexpected error has occurred” in your MasterPage when you try to make any special changes. However this gives you not the information you expect when customizing your Master Page.

What to do:

Enabling stack traces and disabling custom error pages in web.config is a great way to help you diagnose the specific problems.

You can do this by setting <customErrors mode="Off" /> in web.config and

the CallStack="true" property in the <SharePoint><SafeMode> tag in web.config.

More Information about custom Error Messages:


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 )

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

%d bloggers like this: