Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Sunday, July 5, 2020 9:09 AM
When I try to debug my web application I'm getting the error "Process With ID XXXXX is not running."
I tried few solutions I saw on the internaet but none of them worked for me.
I tried to:
- Delete the .vs folder from the project's dir
- Delete the IIS Express folder
- Delete those lines from the .csproj : <DevelopmentServerPort>0</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:53705/</IISUrl> - Add the _CSRUN_DISABLE_WORKAROUNDS to the environment variables
- Run Visual Studio as an admin
- Reboot my machine
- Change the Project URL in the debug properties
All replies (1)
Monday, July 6, 2020 2:37 AM
Hi DorsiFlexionDev,
I tried few solutions I saw on the internaet but none of them worked for me.
I tried to:
- Delete the .vs folder from the project's dir
- Delete the IIS Express folder
- Delete those lines from the .csproj : <DevelopmentServerPort>0</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:53705/</IISUrl> - Add the _CSRUN_DISABLE_WORKAROUNDS to the environment variables
- Run Visual Studio as an admin
- Reboot my machine
- Change the Project URL in the debug properties
Did you follow the steps above to solve your problem?
You can try the following way:
1.Open your project file and try to find the lines shown below (by finding "DevelopmentServerPort<developmentserverport>" in your project file).
<DevelopmentServerPort>62140</DevelopmentServerPort>
<DevelopmentServerVPath></DevelopmentServerVPath>
<IISUrl>http://localhost:62116/</IISUrl>
2.When found, delete the below tags from your project file and save and close the file. If you had your project opened, you may be prompted to reload the project.
There is another way:
- close Visual Studio
- open the folder in which your solution is
- remove the .vs folder (it may be hidden)
- restart Visual Studio
- hit F5 to start IIS Express and debug your application
Hope this can help you.
Best regards,
Sam