Microsoft KB Archive/318231

= Event ID 4230 When You Activate COM+ Components =

Article ID: 318231

Article Last Modified on 6/5/2003

-

APPLIES TO


 * Microsoft COM+ 1.0, when used with:
 * Microsoft Windows 2000 Standard Edition

-



This article was previously published under Q318231



SYMPTOMS
When you activate COM+ components that are contained in a COM+ library application, you may receive the following internal COM+ error message in the Event Log:

Event Type: Error

Event Source: COM+

Event Category: Executive

Event ID: 4230

Date: 22/01/2002

Time: 13:57:19

User: N/A

Computer:

Description:

COM+ Internal Error. Please contact Microsoft Product Support Services to report this error.

Assertion Failure: m_pSynchronize == NULL

Server Application ID: {.....}

Server Application Name: System Application

The serious nature of this error has caused the process to terminate. COM+ Services Internals Information:

File: .\mtseventsobj.cpp, Line: 214



CAUSE
When a COM+ library or server application is started, the application must register itself with the COM+ system application. This occurs when the first COM+ component is activated.

However, a problem can occur if the same single-threaded apartment (STA) client thread activates two COM+ components in a COM+ library application. When the first component contacts the COM+ system application in an outgoing call to register itself with the COM+ system application, the call enters the STA modal loop. Because the same thread can handle a second activation request, the second component tries to contact the COM+ system application even though the first call has not yet returned. This problem occurs because the lock in the system application cannot serialize the two activation calls from the same thread.

For example, this scenario can occur when a COM EXE server that contains STA objects activates COM+ library components on the host STA.



RESOLUTION
To resolve this problem, obtain Microsoft COM+ Hotfix Rollup 20. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

319563 INFO: Availability of Windows 2000 Post-Service Pack 2 COM+ Hotfix Rollup Package 20

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 bug 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 One Reboot

Additional query words: kbIISCom kbWin2000preSP3COMRollup20Fix

Keywords: kbbug kbfix kbwin2000presp3fix kbwin2000sp3fix KB318231

-

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

© Microsoft Corporation. All rights reserved.