{"id":3340,"date":"2020-02-03T16:41:32","date_gmt":"2020-02-03T15:41:32","guid":{"rendered":"https:\/\/solidt.eu\/site\/?p=3340"},"modified":"2020-02-03T16:41:32","modified_gmt":"2020-02-03T15:41:32","slug":"iis-configuration-section-locked-at-a-parent-level","status":"publish","type":"post","link":"https:\/\/solidt.eu\/site\/iis-configuration-section-locked-at-a-parent-level\/","title":{"rendered":"IIS configuration section locked at a parent level"},"content":{"rendered":"\n<p><em>Turns out IIS asp.net features not installed on a clean server.<\/em><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Module AnonymousAuthenticationModule\nNotification AuthenticateRequest\nHandler StaticFile\nError Code 0x80070021\nConfig 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\".<\/pre>\n\n\n\n<p><a href=\"https:\/\/serverfault.com\/a\/685544\">https:\/\/serverfault.com\/a\/685544<\/a><\/p>\n\n\n\n<p>This solved my error on Windows Server 2012, IIS 8.5. Should work for other versions too.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Go to&nbsp;<strong>Server Manager<\/strong>, click add&nbsp;<strong>Roles and Features<\/strong><\/li><li>In the roles section choose:&nbsp;<strong>Web Server<\/strong><\/li><li>Under&nbsp;<strong>Security<\/strong>&nbsp;sub-section choose everything (I excluded digest, IP restrictions and URL authorization as we don&#8217;t use them)<\/li><li>Under&nbsp;<strong>Application Development<\/strong>&nbsp;choose&nbsp;<code>.NET Extensibility 4.5<\/code>&nbsp;and&nbsp;<code>ASP&gt;NET 4.5<\/code>, both ISAPI entries<\/li><li>In the&nbsp;<strong>Features<\/strong>&nbsp;section choose:&nbsp;<code>NET 3.5<\/code>,&nbsp;<code>.NET 4.5<\/code>,&nbsp;<code>ASP.NET 4.5<\/code><\/li><li>In the&nbsp;<strong>Web server<\/strong>&nbsp;section choose:&nbsp;<code>Web Server (all)<\/code>,&nbsp;<code>Management Tools (IIS Management Console and Management Service)<\/code>,&nbsp;<code>Windows<\/code><\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Turns out IIS asp.net features not installed on a clean server. https:\/\/serverfault.com\/a\/685544 This solved my error on Windows Server 2012, IIS 8.5. Should work for other versions too. Go to&nbsp;Server Manager, click add&nbsp;Roles and Features In the roles section choose:&nbsp;Web Server Under&nbsp;Security&nbsp;sub-section choose everything (I excluded digest, IP restrictions and URL authorization as we don&#8217;t [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3340","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/3340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/comments?post=3340"}],"version-history":[{"count":1,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/3340\/revisions"}],"predecessor-version":[{"id":3341,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/3340\/revisions\/3341"}],"wp:attachment":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/media?parent=3340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/categories?post=3340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/tags?post=3340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}