FIX: Access Violation in COM+ Library Application

Article translations Article translations
Article ID: 276399 - View products that this article applies to.
This article was previously published under Q276399
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

SYMPTOMS

When a Component Object Model (COM) component is installed in COM+ as a library application and includes the following features:
  • Two interfaces (IXXX and IYYY) that are defined in one type library file named YYY.tlb.
  • A third interface (IZZZ) that is defined in a second type library file.
  • IZZZ is derived from IYYY, and the IDL file for the IZZZ interface contains the following code:
    importlib("<I>YYY</I>.tlb");
    					
you may receive an Access Violation when the client application uses the IZZZ interface.

CAUSE

The COM+ interceptor code uses the wrong typeinfo when it references the interface.

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.

Properties

Article ID: 276399 - Last Review: October 21, 2013 - Revision: 1.0
APPLIES TO
  • Microsoft COM+ 1.0
Keywords: 
kbnosurvey kbarchive kbbug kberrmsg kbfix kbwin2000presp2fix KB276399

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com