Unable to start process dotnet.exe

2019-01-18 07:56发布

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?

22条回答
手持菜刀,她持情操
2楼-- · 2019-01-18 08:43

Solution for me was to close visual studio 2017, and reopen the solution. :)

查看更多
Lonely孤独者°
3楼-- · 2019-01-18 08:43

iisreset in cmd as Administrator did the work for me.

查看更多
该账号已被封号
4楼-- · 2019-01-18 08:46

The solution in my case was deleted web.config from the root of the project. I was working on an ASPnetcore project and after a week the error started. I am unsure how that web.config file got added but once I delete that their error got resolved.

查看更多
Ridiculous、
5楼-- · 2019-01-18 08:46

Visual Studio 2017 -> The fix for me was to choose the Project Name instead of IISExpress when debugging/running.

查看更多
别忘想泡老子
6楼-- · 2019-01-18 08:47

In my case I accidentally install dotnet for x86 platform when my VS 2017 have x64. I reinstall dotnet for platform x64 and it works fine now.

查看更多
成全新的幸福
7楼-- · 2019-01-18 08:48

In your startup project be sure that you have selected the option Enable Anonymous Authentication enter image description here

查看更多
登录 后发表回答