Access Violation in COMSVCS!CSecurityCallCtx When You Access COM+ Objects Inside Class_Terminate

Article ID: 312618 - View products that this article applies to.
This article was previously published under Q312618
Expand all | Collapse all

SYMPTOMS

When you access other COM+ objects in the Class_Terminate event of one component in a complex Microsoft Visual Basic COM+ application with multiple components, you receive an access violation inside COMSVCS!CSecurityCallCtx when the calling component is stopped.

CAUSE

The behavior occurs because the security context is not available inside the Class_Terminate event. The COM+ component's object context lifetime is controlled by the IObjectControl::Activate and IObjectControl::Deactivate methods.

RESOLUTION

To resolve this issue, obtain Microsoft COM+ Rollup Hotfix 18 or Windows 2000 Service Pack 3.

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
313582 INFO: Availability of Windows 2000 Post-Service Pack 2 COM+ Hotfix Rollup Package 18.1
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.

MORE INFORMATION

For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:
265173 The Datacenter Program and Windows 2000 Datacenter Server Product
For additional information about how to install multiple hotfixes with only one reboot, click the article number below to view the article in the Microsoft Knowledge Base:
296861 Use QChain.exe to Install Multiple Hotfixes with Only One Reboot
For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base:
249149 Installing Microsoft Windows 2000 and Windows 2000 Hotfixes

Properties

Article ID: 312618 - Last Review: February 21, 2007 - Revision: 3.1
APPLIES TO
  • Microsoft Windows 2000 Service Pack 1
  • Microsoft Windows 2000 Service Pack 2
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Service Pack 1
  • Microsoft Windows 2000 Service Pack 2
Keywords: 
kbbug kbfix kbwin2000sp3fix kbsecurity KB312618

Give Feedback