.Net Core网站IIS配置安装方法

1、先安装.net framework4.0

2、再安装vc_redist.x64

      vc_redist.x64下载地址: https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=48145

3、在安装.NET Core SDK 和 .NET Core Runtime

4、如果浏览网站还是提示错误

HTTP Error 500.31 - Failed to load ASP.NET Core runtime
Common solutions to this issue:
The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found.
Specific error detected by ANCM:
Failed to load the dll from [C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.14\hostpolicy.dll], HRESULT: 0x80070057 An error occurred while loading required library hostpolicy.dll from [C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.14]
Troubleshooting steps:
Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect

这个时候就是可以需要安装一下KB2533623更新了,

https://support.microsoft.com/en-us/topic/microsoft-security-advisory-insecure-library-loading-could-allow-remote-code-execution-486ea436-2d47-27e5-6cb9-26ab7230c704

这个是官方的更新下载地址,不过我现在打开里面的下载地址都提示404.我就在百度上自己找个这个更新的安装包。根据自己的系统下载相应的安装包。


© 2016-2024 阿尔佛 aerfo.com | 豫ICP备17044542号 | 豫公网安备 41010602000172