Cobra Forum

Plesk Panel => Others => Topic started by: mahesh on Jan 28, 2025, 07:50 AM

Title: ASP.NET Core app doesn't work: "500.31 - Failed to load ASP.NET Core runtime"
Post by: mahesh on Jan 28, 2025, 07:50 AM
Question
ASP.NET Core app doesn't work: "500.31 - Failed to load ASP.NET Core runtime" or "502.5 - Process Failure"
Symptoms
HTTP Error 500.31 - Failed to load ASP.NET Core runtime

HTTP Error 502.5 - Process Failure

"C:\Program Files\dotnet\dotnet.exe" %plesk_vhosts%\example.com\httpdocs\mytestapp.dll
It was not possible to find any compatible framework version
The specified framework 'Microsoft.AspNetCore.App', version '2.2.0' was not found.
Cause
The application requires a runtime version that is not installed on the system.

Resolution