Microsoft KB Archive/269479

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

Article ID: 269479

Article Last Modified on 1/27/2007

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 1

-



This article was previously published under Q269479



SYMPTOMS
When you run a Microsoft Visual Basic client, the Err.Description property has a value of 'Method &quot;~&quot; of object &quot;~&quot; 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.



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



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



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

Keywords: kbbug kbfix KB269479

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.