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 )
madhav_ghatoleAsked:
Who is Participating?
 
madhav_ghatoleConnect With a Mentor Author Commented:
We found solution to our problem at following URL.
Following steps suggested by URL led us to the solution.

How to create a setup project for a Windows Service application in Visual C#
URL - http://support.microsoft.com/kb/816169 

Thank you.
0
 
Mortaza DoulatyCommented:
How do you install your service? Using installutil?
How your service in configured to start up (e.g. using system account, user credentials)?
0
 
Asim NazirCommented:
Are you installing  this service using VS setup project?
Please provide details.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
madhav_ghatoleAuthor Commented:
we are installing service with .msi executable created using Visual Studio 2010 setup project.
service is configured for local system account to start up.
0
 
angus_young_acdcCommented:
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.
0
 
Mortaza DoulatyCommented:
Create your .exe file and use instalutil.exe following way:
installutil YOUSERVICEFILE.exe -i
0
 
madhav_ghatoleAuthor Commented:
Stated solution gave us exact steps to follow to reach the solution
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.