Services Start up Order

  • Thread starter Thread starter Dinesh Eswaran
  • Start date Start date
D

Dinesh Eswaran

Hi,

I need to make sure that my windows service (written using C#/.NET
classes) starts up *AFTER* IIS.

How can I go about doing this?

Thanks
Dinesh
 
In the projectInstaller class, locate the line where you have
ServicesDependOn and add the IIS.
Below is an example for SQLServer and MSMQ.



this.serviceInstaller1.ServicesDependedOn = new string[] {
"MSSQLSERVER",
"MSMQ"};


José
 
Back
Top