Suddenly the websites I host on my local IIS Express started giving the following error
HTTP Error 500.19 - Internal Server Error 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". Config File \\?\C:\Websites\MySite1\web.config Config Source: 7: </modules> 8: <handlers> 9: <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
Dont know what has happened. Initially I suspected it was something with one of the site. I then realized that none of them works and they all give the above error. I have googled for this error but none of the links I found solved the issue
Anyone can assist?
User contributions licensed under CC BY-SA 3.0