Microsoft KB Archive/285147

= PRB: COM+ WSC Component Cannot Raise Error After SetAbort =

Article ID: 285147

Article Last Modified on 6/5/2003

-

APPLIES TO

 Microsoft COM+ 1.0, when used with:  Microsoft Windows 2000 Service Pack 1

 Microsoft Windows 2000 Service Pack 2 

-



This article was previously published under Q285147



SYMPTOMS
When a Windows Script Components (WSC) component is configured under COM+, COM+ controls the script component. When the script aborts a transaction and then throws an error, an access violation occurs.

This problem only occurs when JScript is the scripting language and the transaction attribute is set to Required.



CAUSE
This problem occurs because the error object that is associated or caught in the WSC exception is actually a reference to the script object itself. This design does not comply with COM+ policy, which does not allow access to a configured component once the transaction that is associated with the component has aborted.



RESOLUTION
At this time, there is no resolution for this problem. A fix will be available in a later version of Windows.

<div class="status_section">

STATUS
This behavior is by design.

<div class="references_section">