我正在使用 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/