FIX: Extended Error Information Is Lost When Calling In-Process Neutral Thread Model Components (269479)
The information in this article applies to:
- Microsoft Windows 2000 Server SP1
- Microsoft Windows 2000 Advanced Server SP1
- Microsoft Windows 2000 Professional SP1
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 "~" 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.
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.
RESOLUTIONTo 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
STATUSMicrosoft 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.
Modification Type: | Major | Last Reviewed: | 11/17/2003 |
---|
Keywords: | kbbug kbfix KB269479 |
---|
|