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é
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top