473,403 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Trouble attaching to Windows Service process

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
Mar 22 '07 #1
3 6057
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.

"Rico" <me@you.comwrote in message news:Q0mMh.458$6z3.370@edtnps82...
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

Mar 23 '07 #2
On Mar 21, 9:40 pm, "Rico" <m...@you.comwrote:
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

Mar 23 '07 #3
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

"Chris Dunaway" <du******@gmail.comwrote in message
news:11**********************@y66g2000hsf.googlegr oups.com...
On Mar 21, 9:40 pm, "Rico" <m...@you.comwrote:
>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

Mar 26 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Trokey | last post by:
I am having a serious problem connecting to out-of-process COM objects in my windows service application. Whenever I try to create an instance of the COM object, a second instance of the COM server...
3
by: belgiozen | last post by:
Hi, I have a working windows service,it is looking for files on the disk and when some of the files are cupdated it calls an executable. But it takes a lot of time(about 10 minutes) to run the...
7
by: Steve Long | last post by:
In writing a Windows service with .NET, I'm noticing that the process for some services can not be killed with specifically stopping the service. If you try to kill the process with, say task...
6
by: Daniel Walzenbach | last post by:
Hi, I have a web application which sometimes throws an “out of memory” exception. To get an idea what happens I traced some values using performance monitor and got the following values (for...
5
by: Andrew | last post by:
Hey all, Requesting help from the VB.Net gurus in here. I was given a task to write a Windows Service (VB.Net) that would run an external program, and if that program closed for any reason...
2
by: deko | last post by:
When to use a privileged user thread rather than a windows service? That's the question raised in a previous post . It was suggested that if the service needs to interact with a WinForms app...
4
by: Greg P | last post by:
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at...
2
by: =?Utf-8?B?dmlzaHJ1dGg=?= | last post by:
Hi, I have 2 applications running, one Windows application project and the other windows services project. I want to call my Windows application in my windows services. I want to run them as...
1
by: =?Utf-8?B?dmlzaHJ1dGg=?= | last post by:
Hi, I have 2 applications running, one Windows application project and the other windows services project. I want to call my Windows application in my windows services. I want to run them as...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.