Tuesday, April 28, 2015

SharePoint 2013 Server Error in '/' Application( Configuration error, AppSettings)

Poblem and Problem: Today, I configure the SharePoint 2013 Farm with 2 WFE and 2 Apps server. Everything went smooth, no issue / error (knock on the wood). Central Admin 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 throwing the Server Error in “/” Application. I pulling my hairs why and what is going on? Nothing help full Except the Message I am getting in the browser.

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:

Line 995:    <defaultProxy /> Line 996:  </system.net> Line 997:  <appSettings> Line 998:    <add key="aspnet:RestrictXmlControls" value="true" /> Line 999:    <add key="FeedCacheTime" value="300" />

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 Proper working, this section should be unlocked. Application settings provide a quick and easy to access area to store configuration data for your application.

as1

 

Resolution:
To fix this error, you have to unlock this section from IIS server level. Follow these steps:

as2

  • Click On the Configuration Editor, Under Management.

 as3

  • Select the AppSetting from the DropDown.

as4

  • Now Click on Unlock this Section from Action windows from Right.

as5

 

 

Hopefully this will solve your problem as well.


by Waqas Sarwar via Everyone's Blog Posts - SharePoint Community

No comments:

Post a Comment