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?
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.
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!
It will also appear in the event log, I’ve tracked down issues with users inputting invalid file names that way.
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.
Let me introduce you to a my friend called ULS viewer – http://code.msdn.microsoft.com/ULSViewer :)
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.