Blazor模板HTTP错误500.24-内部服务器错误:system.web/identity@impersonate设置为true

问题描述 投票:0回答:1

当我运行未修改的Blazor项目时遇到上述错误。

非常类似于此帖子HTTP Error 500.24 - Internal Server Error : system.web/identity@impersonate is set to true

区别是没有“ web.config”文件。更新“ web.config”文件以使以下代码在Core和MVC中正常工作。

<system.web>
   <identity impersonate="false"/>
</system.web>
iis-express blazor
1个回答
0
投票

在IIS管理器中将system.web / identity / impersonate设置为false。在以下帖子中查看Francesco B的回复:

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

© www.soinside.com 2019 - 2024. All rights reserved.