配置错误:无法在此路径上使用此配置部分
问题: I've encountered an error deploying a site to a server. 将网站部署到服务器时遇到错误。 When trying to load the home page, or access authentication on the new site in IIS, I get the error: 尝试加载主页或访问IIS中新站点上的身份验证时,出现错误: Config 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". 锁定默认情况下是(overrideModeDefault =“ Deny”),或者是由一个带有overlayMode =“ Deny