Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error 1083 the executable program that this service is configured to run does not implemented the service

getting error while try to start service

like image 593
Ozan BAYRAM Avatar asked Mar 03 '10 12:03

Ozan BAYRAM


3 Answers

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

happy coding

Source: http://cut.lu/cddc2c

like image 98
Ozan BAYRAM Avatar answered Nov 12 '22 15:11

Ozan BAYRAM


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.

like image 23
Raj Bhide Avatar answered Nov 12 '22 15:11

Raj Bhide


I've got same problem. My solution for this was to check the service name and service installer service name. Both must be the same.

private void InitializeComponent()
{
    components = new System.ComponentModel.Container();
    this.ServiceName = "EmailService";
}
like image 5
MacGyver Avatar answered Nov 12 '22 16:11

MacGyver