Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET Core app unable to start in IIS due to ErrorCode = '0x80004005 : 80008083

I have a .NET Core application. It runs locally with VS2017 and Kestrel. It runs locally under IIS. However, on the server it fails to start with a 502.5 - Process Failure message.

In the event logs I get more detail:

Application '...' with physical root 'C:...\my-app-folder\' failed to start process with commandline '"dotnet" .\MyApp.dll', ErrorCode = '0x80004005 : 80008083.

Previous builds of the application work fine on the same server, the only difference being that they were published with VS2017RC (2&3) and this is the first build with the fully released VS2017.

What does ErrorCode = '0x80004005 : 80008083. mean?

How do I fix it?

like image 235
Keith Avatar asked Mar 10 '17 08:03

Keith


3 Answers

For now, there is a simple way to see what the actual error is. Open Console section from the App service, then try to run the dotnet app. From there we may get the full error message and trace info: enter image description here

like image 67
thangcao Avatar answered Nov 15 '22 10:11

thangcao


Error code: 0x80004005 means a file missing or can't be accessed.

Sub-code: 80008083 appears to be a version conflict.

This error means a different version of dotnet needs to be installed on the server.

like image 20
Keith Avatar answered Nov 15 '22 11:11

Keith


As VS2017 RC is shipped with the new version of .NET Core SDK (.NET Core 1.0.4 SDK 1.0.1), you need to update framework on server as well.

like image 20
Set Avatar answered Nov 15 '22 11:11

Set