Thursday, April 7, 2011

SharePoint 2010: customErrors in Web.Config

Ok I've been trying to ignore this one for a while but it's got to me. I had to figure out why changing <customErrors mode="Off" /> in the usual web.config in your Web App didn't do anything.

So I did a search of the file system and found this file:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\web.config

Yep that's right. You have to change the customErrors setting in this file as well.

Joys of SharePoint...

No comments:

Post a Comment