Microsoft Developer Network > Página Inicial dos Fóruns > Visual Studio Debugger > The binding handle is invalid with Web applications in Visual Studio RTM
Fazer uma PerguntaFazer uma Pergunta
 

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

  • quarta-feira, 16 de novembro de 2005 12:17swami2 Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    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 changed Startup Type as Manual and started the service and after that restarted my system.


    Now Debugging is working perfectly.

    Hope this helps Smile

Respostas

  • domingo, 2 de julho de 2006 5:24Mnimonic Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido

    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

Todas as Respostas

  • sábado, 13 de maio de 2006 14:22programmer 2006 Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    but i donot have terminal service
  • domingo, 2 de julho de 2006 5:24Mnimonic Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido

    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

  • quarta-feira, 26 de julho de 2006 17:40senfo Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    So can anybody explain why this fixed it?
  • terça-feira, 12 de setembro de 2006 21:52NiC_72 Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    Thanks Swami, 

    It works fine now.  

  • quinta-feira, 12 de outubro de 2006 20:26Medezark Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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.
  • sexta-feira, 3 de novembro de 2006 0:18John Cunningham - MSFTModeradorMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

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

    John

  • quarta-feira, 22 de novembro de 2006 13:38CCalhoun Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    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

  • terça-feira, 5 de junho de 2007 15:38Hamid Sirat Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    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!!!

  • quarta-feira, 1 de agosto de 2007 9:43satish VSKP Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Resposta Proposta

     Thanks,

    It works for me .....

    • Sugerido como Respostagguysinger segunda-feira, 9 de junho de 2008 19:15
    •  
  • quinta-feira, 4 de outubro de 2007 19:23kannan_poem1984 Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

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


    Unable to attach. The binding handle is invalid


    but when i searched in this forum , people told to start terminal service automatic.. so on


    but.. here in my case i cant find my terminal service in my services . what can i do. please help me


    regards


    kannan

  • quinta-feira, 4 de outubro de 2007 19:24kannan_poem1984 Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    When I tried to run the website  application in vs 2005, it gives the following error.


    Unable to attach. The binding handle is invalid


    but when i searched in this forum , people told to start terminal service automatic.. so on


    but.. here in my case i cant find my terminal service in my services . what can i do. please help me


    regards


    kannan

  • segunda-feira, 12 de novembro de 2007 2:42fieda Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    Yeah..It also haapened to me..I can't debug Visual Studio 2005..Some more I also can't find the Terminal Service in services..Is it other places that I can configure it???...

     

  • quarta-feira, 12 de dezembro de 2007 21:31Mahendra Ghedia Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Thanks buddy... its working for me...

     

  • segunda-feira, 31 de março de 2008 3:59Victor_Acosta Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    what a weird thing, terminal services for debugging, wow.  It also worked for me. Thanks.

     

  • terça-feira, 3 de junho de 2008 18:17gguysinger Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    CCalhoun, did you ever find a solution to error 1508?   I had the same experience and haven't solved it yet.
  • sexta-feira, 4 de julho de 2008 18:15tharakaw Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    fieda said:

    Yeah..It also haapened to me..I can't debug Visual Studio 2005..Some more I also can't find the Terminal Service in services..Is it other places that I can configure it???...

     Try running msconfig, and enabeling terminal services in services tab there



  • quarta-feira, 20 de agosto de 2008 6:01vijeyan Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
     Nice solutions. It is working. Great!

    Vijay
  • segunda-feira, 1 de setembro de 2008 16:22dancinmoonlit Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
     

    That works like charm buddy. Thank you.

  • quarta-feira, 22 de julho de 2009 15:48Hitesh P Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Thank you Swami2,

    This was very helpful.