Trinthlo

Anonymous Authentication Error

HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

Module:  AnonymousAuthenticationModule
Notification:  AuthenticateRequest
Handler:  cfmHandler
Error Code:  0x80070021

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".

 

Solution:

Modify file C:\Windows\System32\inetsrv\config\applicationHost.config and change

<section name="anonymousAuthentication" overrideModeDefault="Deny" />

to 

<section name="anonymousAuthentication" overrideModeDefault="Allow" />