nastoski
Technical User
- Oct 21, 2003
- 21
Hi all,
I have one problem..I have made a windows service that can read Application log and notify me via SMS about specific error..That works just fine. Then I tried to upgrade the application in a way that when error occure the application would automaticaly shutdown specific COM+ componet that coused the error. (I have add InteropCOMAdmin.dll reference)
using COMAdmin;
private string[] comApps;
private COMAdminCatalogClass catalog;
foreach (string app in this.comApps)
this.catalog.ShutdownApplication(app);
When I created a setup project two additional dll were included.
InteropAdmin.dll
comadmin.dll
I tried the service on my local machine(XP) and on Windows Server 2000.Everything worked fine, but when I tried to run it on a Windows Server 2003 following error occured:
"Could not start service on Local Computer
Error 1053: the service did not respond to the start or control request in a timely fashion."
I have the administrator permission over the machine.
Can someone give me the suggestion what might be a problem?
Thanks in advance.
Igor!
I have one problem..I have made a windows service that can read Application log and notify me via SMS about specific error..That works just fine. Then I tried to upgrade the application in a way that when error occure the application would automaticaly shutdown specific COM+ componet that coused the error. (I have add InteropCOMAdmin.dll reference)
using COMAdmin;
private string[] comApps;
private COMAdminCatalogClass catalog;
foreach (string app in this.comApps)
this.catalog.ShutdownApplication(app);
When I created a setup project two additional dll were included.
InteropAdmin.dll
comadmin.dll
I tried the service on my local machine(XP) and on Windows Server 2000.Everything worked fine, but when I tried to run it on a Windows Server 2003 following error occured:
"Could not start service on Local Computer
Error 1053: the service did not respond to the start or control request in a timely fashion."
I have the administrator permission over the machine.
Can someone give me the suggestion what might be a problem?
Thanks in advance.
Igor!