---
title: "IIS - this configuration section cannot be used at this path (configuration locking?)"  
description: "IIS - this configuration section cannot be used at this path (configuration locking?)"  
author: "Anonymous User"  
published: 2015-07-17  
updated: 2015-07-17  
canonical: https://www.mindstick.com/forum/23348/iis-this-configuration-section-cannot-be-used-at-this-path-configuration-locking  
category: ".net"  
tags: [".net"]  
reading_time: 2 minutes  

---

# IIS - this configuration section cannot be used at this path (configuration locking?)

I've encountered an error deploying a site to a server. When trying to load the [home page](https://answers.mindstick.com/qa/95562/how-do-i-change-the-safari-home-page-on-a-mac), or access [authentication](https://www.mindstick.com/blog/177/authentication-and-authorization-in-asp-dot-net) on the new site in IIS, I get the error:\
Config Error: This [configuration](https://www.mindstick.com/articles/13112/setting-up-the-perfect-configuration-for-your-work-computer) [section](https://yourviews.mindstick.com/view/297/reservation-for-economically-weaker-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](https://www.mindstick.com/blog/11636/relocating-business-or-office-to-another-location) tag with overrideMode="Deny" or the legacy allowOverride="false".\
More detail can be found Here, [Scenario](https://yourviews.mindstick.com/view/81221/sports-will-change-the-education-scenario) 7 matches my error hex.\
The solution they give on the linked site above is to set "Allow" for overrideModeDefault in the section mentioned in my error, in the applicationHost.[config file](https://answers.mindstick.com/qa/93685/what-is-web-config-file-in-dot-net-framework). In my case under [security](https://www.mindstick.com/articles/43813/new-security-technologies) in system.webServer. But if I look at the applicationHost.config on my local computer, where the site is properly deployed already, that section is set to Deny.\
So if this solution is correct, how is my local [instance](https://www.mindstick.com/forum/155658/testing-connection-to-cloud-sql-instance-with-a-mysql-client-from-vm-instance) running just fine with the same [web.config](https://www.mindstick.com/forum/183/web-config-file)? According to my applicationHost.config, that section should be locked but it's not. I'd prefer to not have to change the applicationHost.config file, because there are many other sites running on that server. Is there another solution to this error?\
Thanks!

## Replies

### Reply by Anonymous User

I found it on the web, but here is what I did:\
Click "Start button"in the search box, enter "Turn windows features on or off"in the features window, Click: "Internet Information Services"Click: "World Wide Web Services"Click: "Application Development Features"Check (enable) the features. I checked all but CGI


---

Original Source: https://www.mindstick.com/forum/23348/iis-this-configuration-section-cannot-be-used-at-this-path-configuration-locking

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
