配置错误:无法在此路径上使用此配置部分

本文翻译自:Config Error: This configuration section cannot be used at this path

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”或旧版allowOverride =“ false”的位置标记显式设置的。

More detail can be found here, in Scenario 7 matches my hex error code. 方案7中匹配我的十六进制错误代码,可以在这里找到更多详细信息。

The solution given on the linked site above is to set Allow for overrideModeDefault in the section mentioned in my error, in the applicationHost.config file. 上面的链接站点上给出的解决方案是在我的错误中提到的部分中,在applicationHost.config文件中设置Allow for overlayModeDefault。 In my case, under Security

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值