Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem starting windows service that shuts down COM+ component

Status
Not open for further replies.

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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top