We all know that .Net Core has been announced so people started implementing with .Net core.
One exception which people are getting while frequently while deploying .Net Core application(created by Visual Studio 2017) on IIS is as below:
Application ‘<IIS path>’ with physical root ‘<Application path>’ failed to start process with commandline ‘”dotnet” .\MyApp.dll’, ErrorCode = ‘0x80004005 : 80008083.
Reason of the exception?
This exception comes when runtime required is not deployed on the server and web application was lately moved to Visual Studio 2017. Because VS2017 RC is shipped with the new version of .NET Core SDK and your server has some other .net version than Core.
Meaning of error code:
- 0x80008083 – code for version conflict.
- 0x80004005 – file is missing or cannot be accessed
So the error means a different version of dotnet needs to be installed on the server.
.Net Core 1.0 needs to be installed on the server.
Steps are as below:
- Stop IIS
- Install .Net core 1.0 on the server which you can find here.
- Start IIS again
Above error will not come after this.
I have explained for .Net Core 1.0 but it depends on the version. For example, if you are deploying .Net Core 2.0 then need to install the sdk accordingly.
Hope it helps.