Error message when you try to run a Visual C# project in the Visual Studio 2005 IDE: "The binding handle is invalid" (922276)
The information in this article applies to:
- Microsoft Visual Studio 2005 Standard Edition
- Microsoft Visual Studio 2005 Professional Edition
- Microsoft Visual Studio 2005 Express Edition
- Microsoft Visual C# 2005, Express Edition
SYMPTOMSWhen you try to run a Microsoft Visual C# project in the Microsoft Visual Studio 2005 IDE, you may receive the following error message: Error while trying to run project: Unable to start debugging. The binding handle is invalid. You can run the project if you press CTRL+F5. However, the project runs outside the IDE without the debugging capability. CAUSEThis behavior occurs because the Terminal Services service is disabled. The Visual Studio 2005 debugger uses Terminal Services for process listing.RESOLUTIONTo resolve this behavior, enable the Terminal Services service, and then restart the computer. To do this, follow these steps: - Click Start, click Run, type Services.msc, and then click OK.
- Right-click Terminal Services, and then click Properties.
- In the Terminal Services Properties (Local Computer) dialog box, click Automatic in the Startup type list, and then click OK.
Note Alternatively, click Manual in the Startup type list. If you do this, you must start Terminal Services manually every time that you start the computer. - Restart the computer.
STATUS This behavior is by design.
Modification Type: | Major | Last Reviewed: | 8/11/2006 |
---|
Keywords: | kbtshoot kbprb KB922276 kbAudDeveloper |
---|
|