在Windows Server 2019 IIS 10 发布 asp.net core 站点,运行报错:
HTTP 错误 500.19,错误代码:0x8007000d,查看web.config文件
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
缺少AspNetCoreModuleV2
下载
https://dotnet.microsoft.com/download/dotnet-core/3.1
Hosting Bundle 版本。
安装 重启IIS。
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!