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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

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:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
madhav_ghatoleAuthor Commented:
Stated solution gave us exact steps to follow to reach the solution
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.