'Running ASP.NET application shows error 500 but .NET CORE runs well

All ASP.NET projects fails to run on my system, it throws HTTP Error 500.0 - Internal Server Error. But all my .NET CORE projects runs fine. What could be the issue? Kindly find screenshot below:

enter image description here



Solution 1:[1]

Sounds like you have mixed applications in your App Pool.

Try creating a new application pool for the app - and ensure it is set to the correct settings. You may have a .Net2 and .Net4 application with same legacy app pool.

If that doesn't work - post your app pool settings

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Milney