Windows service throws error on start...but really is why not get rid of the error

Posted on 2007-10-10
Last Modified: 2013-11-26
I have built a windows service.  I install it using InstallUtil (for .Net 2.0).  I turn the service on and I get:

Service cannot be started. The service process could not connect to the service controller

For more information, see Help and Support Center at

But the service is actually running and seems to be working fine.  I can tell that it is running and everything is going as planned.  I just want to get rid of the error for the sake of keeping the event logger clean (or dirty depending on how you look at it)  Anyone have any ideas what can cause this?

My friends at MS gave me this helpful advice:

So now I turn to you.
Question by:alpacaman
    LVL 21

    Accepted Solution

    I think you have made something wrong in programming. Maybe you can search for a small source of a service and see what exactlly must do an program to be recognised as service in Windows.

    Good luck

    LVL 1

    Author Closing Comment

    There was an issue finding a referenced DLL.  Unhelfpul error message.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
    More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now