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
2023-09-06T19:27:22.81+00:00

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!

Liz

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,504 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2023-09-08T21:14:23.7+00:00

    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 (SqlWork.com) 63,916 Reputation points
    2023-09-14T15:56:52.7633333+00:00

    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 asp.net core 1.0.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.