PDA

View Full Version : Install Service With SQL Dependency



Steve Stockstill
01-15-2009, 09:48 AM
I am installing a -service- that depends on SQL Server being up and running before my service starts.

I have a manual registry hack that solves the problem but it's not the most graceful approach.

Does anyone have any experience with this?

--steve

Freshman
01-15-2009, 11:11 AM
I am installing a -service- that depends on SQL Server being up and running before my service starts.

I have a manual registry hack that solves the problem but it's not the most graceful approach.

Does anyone have any experience with this?

--steve

What about using "Create Servive" and enter a list of semicolon-separated names of services in the Dependencies field?

Carsten

Steve Stockstill
01-22-2009, 11:21 PM
I would love to do this but the SQL Server service name can be a named instance. In other words the default MSSQLSERVER is not always the service name in the case of a named instance.