.net-6.0coreclr

Failed to create CoreCLR, HRESULT: 0x80004005 while running a .NET 6 Console App in Windows server


While I’m deploying .Net 6 console application into the Pseudo Server, I’m getting this error. The same runtime has been installed in the test server and it works fine.

Enabled trace to see more info about this error.

CoreCLR path = ‘C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.8\coreclr.dll’, CoreCLR dir = ‘C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.8’ Loaded library from C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.8\coreclr.dll Failed to create CoreCLR, HRESULT: 0x80004005

Could use some help to resolve this issue?


Solution

  • For anyone having this issue, I have solved this error on my computer by simply: