Hello
I have a windows service which is called Lotus Domino Server (DLotusDominodata). I can't seem to monitor this as a service but I can monitor services without () (ie System.ServiceState("Alerter")) .
Is there anyway to get around this ?
Thanks
Andy
Hi!
Are you sure that it's service name and not display name? Also, do you use quotes, like System.ServiceState("Lotus Domino Server (DLotusDominodata)") ?
Best regards,
Victor
Hi
I realise that this is an old thread, but i have just stumbled upon the same issue, i want to monitor an lotus domino server, and the service name (not display name) contains ( ) and there fore i cannnot get a service state and encapsulation the service name with "" doesn't help any ideas?
Regards
argh - sorry i had the "" at the wrong place, this offcource : System.ServiceState("Lotus Domino Server (ProgramFilesLotusDominodata)") works just fine..
sorry