HTTP Error 500.30 - ASP.NET Core 5 app failed to start
There may be a few reasons behind the error which you can only identify by debugging. You can try to debug this error using the steps below:
- Navigate to the root directory of the application using CMD
- Run the application using the command
dotnet run (yourApplicationName).dll
If there are any errors, they should appear in the output.
Alternatively, you can check "Event Viewer" (search Event Viewer using Windows search) and navigate to
- Windows Logs
- Application
Update:
dotnet (yourApplicationName).dll
and check http://localhost:5000/ for error
open Windows Event Viewer, find the error message and click it, open the Detail tab, you will see the exception.
Go there, and try to manually start your project... i.e.