Making sense of SharePoint errors

“Unknown error occurred” message on the generic yellowish & blue page?
Of course, sometimes they get a bit more detailed, but you still get stuck without enough info.

To Avoid this in development SharePoint sites is to open the web.config and make two tweaks so it gives the familiar ASP.NET yellow screen of death (YSOD) with the true exception and underlying call stack:

  • Turn the call stack on by searching for <SafeMode … CallStack=”false” …> and change it to CallStack=”true”.
  • Turn off the SharePoint error pages by turning off custom error pages: change <customErrors mode=”On” /> to mode=”Off”.
Advertisements

1 Comment

  1. Erick Rims said,

    September 4, 2008 at 9:50 AM

    hello,

    really its a nice tip for the users who are concentrating on shparepoint.

    nice job

    thanks………..


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: