I faced an error "Application '/LM/W3SVC/2/ROOT' with physical root '######' failed to load coreclr." after upgrading my site to DotNet 6

Sunil Ratna Bajracharya 0 Reputation points
2023-03-14T05:55:42.0933333+00:00

I have upgrade my site from DotNet Core 2.1 to DotNet 6. It seems to work fine for couple of days. Then it started to crash in random interval of time. image001

I checked in the Event Log to find out the cause of this issue and I found the following error message. "Application '/LM/W3SVC/2/ROOT' with physical root 'C:....' failed to load coreclr. Exception message: Managed server didn't initialize after 4****** ms."

It seems to be issue with ".Net Runtime" and "IIS AspNet Core Module V2".But I have not found the solution to stop from my site getting crashed.

I have changed the AspNet Hosting model from "Inprocess" to "OutOfProcess" too But it did not work. I also added the StartUptime but it did not work either.

Windows development | Internet Information Services
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | .NET Runtime
Developer technologies | C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.