Results 1 to 7 of 7

Thread: Problems with deploying a windows service

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2002
    Posts
    66

    Problems with deploying a windows service

    I created a windows service in .net using the walk through provided in the help files. I buildt the solution and installed it on my windows XP machine to test it.

    The log files say it installs successfuly, but when I check the computer managment screen I do not see the service listed. The service was setup to run automatically.

    any ideas, why it's not showing up in the list of services?
    Jason Meckley
    Database Analyst
    WITF

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Did you install it using CommandLine ? . Run Services Manager and refresh the content , it might show up there.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2002
    Posts
    66
    I now have the service installed on my box. I removed some of the installer objects the walk through suggested and it worked.

    I can now see it as a service on my machine, but it is stopped. It was set to run automatically, but it didn't. I attempted to start it manually and got an access denied error. I changed the log on account to my username and password (i have admin rights)

    Now I get
    Code:
    Error 1053: The sercie did not respond to the start or control request in a timely fashion.
    I haven't been able to find much on the net about what this means and why it's happening.
    Jason Meckley
    Database Analyst
    WITF

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    What did you set this obj ServiceProcessInstaller ? It should be LocalSystem so it would run regardless who logged in .

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Sep 2002
    Posts
    66
    i still get the 1053 error after chaning the account to local system.
    Jason Meckley
    Database Analyst
    WITF

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Sep 2002
    Posts
    66
    i still get the 1053 error after chaning the account to local system.
    Jason Meckley
    Database Analyst
    WITF

  7. #7
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I don't know what's wrong but all the steps are really easy .
    First , if you made any changes , stop the service and uninstall it . Then , reinstall it to test it out . Did you really do that ?

    Try this service demo I've created . It works fine . See what things are different from yours .
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width