HTTP Error 502.5 - Process Error When Starting Application from Visual Studio

I saw this post , but this is not my case, because I am starting my project from Visual Studio. This is not a deployed application.

I recently installed Visual Studio 2015 Professional Update 3, and I am running the ASP.NET Core Web locally using the AngularJS 2 application. I see an error when starting the application:

HTTP Error 502.5 - Process Failure

Common causes of this problem:

Failed to start application process. Application process

but then stopped. Application process started but failed

listen to configured port

I already installed follwing packages on my pc:

  • DotNetCore.1.0.0-VS2015Tools.Preview 2
  • DotNetCore.1.0.1-VS2015Tools.Preview2.0.3
  • DotNetCore.1.0.4_1.1.1-WindowsHosting
  • DotNet-DEV-win-win x64.1.0.1
  • DotNet win-win x64.1.1.1

Does anyone know how I can fix this error?

+5
source share
1 answer

It was my stupid mistake. I don’t need to run my application right away, but try debugging my application first!

When I tried to debug my application, I saw the following exception:

Unable to load Microsoft.AspNetCore.Hosting 1.1.0.0

Then I just adjusted the project.json dependency files and it started to work very well.

Thanks so much guys everyone!

+4
source

Source: https://habr.com/ru/post/1267033/


All Articles