Discussion:
COM+ Application does not start on Reboot
(too old to reply)
Andrew
2004-12-02 21:13:11 UTC
Permalink
I have a COM+ application that our developers wrote that will not start up
when we reboot the server. We have to go into the Components Services and
manually restart the application after reboot. Then all is well.

Do I need to do something to have this start on system startup?

We are running Windows 2000 Standard Server, SP4.

Thank you,
Brian Muth
2004-12-02 21:44:18 UTC
Permalink
Typically the COM+ applications don't start after a reboot. They start
(individually) with the first call to one of the components. If not, you
will get an error message of some sort. If this is the case, what is the
error code? Have you looked in the event log?

Brian
Post by Andrew
I have a COM+ application that our developers wrote that will not start up
when we reboot the server. We have to go into the Components Services and
manually restart the application after reboot. Then all is well.
Do I need to do something to have this start on system startup?
We are running Windows 2000 Standard Server, SP4.
Thank you,
Andrew
2004-12-03 15:25:04 UTC
Permalink
Brian,

Thanks for the response. Here is what I see - A user hits our website (sec.
log ID - 540) That attempts to launch our com+ object under the issigned
identity (sec. log ID - 528).

From there the application log give me this.

Event Type: Error
Event Source: DCOM
Event Category: None
Event ID: 10002
Date: 12/2/2004
Time: 8:06:58 AM
User: S-1-5-21-XXXXXXXXXXXXXXXXXXXXXXXX
Computer: CHERRY
Description:
Access denied attempting to launch a DCOM Server. The server is:
{0C0XXXXX-30C9-11D0-8F20-00XXXXXXXXXX}
The user is XAdmin/ABC, SID=S-1-5-21-XXXXXXXXXXXXXXXXXXXXXXXX.

I have checked the password and the account to validate it is now wrong or
locked out. And when I right click the COM+ object and select START, all is
fine. Until the next reboot.
Post by Brian Muth
Typically the COM+ applications don't start after a reboot. They start
(individually) with the first call to one of the components. If not, you
will get an error message of some sort. If this is the case, what is the
error code? Have you looked in the event log?
Brian
Post by Andrew
I have a COM+ application that our developers wrote that will not start up
when we reboot the server. We have to go into the Components Services and
manually restart the application after reboot. Then all is well.
Do I need to do something to have this start on system startup?
We are running Windows 2000 Standard Server, SP4.
Thank you,
Ashok K Kumar
2004-12-03 18:27:37 UTC
Permalink
Post by Andrew
Do I need to do something to have this start on system startup?
In Windows 2000, you dont have much of a choice other than to write a
Windows Service which will start the COM+ Application or a script (vb) to
run whenever the system is started.

In windows XP and Windows 2003, you have an option to convert the COM+
application in to a Service.

HTH
--
_____________________
Ashok K Kumar
ashokkal at gmail dot com
Loading...