Search code examples
iis-expressblazor

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


I'm running into the above error when I run the untouched Blazor project.

A lot like this post HTTP Error 500.24 - Internal Server Error : system.web/identity@impersonate is set to true

Difference is there's no "web.config" file. Updating the "web.config" file to having the following piece of code in Core and MVC worked.

<system.web>
   <identity impersonate="false"/>
</system.web>

Solution

  • Set system.web/identity/impersonate to false in IIS Manager. See Francesco B's response in following post:

    https://stackoverflow.com/a/60340688/6928182