An error occurred attempting to determine the process id of dotnet.exe which is hosting your application. One or more error occured

An error occurred attempting to determine the process id of dotnet.exe which is hosting your application. One or more errors occurred.

That problem can occur when three things are true:

  1. your app is trying to run with SSL,
  2. your app does not have an SSL Certificate setup, and
  3. you are debugging your app (which is preventing SSL certificate setup).

As a quick fix attempt, run the app without debugging via Ctrl + F5 or view the app in the browser via Ctrl + Shift + W. That might install the SSL certificate for you. If it does not, consider changing your app’s launch settings from HTTPS to HTTP. If you really need SSL, you’ll have to figure out how to install and use an SSL certificate on your local machine.

Checkout out these on GitHub and StackOverflow.

Leave a Comment