views:

601

answers:

2

getting error while try to start service

+1  A: 

answer: if you are getting this error check the service name and service process installer service name. Both must be the same.

happy coding

Ozan BAYRAM
http://www.clubmicrosoft.net/blog/post/2010/03/03/Error-1083-The-executable-program-that-this-service-is-configured-to-run-in-does-not-implement-the-service.aspx
Ozan BAYRAM
+1  A: 

Also ensure that in the entry point for the exe (usually the Main procedure) an instance of the your service class (that derives from Service base is created).eg.

private static void Main() { var servicesToRun = new ServiceBase[] { new MyService1(), new MyService2() }; ServiceBase.Run(servicesToRun); }

If you do not do this, say you do not include code to create instance of MySerivce2, as above, you will get the error message above when you try to start MyService2.

Raj Bhide
+1 This was my problem. Thanks!
Gabe Moothart