multiple instaces of C# windows servie

T

tasleem

hi all, i have made windows service and its working fine. but i want that
multiple instaces of that application should run. The problem is that each
windows service will have its own configuration file,supplied by the front
end of service.

i have tried to make the seperate installers of that application/service
but it removes the previous version before installing the new version, i have
changed names of service, its executable etc it version as well but noting is
working.
what i want is that my windows service have multiple instances running in
same application so that each service reads it own ini and perform tasks.
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

tasleem said:
hi all, i have made windows service and its working fine. but i want that
multiple instaces of that application should run. The problem is that each
windows service will have its own configuration file,supplied by the front
end of service.

i have tried to make the seperate installers of that application/service
but it removes the previous version before installing the new version, i
have
changed names of service, its executable etc it version as well but noting
is
working.
what i want is that my windows service have multiple instances running in
same application so that each service reads it own ini and perform tasks.


Take a look in the archives, an approach for this has been posted before.
 
T

tasleem

thanks for ur quick answer, i was able to solve to my own i added the new
installer and changed the name and display name of service and it worked..
 
T

tasleem

by the way how to view archives i have used search for text box and perform
search but no results were shown. or archives is some thing else.
 

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

Top