windows service error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mary

    windows service error

    I created a windows service, it compiled and installed and started without error on my own (winXP) machine
    On any other machine, it installs without error, but I get "Error 193: 0xc1 Could not start service on local computer" when I try to start it. The service compiles to a dll

    I've tried installling it to run on a Local System, User, NetworkService, LocalService, to no avail

    Any ideas


  • Jason

    #2
    RE: windows service error

    Did you include the Service Installer Component in your project?

    Comment

    • mary

      #3
      RE: windows service error

      I just changed the service project's Output Type from "Class Library" to "Windows Application" and it fixed the problem...at least what I've tested so far. I'm wondering why the default was Class Library, which didn't work, and what the correct output type should really be...time for some reading.

      If anyone can shed some light on this subject I'd appreciate it! :


      Comment

      Working...