I have a problem when i wanna run a service from my COM object
My code is:
System.ServiceProcess.ServiceController sc = new
System.ServiceProcess.ServiceController("ClosetalkFlashPump",
Environment.MachineName);
sc.ExecuteCommand(128);
and I get this error:
Cannot open ClosetalkFlashConverter service on computer '.'.
System.ServiceProcess
at System.ServiceProcess.ServiceController.GetServiceHandle(Int32
desiredAccess)
at System.ServiceProcess.ServiceController.ExecuteCommand(Int32 command)
My COM object is in 64x and my service is in 32x (it must be in 32x)
I´m running in windows 2008. All of it works fine in windows 7
Can you please help me. I have working on it in 2 weeks and no progress
Kind Regards
Mehran