I've created a new aspnet core web api app and when I run it and it takes me to a sample api page (/api/values) I get the following error page:
HTTP Error 500.24 - Internal Server Error
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
Most likely causes: system.web/identity@impersonate is set to true.
Literally nothing has been added or changed from the default app. Similar app I created a week or so ago works fine. Deleting and re-creating a new web app doesn't help.
dotnet core version is 2.2, Visual Studio 2017 15.9.2, Windows 10