The binding handle is invalid with Web applications in Visual Studio RTM

Hi,

When I tried to debug the Sample application with RTM, it gives the following error.


Unable to attach. The binding handle is invalid

To resolve this error I made changes in Administrative Tools
à Servicesà Terminal Services.

I had changed the properties of this service that is I had changedStartup Type asManual and started the service and after that restarted my system.


Now Debugging is working perfectly.

Hope this helpsSmile

[2155 byte] By [Swami] at [2008-1-7]
# 1
but i donot have terminal service
programmer2006 at 2007-10-2 > top of Msdn Tech,Visual Studio,Visual Studio Debugger...
# 2

Thanks mate.

You are absolutely correct, same thing happend to me. I just set the Terminal Service "Startup type" to Automatic and then it allowed me to start the service.

It worked like a charm!

Oh BTW I was using Visual Web Developer 2005 Express

Mnimonic at 2007-10-2 > top of Msdn Tech,Visual Studio,Visual Studio Debugger...
# 3
So can anybody explain why this fixed it?
senfo at 2007-10-2 > top of Msdn Tech,Visual Studio,Visual Studio Debugger...
# 4

Thanks Swami,

It works fine now.

NiC_72 at 2007-10-2 > top of Msdn Tech,Visual Studio,Visual Studio Debugger...
# 5
Why in the world would Terminal Server be necessary to debug? Anybody? This isn't just with web applications. I'm writing (I thought) a simple windows app. Same error, same solution. In my opinion, unless someone can give me a valid reason otherwise, this looks like a big, hairy, multi-legged bug.
Medezark at 2007-10-2 > top of Msdn Tech,Visual Studio,Visual Studio Debugger...
# 6

There's a dependency in the debugger on a process enumeration API. We are removing that requirement in a future version.

John

JohnCunningham-MSFT at 2007-10-2 > top of Msdn Tech,Visual Studio,Visual Studio Debugger...
# 7

I am getting this same "binding Handle is invalid" error with Visual Web Developer 2005 Express Edition installed on a Windows XP Pro machine. When I attempt to start the Terminal Services service, I get an error 1058 - the service cannot be started, either because it is disabled, or because it has no enabled devices associated with it.

I can't seem to find any solution to that issue. Any help here?

Thanks

CCalhoun at 2007-10-2 > top of Msdn Tech,Visual Studio,Visual Studio Debugger...
# 8

I get this error when I run my web application using ms visual studio 2005 on my laptop. Don't know what this has anything to do with Terminal Services, but following your directions made this error disappear. THANK YOU!!!

HamidSirat at 2007-10-2 > top of Msdn Tech,Visual Studio,Visual Studio Debugger...
# 9

Thanks,

It works for me .....

satishVSKP at 2007-10-2 > top of Msdn Tech,Visual Studio,Visual Studio Debugger...

Visual Studio

Site Classified