I have 2 services defined in my solution: GetService, PutService.
I have added an installer for each service, and when I run the install - they both show up in the Service Manager.
I am able to control GetService without any issue. However, when I attempt to start PutService I am getting the 1083 error.
In the main section of the program, I've ensured that both Services are declared:
static void Main()
{
ServiceBase[] ServicesToRun;
ServicesToRun = new ServiceBase[]{
new GetService(),
new PutService()
};
ServiceBase.Run(ServicesToRun);
}
When the line new PutService()
is executed, I can trace through the constructor for the PutService class.
But when the line ServiceBase.Run(ServicesToRun);
executes, the system throws the 1083 error and the debugger just stops. I never hit the PutService.Onstart()
method.
The exact syntax of the error is:
Error 1083: The executable program that this service is configured to run in does not implement the service.
I'm a relative newbie - so any/all help is very much greatly appreciated.