Skip to content

Instantly share code, notes, and snippets.

@mehmetkurt
Last active November 14, 2021 20:20
Show Gist options
  • Save mehmetkurt/851c8699c59a0a573fe0e5a199173014 to your computer and use it in GitHub Desktop.
Save mehmetkurt/851c8699c59a0a573fe0e5a199173014 to your computer and use it in GitHub Desktop.

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".

Goto : C:\Windows\System32\inetsrv\config
Open : applicationHost.config
Find :  <section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" />
Replace :  <section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Allow" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment