By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,884 Members | 949 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,884 IT Pros & Developers. It's quick & easy.

windows service error

P: n/a
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
Nov 22 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Did you include the Service Installer Component in your project?
Nov 22 '05 #2

P: n/a
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! :
Nov 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.