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
I received the same error as OP. My solution was to add a Web.config file to my ASP.NET Core web app's root folder with this XML content: