Monday, February 21, 2011

View Application Error on SharePoint page

When working with SharePoint 2010, when there is an error in the application you may come across the generic SharePoint error page that states to turn the customErrors tag to RemoteOnly or Off in the web.config. So you diligently locate the web.config file for the web app, and turn the customErrors to one of those settings based on your level of comfort.

The generic page still does not go away, and you can't see the error. What gives? Well, it appears that there is another web.config file in the LAYOUTS directory that has the customErrors set to On. This is overriding the web application web.config setting. So setting this customErrors to Off or RemoteOnly will show you the real error so you can take action on it!

3 comments:

Tyler said...

Interesting very interesting

ADmin said...

A couple of perceptions could be made on English expositions www.bestessaywriting.org and English article composing.

electronic signature said...

Congratulations, your blog is appealing and informative. Going through your Information, I found quite a few new ideas to implement.