The main cause for this error is somehow Asp.Net core worked process is not starting properly. You might notice logs file are empty. So we will see how to solve this issue.
So first of all we have to make sure that you have installed .Net core 2.2 sdk and runtime in your system.We will be needing Asp.Net core Module v2 so we will install .Net core sdk.
check out this link Download .NET Core 2.2 choose Asp.Net core 2.2.8 sdk and download.
Use this command on command prompt to check if all runtimes are installed correctly or not.
Output must be
Microsoft.AspNetCore.All 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Now the most important part is
Restart your system:-
Now After restarting your system you can check . Your issue will be solved.
If the issue remains:-
- you can check your if your application pool identity has whole permissions. Just change application pool identity to local system so it can have complete permissions.
- Make sure Enable 32 bit application option is set to true in application pool identity in IIS.