Deploying .NET Core ASP.NET website - HTTP Error 502.5 - Process failed


John Luke Law

I'm trying to publish the template project "ASP.NET Core Web Application (.NET Framework)" from Visual Studio 2015 to IIS.

I'm using the Visual Studio publish to filesystem feature.

I am using Windows 10.

I followed the guide from here .

  • I built a website in IIS and changed "Application Pool .NET CLR Version" to "No Managed Code"
  • I installed the .NET Core Windows Server Hosting bundle
  • I restarted the machine.

I get this error:

HTTP Error 502.5 - Process Failed

I added a log folder, but no logs were created.

Any ideas on how to fix this?

edit:

Output from running the .exe from powershell:

PS C:\TestCoreWebsite>. \Web_CoreWebNetFramework.exe Hosting Environment: Production Content Root Path: C:\TestCoreWebsite is now listening on: http://localhost:5000 Application started. Press Ctrl + C to close.

Then, I navigated to http://localhost:5000 and the sample site worked fine.

John Luke Law

Found the solution:

Change in root web.config:

processPath="%LAUNCHER_PATH%"

to:

processPath=".\Web_CoreWebNetFramework.exe"

Related


HTTP Error 502.5 - Process failed in ASP.NET Core 2.1 application

DomBurf I just upgraded our ASP.NET Core 2.0 application to 2.1. It builds and deploys fine, but I get the above error when trying to start it from my local web server (IIS). I also get the same error when launching it from Azure. The error log gives me the fo

HTTP Error 502.5 - Process failed in ASP.NET Core 2.1 application

DomBurf I just upgraded our ASP.NET Core 2.0 application to 2.1. It builds and deploys fine, but I get the above error when trying to start it from my local web server (IIS). I also get the same error when launching it from Azure. The error log gives me the fo

HTTP Error 502.5 - Process failed in ASP.NET Core 2.1 application

DomBurf I just upgraded our ASP.NET Core 2.0 application to 2.1. It builds and deploys fine, but I get the above error when trying to start it from my local web server (IIS). I also get the same error when launching it from Azure. The error log gives me the fo

HTTP Error 502.5 - Process failed in ASP.NET Core 2.1 application

DomBurf I just upgraded our ASP.NET Core 2.0 application to 2.1. It builds and deploys fine, but I get the above error when trying to start it from my local web server (IIS). I also get the same error when launching it from Azure. The error log gives me the fo

HTTP Error 502.5 - Process failed in ASP.NET Core 2.1 application

DomBurf I just upgraded our ASP.NET Core 2.0 application to 2.1. It builds and deploys fine, but I get the above error when trying to start it from my local web server (IIS). I also get the same error when launching it from Azure. The error log gives me the fo

HTTP Error 502.5 - Process failed in ASP.NET Core 2.1 application

DomBurf I just upgraded our ASP.NET Core 2.0 application to 2.1. It builds and deploys fine, but I get the above error when trying to start it from my local web server (IIS). I also get the same error when launching it from Azure. The error log gives me the fo

HTTP Error 502.5 - Process failed in ASP.NET Core 2.1 application

DomBurf I just upgraded our ASP.NET Core 2.0 application to 2.1. It builds and deploys fine, but I get the above error when trying to start it from my local web server (IIS). I also get the same error when launching it from Azure. The error log gives me the fo