Config Error: This configuration section cannot be used at this path !

Encountered an error when trying to load the home page after deploying a new site to IIS:

Config Error: 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".

Solution:

  • Go to Control Panel.
  • Open “Turn windows features on or off”
  • Click: “Internet Information Services”
  • inside Click: “World Wide Web Services”
  • now Click: “Application Development Features”
  • Check all except CGI.(enable)

This worked for me in Windows 7 and 8.1.
Thanks for checking out.

Categories
Comments
All comments.
Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.