title: Running .NET Core API project gives Error 502.5 - Process Failure
body: <p>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:</p>
  
  <blockquote>
    <p>HTTP Error 502.5 - Process Failure</p>
  </blockquote>
  
  <p>It only works when I run it in "x64".</p>
  
  <p>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.</p>