I have an service that tries to connect to a MSSQL DB on startup, but when I start the computer it throws an error becouse it's not able to connect to the DB. This happens becouse the specific DB was not started by the MSSQL Service yet, even though my service has a dependecy set for the MSSQL Service.
What can I do? Any solutions?
I could add a delay to my service of let's say 5 minutes, but that would be the last solution I would use as it's not a proper one from my point of view.
LE : Forgot to say, it must work on windows XP SP3, I've tried with auto-delay but it won't work.