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



The information in this article applies to:

  • Microsoft Windows 2000 Server SP1
  • Microsoft Windows 2000 Advanced Server SP1
  • Microsoft Windows 2000 Professional SP1
  • Microsoft COM+ 1.0

This article was previously published under Q275441

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 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.

Modification Type:MajorLast Reviewed:5/28/2003
Keywords:kbbug kbfix kbWin2000PreSP2Fix KB275441