Andrew Connell [MVP MOSS]
1350 Posts |  39 Articles |  3385 Comments
.NET  |  MCMS  |  SharePoint  |  Office System
PDCBling
SharePoint Quick Links
Article Categories
Archives
Post Categories

View Andrew Connell's profile on LinkedIn

Add to Technorati Favorites

So... all you SharePoint v3 developers out there (WSS v3 / MOSS 2007)... don't you just love when you run into that dreaded SharePoint error "Unknown error occurred" message on the generic yellowish & blue page? It's about as effective as the "Service Engine Soon" light on your car dashboard. Of course, sometimes they get a bit more detailed, but you still get stuck without enough info.

One thing I do on all my development SharePoint sites is to pop open the web.config and make two tweaks so I get 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".

Shane posted about this a few weeks back. After a few questions were posted about this, I figured I'd repost it here as well.

Technorati tags: , , ,
posted on Thursday, February 01, 2007 9:34 PM

Feedback

# re: Making sense of SharePoint errors 2/7/2007 6:44 PM Martin Palmer
Gravatar Thanks Andrew - thats good stuff!

 re: Making sense of SharePoint errors 2/26/2007 5:03 AM Anders Rask
Gravatar Dont forget

<compilation batch="true" debug="true">

to enable debugging :-)

 re: Making sense of SharePoint errors 12/3/2007 10:19 AM Tom Kretzmer
Gravatar This was extremely helpful. Thanks a million!

 re: Making sense of SharePoint errors 3/6/2008 11:49 AM Lucy Hyde-Thomson
Gravatar spot on thank you had missed the safe mode bit - now I know where my registration user control has gone awry!

 re: Making sense of SharePoint errors 8/25/2008 2:57 PM Dnevarez
Gravatar I set up Sharepoint 2007 and it has been working fine. Suddenly for no reason I attempt to upload a file and I get an error " Error. Unable to complete this operation. Please contact your administrator."
I am the admin. and I have plenty of space on my "C" drive.
Can anyone help?

# re: Making sense of SharePoint errors 8/27/2008 7:47 AM AC [MVP MOSS]
Gravatar Dnevarez-
As always, check the ULS logs and Event log for more information.

Post Feedback

Title:
Name:
Email:
(email will not be displayed)
Url:
Comments: 
Please add 6 and 7 and type the answer here:    
All Comments Are Filtered & Moderated
Unfortunately comment spammers are just too effecient and are constantly dirtying up blogs with irrelivant and unwanted comments trying to improve their standing on search engines. All comments on this blog are moderated. I do not censor comments, but I don't approve comments with vulger language or those soliciting products. Most of the time comments are approved within a few hours of being submitted with the only exception when I'm traveling.

Why are you asking for my email address?
The only reason I'm asking for your email address, which isn't required to submit a comment, is to provide a gravatar if you've created an account for yourself and associated your email address with a small image. If you have a gravatar created for the email address you submit, it will appear next to your comment. Otherwise nothing will appear.

What is a gravatar?
A gravatar is a "globally recognized avatar." You can get more information about gravatars, as well as create your own for free, at www.gravatar.com. You can also view my gravatar here.


Copyright © 2003 - 2008 Andrew Connell
Creative Commons License 
This work is licensed under a Creative Commons License
Site design by Heather Solomon.

 
 
MOSS WCM Training
Looking for MOSS 2007 WCM developer training? Look no further! I teach my 4-day hands-on and 5-day online WCM classes for developers I offer through the Ted Pattison Group.

Get more information on the WCM courses!


Upcoming Classes
 Hands-on WCM:
 » Atlanta, GA
   Sept 22-25, 2008
 Online WCM:
 » July 21-25, 2008
 » December 8-12, 2008


» Register today!

JAX Office Geeks
Jacksonville Office Geeks (JOG)
JOG is a special interest group in Jacksonville, FL dedicated to bringing the local SharePoint commnity together to share tips, tricks, ideas and best practices for developing solutions on the SharePoint platform.

Next meeting details...
When:
Thur. Sept 18th, 2008
  6-8p EDT
Topic:
Enterprise Content Management - Document Retention

Speaker:
John Holliday, MVP MOSS

RSVP Today!


» Subscribe to the JOG newsletter