service startup order?

Posted on 2009-04-27
Last Modified: 2012-06-27
On Windows XP Pro  I am running MS SQL Server 2005 Express.  I also have custom C++ application which runs as a service.

I have several computers setup like this. The problem is that some of them, on startup, are trying to load my C++ service before SQL Server services startup.

How can I reorder them?
Question by:PMH4514
    LVL 16

    Accepted Solution

    Set a dependecy on the C++ Service to depend on the MySQL service.
    Google on how to set dependecies.

    Author Comment

    ok I'll check it out.. thanks

    Author Comment

    perfect! I set the dependencies on and then temporarily disabled all of the SQL Server services and rebooted. This time my agent service did not load, as the dependent SQL Server services were not loaded.


    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

    Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
    Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    728 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

    17 Experts available now in Live!

    Get 1:1 Help Now