Today, I configured the SharePoint 2013 Farm with 2 WFE and 2 Apps server. Everything went smooth with no issues or errors . Central Admin was working, I successfully created the Search, MMS, User Profile Service and Created 2 Web Apps. Now when I tried to browse the Web App one of WFE was throwing the Server Error in “/” Application.
Server Error in ‘/’ Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: This configuration section cannot be used at this path. This happens when the site administrator has locked access to this section using <location allowOverride=”false”> from an inherited configuration file.
Source Error:
<appSettings> <add key="aspnet:RestrictXmlControls" value="true" /> <add key="FeedCacheTime" value="300" /> </appSettings>
Source File: C:\inetpub\wwwroot\wss\VirtualDirectories\29354\web.config Line: 997
Root Cause:
During the Installation of the IIS for some reason AppSetting Section is locked (See Below). In order to fix, this section should be unlocked. Application settings provide a quick and easy to access area to store configuration data for your application.
Resolution:
To fix this error, you have to unlock this section from IIS server level. Follow these steps:
- Click On the Configuration Editor, Under Management.
- Select the AppSetting from the DropDown.
- Now Click on Unlock this Section from Action windows from Right.
Hopefully this will solve your problem as well.