Installing a windows service on a differnt machine

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ravitunk
    New Member
    • Jun 2007
    • 88

    Installing a windows service on a differnt machine

    hello all..i have a windows service which inserts a record into a table after every 24hours....whil e creating this windows service i selected 'Localsystem' as the account type in the properties windows of 'serviceProcess Installer1'.... .this windows service is working fine after installing in my machine(where this service is actually created)....but now i want the same windows service to install on a different machine........ i could install the service successfully but its not inserting any record into the table.......ple ase help me out and tell me where am i going wrong.....thx for any kind of help..
  • Sakalicek
    New Member
    • Mar 2007
    • 51

    #2
    If the service is started there may be problem somewhere else.
    Maybe in database.

    I am using this command to install the services:
    '"%windir%\Micr osoft.NET\Frame work\v2.0.50727 \InstallUtil
    "path to exe file of Service in bin"
    @pause'

    Originally posted by ravitunk
    hello all..i have a windows service which inserts a record into a table after every 24hours....whil e creating this windows service i selected 'Localsystem' as the account type in the properties windows of 'serviceProcess Installer1'.... .this windows service is working fine after installing in my machine(where this service is actually created)....but now i want the same windows service to install on a different machine........ i could install the service successfully but its not inserting any record into the table.......ple ase help me out and tell me where am i going wrong.....thx for any kind of help..

    Comment

    • ravitunk
      New Member
      • Jun 2007
      • 88

      #3
      can u please tell me more about the command ur using.....do i need to install from the commad prompt, if so how should i do it..please tell me more in details...thx for giving me a reply....

      Originally posted by Sakalicek
      If the service is started there may be problem somewhere else.
      Maybe in database.

      I am using this command to install the services:
      '"%windir%\Micr osoft.NET\Frame work\v2.0.50727 \InstallUtil
      "path to exe file of Service in bin"
      @pause'

      Comment

      • Sakalicek
        New Member
        • Mar 2007
        • 51

        #4
        Well, I have batch file and when I am installing service on other machine, I at first copy all dll and exe for service and als config files to the specified location.
        Than I edit this batch file and run it.
        Its clear now?

        Originally posted by ravitunk
        can u please tell me more about the command ur using.....do i need to install from the commad prompt, if so how should i do it..please tell me more in details...thx for giving me a reply....

        Comment

        • Sakalicek
          New Member
          • Mar 2007
          • 51

          #5
          Was it helpfull or what?
          Do you have some other questions? :D

          Comment

          Working...