[英]Running .NET Core API project gives Error 502.5 - Process Failure
I have a .NET Core Web API project which all of a sudden stopped working correctly (on localhost) - when I run it on "AnyCPU" or "x86" platforms, I get this error: 我有一个.NET Core Web API项目,该项目突然停止正常运行(在localhost上)-当我在“ AnyCPU”或“ x86”平台上运行它时,出现此错误:
HTTP Error 502.5 - Process Failure
HTTP错误502.5-进程失败
It only works when I run it in "x64". 它仅在“ x64”中运行时有效。
I see that this question has been asked a lot, but mostly people had problems with deployment and I am running the project on localhost. 我看到这个问题已经问了很多,但是大多数人在部署时遇到问题,并且我在本地主机上运行该项目。 Also, I didn't find a similar question with results depending on the platform.
另外,根据平台的不同,我没有发现类似的问题。
I have had this issue a few times. 我有几次这个问题。 What resolved it for me was to ensure the target framework sdk is installed.
对我来说解决的是确保已安装目标框架sdk。
I was targeting 2.1.3 but only had 2.1.0 installed and failed for this reason. 我的目标是2.1.3,但仅安装2.1.0并因此失败。
If running on windows you can open the Event Viewer app and expand windows logs and select Application, the errors show up there and reveal more detailed error messages 如果在Windows上运行,则可以打开“事件查看器”应用程序并展开Windows日志并选择“应用程序”,错误在那里显示并显示更多详细的错误消息
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.