{"id":3522,"date":"2020-02-21T17:11:27","date_gmt":"2020-02-21T16:11:27","guid":{"rendered":"https:\/\/solidt.eu\/site\/?p=3522"},"modified":"2020-02-21T17:11:27","modified_gmt":"2020-02-21T16:11:27","slug":"iis-7-throws-duplicate-section-defined-error-for-web-config-on-one-server-but-not-another","status":"publish","type":"post","link":"https:\/\/solidt.eu\/site\/iis-7-throws-duplicate-section-defined-error-for-web-config-on-one-server-but-not-another\/","title":{"rendered":"IIS 7 throws \u201cduplicate section defined\u201d error for web.config on one server, but not another"},"content":{"rendered":"\n<p>Source: <a href=\"https:\/\/stackoverflow.com\/questions\/7335359\/iis-7-throws-duplicate-section-defined-error-for-web-config-on-one-server-but\">https:\/\/stackoverflow.com\/questions\/7335359\/iis-7-throws-duplicate-section-defined-error-for-web-config-on-one-server-but<\/a><\/p>\n\n\n\n<p>On the &#8220;broken&#8221; server your app pool is running <strong>.NET 4.0. <\/strong><br>The fix is to set the app pool to run as <strong>.NET 2.0<\/strong><\/p>\n\n\n\n<p>Because ASP.NET AJAX was invented after .NET 2.0, the configuration \ndefinitions never made it into the central web.config so you had to \ndeclare them on a per-site basis in most circumstances. 4.0 cleaned up \nlots of that cruft, with the side effect of breaking the default \nconfigurations for preceding versions of ASP.NET. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Source: https:\/\/stackoverflow.com\/questions\/7335359\/iis-7-throws-duplicate-section-defined-error-for-web-config-on-one-server-but On the &#8220;broken&#8221; server your app pool is running .NET 4.0. The fix is to set the app pool to run as .NET 2.0 Because ASP.NET AJAX was invented after .NET 2.0, the configuration definitions never made it into the central web.config so you had to declare them on a per-site basis in [&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-3522","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/3522","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=3522"}],"version-history":[{"count":1,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/3522\/revisions"}],"predecessor-version":[{"id":3523,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/3522\/revisions\/3523"}],"wp:attachment":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/media?parent=3522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/categories?post=3522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/tags?post=3522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}