Unable to start process dotnet.exe

前端 未结 29 1940
广开言路
广开言路 2020-12-05 22:14

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 Expres

相关标签:
29条回答
  • 2020-12-05 22:57

    I had this and it turns out I was in Release build. Changed to Debug build and it worked.

    0 讨论(0)
  • 2020-12-05 22:57

    In my case the error returned was 503, not 500. It turned out that the application pool for the web site was using an account that had the password changed. Updating the password for the application pool identity resolved the issue.

    0 讨论(0)
  • 2020-12-05 22:58

    I found the solution by reinstalling .NET CORE SDK

    0 讨论(0)
  • 2020-12-05 22:58

    In my case there was a setting in web.config and timeout was not defined properly, TFS placeholder was there instead of actual value requestTimeout="00:06:00"

    Here is what it looks like. Hope it will be helpfull

    <system.webServer>
        <handlers>
          <remove name="aspNetCore"/>
          <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
        </handlers>
        <aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" requestTimeout="00:06:00" />
        <httpRedirect enabled="false" />
      </system.webServer>
    
    0 讨论(0)
  • 2020-12-05 23:01

    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!

    0 讨论(0)
  • 2020-12-05 23:01

    This is what worked for me:

    I've had the same issue, and it turned out that I simply didn't have the right version of the runtime (1.1.0); instead I was trying to use 1.1.0 assemblies with 1.0.1 runtime.

    The resolution is simple - download and install SDK from here, but pick the right version! It turned out that if you want version 1.1.0 you should select "Current" option (button).

    Basically the problem is caused by stupid interface at the referenced page - if you don't pay attention you'll download v1.0.1 since it is "LTS" version, and "LTS" option is default there. What to say... Yet another disappointment from .NET team in this crazy-versioning, crazy-moniker, crazy-platform times...

    The quotes are from peske: https://github.com/aspnet/Home/issues/1719

    0 讨论(0)
提交回复
热议问题