6
IIS抱怨锁定的部分-如何找到它的锁定位置?
我的web.config中有以下部分: <system.webServer> <modules runAllManagedModulesForAllRequests="true" /> <security> <authentication> <anonymousAuthentication enabled="true" /> <windowsAuthentication enabled="true" /> </authentication> </security> </system.webServer> IIS7崩溃并抱怨自闭节: 模块AnonymousAuthenticationModule 通知AuthenticateRequest 处理程序StaticFile 错误代码0x80070021 配置错误不能在此路径上使用此配置部分。当节锁定在父级时,会发生这种情况。锁定默认情况下是(overrideModeDefault =“ Deny”),或者是由一个带有overlayMode =“ Deny”或旧版allowOverride =“ false”的位置标记显式设置的。 Config Source 69: <authentication> 70: <anonymousAuthentication enabled="true" /> 因此,解决此问题的常用方法是进入%windir%\system32\inetsrv\config\applicationHost.config并解锁该部分: <sectionGroup name="system.webServer"> <sectionGroup name="security"> <section name="access" overrideModeDefault="Deny" /> <section name="applicationDependencies" overrideModeDefault="Deny" /> <sectionGroup …
54
iis-7
web.config