Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

In MOSS 2007, we could update the tag's callstack attribute to true and then customerrors mode to "Off" to see the actual error behind the 'An unexpected error has occurred' message. Does it apply on SharePoint 2010 as well ? I tried it but I get the following error:

Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed.

Details: To enable the details of this specific error message to be viewable on the local server machine, please create a tag within a "web.config" configuration file located in the root direc...

share|improve this question
add comment

2 Answers 2

If it's a _layouts page you have to change the settings in 14\TEMPLATE\LAYOUTS\web.config as well.

share|improve this answer
add comment

Do you not get a correlation id which you can use to trace the error in the logs?

share|improve this answer
    
I don't think you get the correlation id if something breaks ASP.NET when an unhandled exception hits the worker process - could anyone else confirm? –  James Love Aug 4 '10 at 17:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.