FIX: Extended Error Information Is Lost When Calling In-Process Neutral Thread Model Components

This article was previously published under Q269479
This article has been archived. It is offered "as is" and will no longer be updated.
When you run a Microsoft Visual Basic client, the Err.Description property has a value of 'Method "~" of object "~" failed' after a call to an in-process Neutral Thread Model object that supports extended error information fails.

When you run a Microsoft Visual C or C++ client, a call to GetErrorInfo to retrieve extended error information from an in-process Neutral Thread Model object returns S_FALSE after a call to IUnknown is made on the object.
This problem occurs because standard Component Object Model (COM) proxy-stub implementation clears extended error information that is associated with the logical thread when a call is made to a Neutral Thread Model object through the IUnknown interface.
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 theMicrosoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack

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 2.
COM objects are said to support extended error information if they return error information through the IErrorInfo interface.

This problem only affects in-process Neutral Thread Model components.

Article ID: 269479 - Last Review: 02/28/2014 04:20:00 - Revision: 3.2

Microsoft Windows 2000 Server SP1, Microsoft Windows 2000 Advanced Server SP1, Microsoft Windows 2000 Professional SP1

  • kbnosurvey kbarchive kbbug kbfix KB269479