1) First open the web.config file for your site, which will be located InetPub folder.
2) In the web.config file, search for the
3) In the web.config file, search for the
4) And save the changes in the web.config file and close.
Now whenever the error occurs in the site it will display the original error message and not the custom error messages of the SharePoint 2007.
3 comments:
Another useful resource
http://blog.thekid.me.uk/archive/2007/02/15/a-solution-to-quot-an-unexpected-error-has-occurred-quot-in-wss-v3.aspx
Hi vivekthangaswamy thanks for this post, I have been getting a number of errors since migrating to a new environment, which I was able to resolve once it was more obvious what the underlying issue was. It ended up being a combination of a number of missing Web Part assembles which I first suspected. In my case, displaying errors was all that was required as the message displayed contained the specific details of the missing assemblies.
I also found the following article which explains how to enable errors, call stack trace, debugging and the ASP.NET tracing feature which may also help when troubleshooting SharePoint errors.
SharePoint: How to Show Full Errors, debug mode
( http://blog-sharepoint.blogspot.com/2009/12/sharepoint-webconfig-how-to-show-full.html )
Thanks
Daniel
Post a Comment