App stopped working on 9/1/2023 with Event Log: 'failed to start process with commandline 'dotnet .\MyApp.dll' ErrorCode = '0x80004005'

Liz Walls 10 Reputation points

Hi there,

We had a software app developed back in 2017 that suddenly stopped working a few days ago. I viewed the Application Event Logs and, on 9/1/2023, errors started getting logged which state the following:

Application 'MACHINE/WEBROOT/APPHOST/MYAPP' with physical root 'C:\home\site\wwwroot' failed to start process with commandline 'dotnet .\MyApp.dll', ErrorCode = '0x80004005' : 80008096.

I checked the nuget packages and saw that they are all deprecated. These packages include:

Microsoft.AspNetCore v1.1.0 and Microsoft.NETCore.App v1.1.2

There are updates available for all deprecated packages except for Microsoft.NETCore.App.

Can anyone tell me a possible reason why the app suddenly stop working? Are the deprecated packages to blame?

Any advice or guidance would be greatly appreciate!


A set of technologies in the .NET Framework for building web applications and XML web services.
3,576 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Chris B! 91 Reputation points

    You should, under the console, run the following command to see what versions of .net are available in your environment - it's possible that .net core 1.X has been removed since this hit EOL in June 2019.

    dotnet --info

    You'll need to recompile your app to target a version of the .net core sdk that appears in that list.

    0 comments No comments

  2. Bruce ( 44,621 Reputation points

    as you are running an unsupported runtime, which seems to not be installed on the server anymore, you could try deploying a self contained build, where the runtime is included in the build.

    note: net 6 is the oldest supported runtime. There have been a few changes since core 1.0.