I created an ASP.NET web application MVC Core 2.2 project. Then I ran it in IIS Express. But I received the following error:
HTTP Error 500.24 - Inter
Clearly not the poster's problem, since he wrote he fixed it changing .NET Core version; but I'm posting what worked for me, just in case.
Open IIS and find your default website:
Then you have two alternatives; the first is the quickest.
1. Authentication
Click on the Authentication icon:
Right-click ASP.NET Impersonation and disable it.
2. Configuration editor
Open the configuration editor:
The configuration editor opens; click the drop-down to the top left and pick system.web/identity:
Set impersonate to false:
And you're good to go!