asp.net-core-webapi - 安装适用于 Windows 的 .NET Core 2.2 运行时和托管 bundle 后,所有应用程序均出现 503 “Service Unavailable” 错误

标签 asp.net-core-webapi windows-server-2008-r2 iis-8.5 asp.net-core-2.2

我正在使用 ASP.NET CORE 2.2 开发一个 Angular 7 应用程序,当我将其部署在 IIS 8.5(即 Windows Server 2012 R2)中时,IIS 中的所有 Web 应用程序主机都会出现503 服务不可用 当我卸载 .NET Core 2.2 Runtime & Hosting Bundle

时,错误和错误消失

当我检查事件 View 时,它显示以下错误:

A listener channel for protocol 'http' in worker process '<ProcessId>' serving application pool '<ApplicationPoolName>' reported a listener channel failure.

网上试过了,不成功,有人有解决办法吗?

最佳答案

我花了一天多的时间才找到解决方案。在安装ASP.NET Core/.NET Core:运行时和托管 bundle (最新版本)之前,您需要确保已安装Microsoft Visual C++ 2015 Redistributable.在系统中。

如果缺少 Microsoft Visual C++ 2015 Redistributable,安装(ASP.NET Core/.NET Core:运行时和托管 bundle )不会显示任何内容。

这有助于解决我遇到的问题。希望这会对您有所帮助。

关于asp.net-core-webapi - 安装适用于 Windows 的 .NET Core 2.2 运行时和托管 bundle 后,所有应用程序均出现 503 “Service Unavailable” 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54899577/

相关文章:

c# - 在 asp.net core 中使用 JavaScript Client 在 Identity Server 4 中获取范围验证错误

c# - 从本地主机 C# Web API - 从 Azure KeyVault 访问 secret 会引发错误 Invalid Issuer

javascript - 如何将文件图像转换为 Byte[] ReactJS?

MySQL服务器性能

authentication - IIS 8.5 : Change authentification mode for url sub path

c# - asp.net mvc 捆绑 gzip 压缩不起作用

azure - Azure 流量管理器设置的 X-Powered-By header

c# - Azure应用程序服务可以访问github存储库中的文件吗?

amazon-web-services - Bamboo SCP 插件 : how to find directory

windows-server-2008 - Win2008 R2 WER(错误报告)LocalDumps 被什么阻止了?