Unable to start process dotnet.exe

reno52491 picture reno52491 · Jul 20, 2016 · Viewed 78.4k times · Source

I am attempting to setup a new work space and transfer all of my projects from my old computer to the new one. However, I am getting this error when I try to run IIS Express:

Unable to start process C:\Program Files\dotnet\dotnet.exe. The web server request failed with status code 500.

I am working in Visual Studio 2015, update 3 and I am using .NET Core RC2. Does anyone have any idea how to fix this and get my old projects running on this new machine?

Answer

Armando Ramirez picture Armando Ramirez · Jul 21, 2016

I was having the same problem. I look for dotnet.exe in that directory and it exists but debugger cannot execute it, so i Restart Visual Studio 2015 as administrator and it works!