window server 2012R2部署asp.net core项目应用程序池自动停止

当在windows  server 2012R2上部署asp.net core项目时,需要安装the Hosting Bundle,但当我们安装完dotnet-hosting后,浏览站点应用程序池会自动关闭,net core runtime基于vc_redist.x64运行的,所以也就出现了此类错误需要安装vc_redist.x64才能在iis上运行netcore项目
  vc_redist.x64下载地址: https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=48145

其他Windows参考官网说明,在 Windows 上安装 .NET | Microsoft Docs

解决方案来自:windows server2012R2 上 .net core IIS 部署--应用程序池 自动停止 - 尼哈 - 博客园 (cnblogs.com)

posted @ 2021-10-14 15:46  路鸣  阅读(623)  评论(0编辑  收藏  举报