Qlikster http://db07tc13f7t7u.cloudfront.net/

Getting More Info on Sharepoint's 'An unexpected error has occurred' Error

Thursday, 18 June 2009 14:15 by qlikster

I came across a very useful config tweak the other day for the unhelpful "An unexpected error has occurred" page which I have seen many times in Sharepoint, usually without any related entries in the Sharepoint logs.

If you locate the following in your web.config file:

<SafeMode MaxControls="200" CallStack="false" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false">

And change it to:

<SafeMode MaxControls="200" CallStack="true" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false">

You will get a standard and slightly more helpful ASP.NET error page - don't forget to turn off customErrors:

<customErrors mode="Off" />

Tags:   ,
Categories:   Sharepoint
Actions:   Permalink | Comments (0) | Comment RSSRSS comment feed

Add comment




  Country flag
biuquote
  • Comment
  • Preview
Loading