Blogs

.NET to SQL to Project Server and everything in between
Welcome to Blogs Sign in | Join | Help
in Search

Greg Manrodt's Blog

Development, customization, administration and thoughts on Microsoft Office SharePoint Server 2007 (MOSS), Windows SharePoint Services v3 (WSSv3), SharePoint Portal Server 2003, BizTalk, and anything else that comes to mind.

Unexpected Error

Perhaps this was obvious to all but me, but I thought I would post it anyway.

I am sure all SharePointers out there have seen, and perhaps been plagued by the above error. Well, there is now hope.

Go to the web.config file for your particular SharePoint Web Application, and open it in your favorite editor. At the top, set (forgive the XPath) '/configuration/SharePoint/SafeMode/@CallStack' to "true". Then set '/configuration/system.web/customErrors/@mode' to "Off". Finally, set '/configuration/system.web/compilation/@debug' to "true". Suddenly, your "Unexpected Error" becomes a "traditional" ASP.NET error that you can actually debug. Now why did I think of this before??

Big kudos to Jimmie Thompson from Microsoft Consulting Services for pointing this out.

Published Thursday, March 13, 2008 7:56 PM by gmanrodt

Comments

No Comments
Anonymous comments are disabled

About gmanrodt

Greg Manrodt is an Enterprise Consultant with Digineer, an information technology and management solution provider. Greg specializes in portals and collaboration, and application integration using various Microsoft products such as MOSS and BizTalk Server.
Powered by Community Server, by Telligent Systems