ASP.NET Core and IIS: 502.5 Process Failure 0x80004005 : 80008083

When running ASP.NET Core on IIS one may get weird error Application ‘<IIS PATH>’ with physical root ‘<PATH TO APPLICATION>’ failed to start process with commandline ‘”dotnet” .\MyApp.dll’, ErrorCode = ‘0x80004005 : 80008083. Here is one and most probable solution for this issue.

It usually comes down to fact that runtime needed for web application is not available on server. Error codes in message have the following meaning:

  • 0x80004005 – file is missing or cannot be accessed,
  • 0x80008083 – code for version conflict.

If web application was lately moved to Visual Studio 2017 then .NET Core 1.0.4 & 1.1.1 SDK 1.0.1 is needed on server. Stop IIS, install SDK and start IIS again. Now application should start with no error 0x80008083.

Gunnar Peipman

Gunnar Peipman is ASP.NET, Azure and SharePoint fan, Estonian Microsoft user group leader, blogger, conference speaker, teacher, and tech maniac. Since 2008 he is Microsoft MVP specialized on ASP.NET.

    2 thoughts on “ASP.NET Core and IIS: 502.5 Process Failure 0x80004005 : 80008083

    • Pingback:The Morning Brew - Chris Alcock » The Morning Brew #2432

    • February 19, 2020 at 4:15 pm
      Permalink

      I am facing same issue with our one of application. We had existing azure agent that was got offline, it was not waking up. So we created new azure agent. But after deployment with .net core API we are facing issue of 502.5. I have matched the the version of azure agent machine. azure agent machine version is 2.2.103 and our production IIS server dotnet.exe version is 2.2.103 .

    Leave a Reply

    Your email address will not be published. Required fields are marked *