Search code examples
asp.net-core-2.0asp.net-core-2.1angular4-router

An error occurred attempting to determine the process id of dotnet.exe which is hosting your application.A task was canceled


When I try to startup my project w/ IIS Express I get the error:

enter image description here


Solution

  • VS 2017

    • Project Properties
    • Debug
    • Launch Browser //http://localhost:5000 or whatever
    • Uncheck Enable SSL
    • App Url //http://localhost:5000 or whatever. make sure same with Launch Browser url
    • Save and Close
    • Open launchsettings.Json under Properties (Solution Explorer)
    • Make sure old settings is deleted. If not delete it.
    • Save and Close.

    Hope it helps