Microsoft KB Archive/312618

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

Article ID: 312618

Article Last Modified on 2/21/2007

-

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

-



This article was previously published under Q312618



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

Additional query words: kbWin2000preSP3COMRollup18Fix

Keywords: kbbug kbfix kbwin2000sp3fix kbsecurity KB312618

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.