HTTP Status 500 on debugging ASP.NET Core with Visual Studio 2017

HTTP Status 500 on debugging ASP.NET Core with Visual Studio 2017

I gave my PC a new Windows installation and run into the following error:

Unable to start process C:\Program Files\dotnet\dotnet.exe. The web server request failed with status code 500, Internal Server Error. The full response has been written to C:\Users\Ben\AppData\Local\Temp\HttpFailure.html.

It took my hours but the fix was very easy:

  • I uninstalled IIS Express via Windows' Programs and Features
  • I re-installed IIS Express 10 with the Web Platform Installer.

Error gone.