Link to home
Start Free TrialLog in
Avatar of madhav_ghatole
madhav_ghatoleFlag for India

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 )
Avatar of Mortaza Doulaty
Mortaza Doulaty
Flag of United Kingdom of Great Britain and Northern Ireland image

How do you install your service? Using installutil?
How your service in configured to start up (e.g. using system account, user credentials)?
Are you installing  this service using VS setup project?
Please provide details.
Avatar of madhav_ghatole

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.
Avatar of angus_young_acdc
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.
Create your .exe file and use instalutil.exe following way:
installutil YOUSERVICEFILE.exe -i
ASKER CERTIFIED SOLUTION
Avatar of madhav_ghatole
madhav_ghatole
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Stated solution gave us exact steps to follow to reach the solution