Wednesday, July 13, 2016

This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".

You will get this error when your not defined Features Delegations correctly  in the IIS . 

Solution :

You can Fix the issue by configuring the Feature delegation as specified below

-> Got to IIS
-> Go to Features View
->Click on the Feature Delegation
->Update the  Below values  with New Delegations

Old Delegation
New Delegation
Read only
Authentication- Windows
Read only
Not delegated
Advanced Logging

Not Delegated

Now restart the IIS 
You can find more information  from here