When a client application tries to create a Microsoft COM+ component, the ObjectControl_Activate
method may not be called for a component that is written in Visual Basic. Typically, you experience this problem when you use Microsoft Visual Basic Professional Edition for Windows 6.0 to debug a component that is hosted in COM+. When this problem occurs, an error message that is similar to the following may be logged in the event log:
Event Type: Error
Event Source: COM+
Event Category: (98)
Event ID: 4822
A condition has occurred that indicates this COM+ application is in an unstable state or is not functioning correctly.
Assertion Failure: !punkToActivate
Server Application ID: GUID
Server Application Instance ID:
Server Application Name: System Application
The serious nature of this error has caused the process to terminate.
COM+ Services Internals Information:
File: c:\xpsp2\com\com1x\src\comsvcs\jit\jit.cpp, Line: 556
Comsvcs.dll file version: ENU 2001.12.4414.305 shp
For more information, see Help and Support Center at http://support.microsoft.com.
This problem occurs because marshaling of the context for the new object fails. Marshaling fails because the allocated buffer size is too small. Retry logic is implemented in the COM+ code. However, the Visual Basic 6.0 debug activator fails when the first marshaling try fails.
Hotfix rollup package information
To resolve this problem, obtain the hotfix rollup package that contains this hotfix.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
Availability of Windows XP COM+ Hotfix Rollup Package 12
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about how hotfix packages are named, click the following article number to view the article in the Microsoft Knowledge Base:
New file naming schema for Microsoft Windows software update packages
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
Description of the standard terminology that is used to describe Microsoft software updates