Windows Service Installed but not listed
-
I've built a fairly simple windows service and tried installing it on my local machine via both installutil.exe as well as a setup/deployment project. Both types of installation indicate a successful install, however, the service is not listed in the list of services on my machine. I've searched Google, etc to no avail....any tips or things I should be looking for? Thanks a million, Brent
"Half this game is ninety percent mental." - Yogi Berra If you can read thank a teacher, if you can read in English, thank a Marine.
-
I've built a fairly simple windows service and tried installing it on my local machine via both installutil.exe as well as a setup/deployment project. Both types of installation indicate a successful install, however, the service is not listed in the list of services on my machine. I've searched Google, etc to no avail....any tips or things I should be looking for? Thanks a million, Brent
"Half this game is ninety percent mental." - Yogi Berra If you can read thank a teacher, if you can read in English, thank a Marine.
I would guess that perhaps you are looking for the wrong name. The only other option is that installutil was not successful in installing the service. On your ServiceInstaller there is a SErviceName ServiceInstaller.ServiceName This must have the name of your service for it to show up. Here is an article I wrote that has some sort code with a window service in it. http://www.codeproject.com/dotnet/OpenFiles.asp[^] Hope that helps. Ben