Home > SharePoint, Uncategorized > CustomErrors Mode RemoteOnly SharePoint 2010

CustomErrors Mode RemoteOnly SharePoint 2010

In SharePoint 2010 we would go into IIS, find our virtual directory and change the CallStack from false to true and the customErrors mode from On to Off but it still doesn’t work and gives same error

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly"/>
    </system.web>
</configuration>

SharePoint 2010 has a second web.config file located:

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

That second web.config file contains the customErrors section that needs to be set to Off.

Central Administration has a second web.config file too if you need to see error descriptions their:

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

Advertisements
Categories: SharePoint, Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: