Click to See Complete Forum and Search --> : Aborting a running COM+ component


Jim Bassett
August 20th, 2001, 04:41 PM
Does anyone know how to abort a running COM+ component from another component? The problem we are having is that there is this 3rd party COM+ component that sometimes goes into never ending running mode and even if the component that created it is aborted the never-ending component continues to run. We can stop it by shutting down the app package it is in but that of course means any other running components in the same package get shut down too. We can place the component in question in it's own app package so shutting it down would not affect other components but any components in another package trying to access it get an ugly error message stating COM object was destroyed. I have looked at the COM+ admin objects but I do not see any methods that address aborting a running component. Any ideas?

bhanuprakash
August 30th, 2001, 04:42 AM
u can set the component to nothing i.e
set comp = nothing
this will stop the component running