A Trick with the Dreaded “Server Error in ‘/’ Application” Error

Have you ever tried to go to a SharePoint page in your browser and gotten an error like this?

image

This screenshot is from SharePoint 2010, but this trick works in SharePoint 2007 as well. View Source on the page and you’ll see additional information down at the bottom, hidden inside a comment. sure, it’s still stack dump gobbledy-gook, but it might be more useful to you than what is showing on the screen.

image

I may be the last man on earth to know about this one, but I still thought it was worth posting.  Tip o’ the bowler to Sean Regan for this one!

4 Comments

    • Eric:

      The nice thing about this little trick is that you don’t need any sort of access to the server to see more info about the error. This is going to be more and more common as people move to the cloud, for instance.

      M.

      Reply
    • Chaks:

      Of course! But there are always times where you can’t get to the server or even aren’t allowed on the server. This is just a nice little trick to fill those gaps. In many big clients where I do work, by the time i track down the server guys…

      Also think about the instance where you want to show an end user how smaht (that’s how some people say it here in Boston) you are!

      M.

      Reply

Have a thought or opinion?