question:
During the development process using Visual Studio 2005 or 2008 integrated development tools, I pressed "F5" on the developed program to try to compile and run it. At this time, the VS development tool suddenly popped up the error message "Unable to start debugging. The binding handle is invalid". At first, I thought that the VS development tool had been installed for too long, and something went wrong as I got older. I tried it for a long time based on my own experience, and then pressed "F5" and still got the same error. I was speechless and had no choice (because I was too lazy). (I thought reinstalling was too troublesome), so I asked the "Google Master" for advice. As expected, I found a solution;
Solution:
1. Check whether the "Terminal Services" service in the local machine is turned on. The function of this service is to "allow users to connect to remote computers interactively. Remote desktop, fast user switching, remote assistance and terminal servers rely on this service - Stopping or disabling this service can make your computer unreliable. To prevent remote use of this computer, clear the check box on the Remote tab on the System Properties control panel item.
2. If it is not turned on, you can click "Control Panel-->Administrative Tools-->Services-->Terminal Services", double-click the service or right-click properties, turn on the service and set the service type to "Automatic";
3. Confirm and close the window
After completing the above steps, go back to the developed application and press "F5" again. OK, you can run and debug, and the problem is solved;