Article ID: 275441 - Last Review: February 12, 2007 - Revision: 2.2

FIX: ObjectContext Item Collection Is Empty When You Debug Under COM+

This article was previously published under Q275441

On This Page

Expand all | Collapse all

SYMPTOMS

When you debug ActiveX dynamic-link library files (DLLs) in Microsoft Visual Basic 6.0 that contain COM+ components (when the MTSTransactionMode property is set to a value other than "NotAnMTSObject"), the ObjectContext.Item collection is empty.

RESOLUTION

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  (http://support.microsoft.com/kb/260910/EN-US/ ) 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 2.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Start the Visual Basic debug session using the Wait for components to be created setting.
  2. Call the components from an Active Server Pages (ASP) page. Notice that the ASP intrinsics that should be available through the ObjectContext object are absent.

APPLIES TO
  • Microsoft Windows 2000 Server SP1
  • Microsoft COM+ 1.0
Keywords: 
kbbug kbfix kbwin2000presp2fix KB275441
 

Article Translations