Unable to start process dotnet.exe

前端 未结 29 1939
广开言路
广开言路 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 23:09

    this is an answer to an issue slightly different to what OP has posted. If the error message has just "dotnet.exe", not the full path of dotnet.exe("C:\ProgramFiles\DotNet\dotnet.exe"), then check if the dotnet.exe is in System.Environment path, if not add it and run VS as an admin

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

    looks like you don't have <appSettings> tag in your web.config. If you add that you will be able to resolve this problem.

    For Example :

    <appSettings>
    <add key="TestKey" value="TestValue"/>
    

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

    It is caused by a wrong Path in applicationhost.config file, this file you can find inside your project folder. Go to your project folder. There you will find a .vs named folder, if you can not find it then in folder open You have to Uncheck Hidden folder. Once you have found it navigate to config folder there you find applicationhost.config. Open this file in notepad and provide your project location like that:-

    <virtualDirectory path="/" physicalPath="c:\users\*****\documents\visual studio 2015\Projects\<ProjectFolderName>\<Projectname>" />

    Hope this will help you.

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

    iisreset in cmd as Administrator did the work for me.

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

    In my case I have a few projects in one solution and none of them has been set up as startup project.

    So, just right-click on project (not solution!) as choose Set as StartUp Project.

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