Trouble attaching to Windows Service process

  • Thread starter Thread starter Rico
  • Start date Start date
R

Rico

Hello,

I have a windows service that I have created in VB 2005. I have it
installed, and running, but it's not functioning correctly. When I try to
"Attach to process", my service is greyed out in the list and I cannot
attach to it. Any idea why? Any help would be greatly appreicated.

Thank you,

Rick
 
Sounds like its running with a different set of credentials other than what
VS2005 is running under.

You migth want to try WMI to get the process handle and attach to that.
 
Hello,

I have a windows service that I have created in VB 2005. I have it
installed, and running, but it's not functioning correctly. When I try to
"Attach to process", my service is greyed out in the list and I cannot
attach to it. Any idea why? Any help would be greatly appreicated.

Thank you,

Rick

What is the exact name of the service that is greyed out? We had a
similar issue here and it turned out that we were trying to attach to
a process called: Myservice.vhost.exe. That one was greyed out.

Make sure on the attach to process dialog that you click the check box
marked show processes for all users and see if that helps.

Chris
 
Thanks All,

I'm not sure exactly what happened, but viewing all users and all processes
exposed a second instance. I think I may have been trying to attach to an
instance that had run aground after throwing an exception.

Thanks for your help!

Rick
 
Back
Top