.NETGURU
Running Multiple instances of an NT Service
Messages   Related Types
This message was discovered on ASPFriends.com 'ngfx-services' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

PatrickL
I have created under VB .NET a NT Service Application. I got it compilied
and installed on my machine.

However, potentially I would need multiple instances of such services
running/started. What is the best way to do it other than repeating the
following process with the NT Service project I have already
1) Rename the service name
2) Rename the service name in the installer component
3) Re compile
4) Install 'new' instance of service.

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

Reply to this message...
 
    
Douglas Reilly (VIP)
In the service control manager, you can set a parameter that would =
control the name of each instance of the service. That would be the =
cleanest way.

----- Original Message -----
From: "PatrickL" <Click here to reveal e-mail address>
To: Click here to reveal e-mail address
Sent: Wed, 24 Apr 2002 15:47:08 +0100
Subject: Running Multiple instances of an NT Service
[Original message clipped]

information and/or be subject to legal privilege. It should not be =
copied, disclosed to, retained or used by, any other party. If you are =
not an intended recipient then please promptly delete this e-mail and =
any attachment and all copies and inform the sender. Thank you.
>

Reply to this message...
 
    
Douglas Reilly (VIP)
One clarification would be that you would have the program read the =
parameter and from there you would programatically set the name of the =
service...

----- Original Message -----
From: "Douglas Reilly" <Click here to reveal e-mail address>
To: Click here to reveal e-mail address
Sent: Wed, 24 Apr 2002 16:08:52 -0400
Subject: Re: Running Multiple instances of an NT Service
[Original message clipped]

cleanest way.
[Original message clipped]

To: Click here to reveal e-mail address
Sent: Wed, 24 Apr 2002 15:47:08 +0100
Subject: Running Multiple instances of an NT Service
[Original message clipped]

information and/or be subject to legal privilege. It should not be =
copied, disclosed to, retained or used by, any other party. If you are =
not an intended recipient then please promptly delete this e-mail and =
any attachment and all copies and inform the sender. Thank you.
[Original message clipped]

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification