Vidha,
> Please direct me to an appropriate newsgroup if this is
> not the right place for my question.
>
> I installed a .NET application (servicedcomponents) in
> COM+. The component is setup for object pooling (min 2,
> max 5). I get the following error after making a few
> calls to the COM+ component. Initial few calls are
> successful. I am not sure what I need to do to prevent
> this.
>
> ExceptionType:COMException
> HRESULT: -2147164124
> Description:COM+ activation failed because the activation
> could not be completed in the specified amount of time.
Sounds like you're not properly releasing objects (by disposing them or
calling ServicedComponent). This is critical with pooled components, because
if you max out the number of object instances, then further activations will
wait until at least one of them is released or untilk a given timeout (which
is what's happening to you, form what it looks like).
One easy way to diagnose this is to enable events and statistics on the
component (by using the EventTrackingEnabled attribute or setting the option
in the COM+ component services MMC snapin, and then see how activations are
behaving.
--
Tomas Restrepo
(E-Mail Removed)