Reputation: 4581
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:
HTTP Error 502.5 - Process Failure
It only works when I run it in "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.
Upvotes: 0
Views: 264
Reputation: 1397
I have had this issue a few times. What resolved it for me was to ensure the target framework sdk is installed.
I was targeting 2.1.3 but only had 2.1.0 installed and failed for this reason.
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
Upvotes: 3