在 Windows Server 2008 R2下部署 asp.net core 3.1 网站遇到的问题

转自:https://www.cnblogs.com/zoro-zero/p/14303205.html

1、安装最新版本(2019)的 Visual C++:https://docs.microsoft.com/zh-cn/cpp/windows/latest-supported-vc-redist

2、安装 Hosting Bundle 版本的 ASP.NET Core Runtime:https://dotnet.microsoft.com/download/dotnet/3.1

3、正常情况下,以上两步就应该可以正常运行,但若遇到错误

Failed to load the dll from [C:\Program Files\dotnet\host\fxr\版本号\hostfxr.dll], HRESULT: 0x80070057

则需要安装系统补丁(KB3146706):https://www.catalog.update.microsoft.com/Search.aspx?q=KB3146706

4、如果还有问题,可参考原文中其它处理方法。

5、另一个参考:https://www.cnblogs.com/xwgli/p/13971915.html

posted @ 2021-10-14 00:04  不是豆豆  阅读(381)  评论(0编辑  收藏  举报
友情链接:迷途