multiple instaces of C# windows servie

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?dGFzbGVlbQ==?=

    multiple instaces of C# windows servie

    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.
  • Ignacio Machin \( .NET/ C# MVP \)

    #2
    Re: multiple instaces of C# windows servie

    Hi,

    "tasleem" <tasleem@discus sions.microsoft .comwrote in message
    news:6F850CFB-094A-4133-83FC-D50AEC55986A@mi crosoft.com...
    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.

    Comment

    • =?Utf-8?B?dGFzbGVlbQ==?=

      #3
      Re: multiple instaces of C# windows servie

      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..

      "Ignacio Machin ( .NET/ C# MVP )" wrote:
      Hi,
      >
      "tasleem" <tasleem@discus sions.microsoft .comwrote in message
      news:6F850CFB-094A-4133-83FC-D50AEC55986A@mi crosoft.com...
      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.
      >
      >

      Comment

      • =?Utf-8?B?dGFzbGVlbQ==?=

        #4
        RE: multiple instaces of C# windows servie

        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.

        "tasleem" wrote:
        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.

        Comment

        Working...