ASP.NET Core 1.0 on IIS error 502.5 – Error Code 0x80004005

I was able to fix it by running

“C:\Program Files\dotnet\dotnet.exe” “C:\fullpath\PROJECT.dll”

on the command prompt, which gave me a much more meaningful error:

“The specified framework ‘Microsoft.NETCore.App’, version ‘1.0.1’ was
not found.
– Check application dependencies and target a framework version installed at:
C:\Program Files\dotnet\shared\Microsoft.NETCore.App
– The following versions are installed:
1.0.0
– Alternatively, install the framework version ‘1.0.1’.

As you can see, I had the wrong NET Core version installed on my server. I was able to run my application after uninstalling the previous version 1.0.0 and installing the correct version 1.0.1.

Leave a Comment