Recently in one of my machines I got the above HTTP error when running an application hosted on IIS 7. The detailed error was as below.
“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".”
After doing some troubleshooting I was managed to get this error fixed by reinstalling ASP.Net by running the aspnet_regiis –ir command.
For more information on running the command please refer to my old article Unable to start debugging on the web server.
No comments:
Post a Comment