CustomErrors setting in SharePoint 2010

It’s a little bit different than SharePoint 2007, you need to change two web.config files instead of one:

  • Underneath  [systemdrive]:/inetpub/wwwroot/wss/virtualdirectories/
  • In the layouts directory underneath the SharePoint root directory or 14 hive – [systemdrive]:/Program Files/Common Files/Microsoft Shared/Web Server Extensions/14/TEMPLATE/LAYOUTS/

The settings that you need to change in the web.config file are still the same:

  • Change Debug=”true”
  • CallStack=”true”
  • CustomErrors=”Off”

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>