HTTP Error 500.24 - Internal Server Error : system.web/identity@impersonate is set to true

后端 未结 3 1627
清歌不尽
清歌不尽 2021-01-15 18:06

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

3条回答
  •  长情又很酷
    2021-01-15 19:04

    Something is wrong with your setup. "windowsAuthentication": true shouldn't be there. It's set to false by default, unless you are trying to set and use Windows Authentication. Setting up Windows Authentication requires special steps, including having a web.config file with forwardWindowsAuthToken="True" and .UseIISIntegration() in program.cs file. If you are not trying to do that, just set "windowsAuthentication": false.

提交回复
热议问题