"An unexpected error has occurred"

October 29th, 2009 | Tags:

Suddenly you start receiving errors in the page with no clue whatsoever. By default, sharepoint supresses all the stack trace and ASP.NET ‘yellow’ dump page. (we call it the ‘yellow devil’ ;) ). To enable it, do the following:

Change the following entry in web.config of the site, by modifying the line…

<SafeMode MaxControls=“200“ CallStack=“false“…

to…

<SafeMode MaxControls=“200“ CallStack=“true“…

and set the custom errors to ‘Off’ .

<customErrors mode=“Off“/>

http://blog.thekid.me.uk/archive/2007/02/15/a-solution-to-quot-an-unexpected-error-has-occurred-quot-in-wss-v3.aspx?id=53

No comments yet.