HTTP错误502.5-升级到ASP.NET Core 2.2后ANCM进程外启动失败
将项目升级到ASP.NET Core 2.2之后,我尝试运行该应用程序(当然是在本地),并且浏览器显示了一条错误消息,如下面的屏幕截图所示.
After upgrading my project to ASP.NET Core 2.2, I tried to run the application (locally of course) and the browser displayed an error message like in the below screenshot.
没有更多由Visual Studio错误资源管理器通知的错误.我不知道发生了什么.
no more errors notified by visual studio error explorer. I don't know what's happen.
就我而言,我将一些nuget软件包升级到了net core 2.2,但是我没有安装net core 2.2 sdk,所以我去了net core网站.下载最新的sdk或运行时程序包,然后以管理员身份在CMD中进行了net stop was /y
和net start w3svc
的操作.问题为我解决了.
In my case, I upgraded some nuget packages to net core 2.2, but I did not have the net core 2.2 sdk installed, so I went to net core website to download the latest sdk or runtime package, and then I did a net stop was /y
and then a net start w3svc
in the CMD as administrator. Problem solved for me.