Microsoft MVP Logo

    <p>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 &amp; 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.</p>
    <p>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:</p>
    <ul>
    <li>Turn the call stack on by searching for <strong><font color="#ff0000">&lt;SafeMode ... CallStack="false" ...&gt;</font></strong> and change it to <strong><font color="#ff0000">CallStack="true"</font></strong>. </li>
    <li>Turn off the SharePoint error pages by turning off custom error pages: change <strong><font color="#ff0000">&lt;customErrors mode="On" /&gt;</font></strong> to <strong><font color="#ff0000">mode="Off"</font></strong>.</li>
    </ul>
    <p><a href="http://www.graphicalwonder.com/?p=648">Shane posted about this</a> a few weeks back. After a few questions were posted about this, I figured I'd repost it here as well.</p>
    <div class="wlWriterSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:db726170-ce60-46ca-8291-0c28b3fc0ba9" contenteditable="false" style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px">Technorati tags: <a rel="tag" href="http://technorati.com/tags/sharepoint">sharepoint</a>, <a rel="tag" href="http://technorati.com/tags/wss">wss</a>, <a rel="tag" href="http://technorati.com/tags/moss">moss</a>, <a rel="tag" href="http://technorati.com/tags/sharepoint%20error">sharepoint error</a></div>
Comments powered by Disqus