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

前端 未结 12 630
予麋鹿
予麋鹿 2020-11-30 01:41

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 Fai

12条回答
  •  一整个雨季
    2020-11-30 02:25

    For me I had to make sure I had the latest .Net Core Runtime and Windows Hosting Module installed, all of which are available from https://www.microsoft.com/net/download/windows (newest versions should always be available here).

    Specifically, I installed:

    • .Net Core Runtime - https://www.microsoft.com/net/download/thank-you/dotnet-runtime-2.0.5-windows-x64-installer
    • Windows Server Hosting Runtime - https://www.microsoft.com/net/download/thank-you/dotnet-runtime-2.0.5-windows-windows-server-hosting-installer
    • .Net Framework 4.7.1 Runtime - https://www.microsoft.com/net/download/thank-you/net471

    The full .Net Framework 4.7.1 runtime might not be needed if you truly do only host .Net Core apps on your server, but I installed it to be safe.

提交回复
热议问题