Solution for "This configuration section cannot be used at this path. This happens when the section is locked at a parent level..."

This error occurs  when there is a problem reading the configuration file for the Web server or Web application.

All you need to do is;

  • Click "Start" button.
  • Search for "Turn windows features on or off".
  • In the Windows Features window, go to "Internet Information Services\World Wide Web Services\Application Development Features".
  • Check all the features apart from CGI.
  • Restart your IIS.

That's all!

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

Happy coding!

Comments

Popular posts from this blog

Solution for "Can not obtain Oracle client information from registry"

Solution for the fault: "System.Diagnostics.Process.Start is not working on IIS, but working on ASP.NET Development Server"