madhav_ghatole
asked on
Windows service error
We created a simple windows service in C# using Visual Studio 2005, .NET framework 2.0. The purpose of the service is to continuously check whether program X is running, if not launch X. This service had always worked well on XP machine as well as Windows 2003 server. Recently we converted the project in Visual Studio 2010 & .NET framework 2.0. After conversion, when installed on XP machine it does not show up in the list of services (under control panel >>> Administrative tools >>> Services )
Are you installing this service using VS setup project?
Please provide details.
Please provide details.
ASKER
we are installing service with .msi executable created using Visual Studio 2010 setup project.
service is configured for local system account to start up.
service is configured for local system account to start up.
Has it definately installed? Have you checked your install directory that it has appeared? If your MSI is to deploy without interaction then its possible the installation failed.
Try installing from the .exe using installutil, if that works then the issue is with your MSI file so you should check any custom actions that you've implemented.
Try installing from the .exe using installutil, if that works then the issue is with your MSI file so you should check any custom actions that you've implemented.
Create your .exe file and use instalutil.exe following way:
installutil YOUSERVICEFILE.exe -i
installutil YOUSERVICEFILE.exe -i
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Stated solution gave us exact steps to follow to reach the solution
How your service in configured to start up (e.g. using system account, user credentials)?