Home
Disabling custom errors in Windows SharePoint Services (WSS) 3.0 Print E-mail
You might have noticed from my previous post that, because of the ILM “2” beta, I’m having to get my hands a little dirty with SharePoint Services –specifically Windows SharePoint Services (WSS) 3.0 Service Pack 1 (SP1). Well, I hit a known bug in ILM “2” beta 2 (although it wasn’t known to me) and I couldn’t get anywhere with the ILM “2” Portal error messages. I needed to see the real error messages, and to do this you’ve got to disable Custom Errors and enable stack tracing in WSS. This is scattered all over the web, but I’m going to post it here too...
  • Open the WSS site’s web.config file in NOTEPAD or your favourite XML editor, e.g. Visual Studio
  • Use the find (Ctrl + F) feature to find the following XML items:
    • <customErrors mode=”Off” /> tag and change OFF to ON, e.g. <customErrors mode=”On” />
    • <SafeMode ... CallStack=”false” ... > tag and change FALSE to TRUE, e.g. CallStack=”true”

      Note. The SafeMode tag has several properties, so simply search for “CallStack” as it’s likely that CallStack won’t be the first item, next to SafeMode.

Hope this helps!




Del.icio.us!Technorati!StumbleUpon!Furl!
 
< Prev   Next >