Reputation: 489
I am not able to run any application from Visual Studio 2013, It throws Process with an id of "xxxx" is not running message. I have used telerik also. I tried all solutions from internet (except reinstall visual studio), nothing helped me, Please help, Thank you.
Ps: WebForm base.
Upvotes: 8
Views: 15747
Reputation: 1668
For me, using Visual Studio 2017, the tags mentioned in ali abid's answer were located in the csproj.user file.
However removing these tags did no solve my problem. For me, I had set up a virtual directory in the project properties with a low (9500) port number. I think some other process decided to use that port and was blocking my IIS Express from starting.
The solution was to edit the project properties, update Web --> Project Url to use a new port, and create a virtual directory.
Upvotes: 1
Reputation: 8253
I got the same problem and I found a great way to cope this problem as following
1.Open your project file:
*.csproj
2.Try to find the lines shown below (by finding "DevelopmentServerPort" in your project file).<DevelopmentServerPort>62140</DevelopmentServerPort> <DevelopmentServerVPath></DevelopmentServerVPath> <IISUrl>http://localhost:62116/</IISUrl>
3.When found, delete the below tags from your project file:
4.Save and close the file. If you had your project opened, you may be prompted to reload the project.
full reference URL
Upvotes: 3
Reputation: 1152
I got same issue and explore project directory and remove this .vs hidden folder. If you cannot see this folder, go to your folder option, show all files and then remove this folder.
Close project and then clean and build then enter F5.
Upvotes: 0
Reputation: 4085
Unload Project
Edit PROJECT_NAME.csproj
Find the code below and delete it
<DevelopmentServerPort>63366</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:63366/</IISUrl>
Save and close the file
Upvotes: 22
Reputation: 176
I tried the first error and that didn't help me. However What did work for me was to delete the hidden ".vs" folder which is at the solution root. You'll have to close down visual studio, delete the folder, reopen the solution and Visual Studio will create a new "correct" instance of the folder.
Upvotes: 0
Reputation: 4631
The only think that worked for me was restartying Visual Studio completely.
I tried in vain to kill all suspended vstest.executionengine.exe processes and the vstest.discoiveryengine.exe using Process Explorer.
Upvotes: 0
Reputation: 8664
Only unloading and reloading the startup project fixed this, I needed no other steps actually.
Upvotes: 0
Reputation: 707
I had the same problem and the solution was pretty simple.
You may need to restart your machine. Don't delete any of the csproj file settings.
Upvotes: 3
Reputation: 8959
I had this problem and solutions found online did not help. Here is what worked for me:
When the problem occurs...
In my case, an error popped because the chosen port was already used. This means, you have to select a new port. For some reason, the chosen port is sometimes taken and sometimes free.
To select a new port, right click on your projet then Properties
. In the Web
tab, change the port in the Project URL
filed.
You should avoid using a port from 0 to 1024. Select a funky number like: 12321 or 23432 which is high enough an easy to remember.
Upvotes: 1