Skip to content


How to get rid of “Unknown error occurred” in SharePoint

Sharepoint uses custom error messages to give human readable error message. Unfortunately the error is almost always “Unknown error occurred”.
This is really anoying since it does not help you at all as to what the problem is.
When you set up a new web application, go edit your web.config right away to get rid of this.
What we need to turn off is “custom errors” and turn callstack on. That way we see the actual errormessage and we also see the callstack, in case that help us.

Search for CallStack. Change it’s value to “true”.
Result:

Search for “customErrors. Change it to “off”
Result: .

Off means we turn off the “friendly” error messages, since most people don’t really find them that friendly.

  • Delicious
  • Digg
  • Twitter
  • Facebook
  • LinkedIn
  • TechNet
  • StumbleUpon
  • NewsVine
  • Technorati Favorites
  • Slashdot
  • MSDN
  • Share/Bookmark

Related posts:

  1. Error when updating Windows SharePoint Services 3.0 with SP2 – An update conflict has occurred, and you must re-try this action. The object SPSearchDatabase…
  2. Error while starting WSS or MOSS Search: SPSearch(Administrator)
  3. Clone SharePoint (MOSS / WSS) stand-alone developer virtual machine (Rename SharePoint Server)
  4. Quick intro to creating custom SharePoint (MOSS, WSS) site themes
  5. Enable Usage Analysis / Tracing / Reporting in SharePoint (MOSS)

Posted in SharePoint.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.