I faced an error "Application '/LM/W3SVC/2/ROOT' with physical root '######' failed to load coreclr." after upgrading my site to DotNet 6
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.
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.