Microsoft KB Archive/900464

= FIX: The QueryInterface method fails when you query the ITransactionOptions interface =

Article ID: 900464

Article Last Modified on 1/15/2007

-

APPLIES TO

 Microsoft COM+ 1.0, when used with:  Microsoft Windows 2000 Advanced Server

 Microsoft Windows 2000 Advanced Server

 Microsoft Windows 2000 Advanced Server

 Microsoft Windows 2000 Advanced Server</li></ul>

 Microsoft Windows 2000 Advanced Server</li></ul>

 Microsoft Windows 2000 Datacenter Server</li></ul>

 Microsoft Windows 2000 Service Pack 2</li></ul>

 Microsoft Windows 2000 Service Pack 3</li></ul>

 Microsoft Windows 2000 Datacenter Server</li></ul>

 Microsoft Windows 2000 Server</li></ul>

 Microsoft Windows 2000 Service Pack 1</li></ul>

 Microsoft Windows 2000 Service Pack 2</li></ul>

<ul> <li>Microsoft Windows 2000 Service Pack 3</li></ul>

<ul> <li>Microsoft Windows 2000 Service Pack 4</li></ul> </li></ul>

-

<div class="notice_section">

<div class="symptoms_section">

SYMPTOMS
Consider the following scenario:
 * You use the QueryInterface method to query the IUnknown interface on a transaction object. This transaction object also implements the ITransaction interface.
 * You use the QueryInterface method to query the returned interface for the ITransactionOptions interface.

In this scenario, the QueryInterface method for the ITransactionOptions interface fails, and you receive an E_NOINTERFACE error 80004002.

When you try to call the ITransactionOptions interface from a Microsoft .NET COM interop assembly, you may receive an error message that is similar to the following:

Unable to get transaction option object Specified cast is not valid.

<div class="resolution_section">

Hotfix rollup package information
This problem is fixed in Microsoft Windows 2000 Post-Service Pack 4 COM+ 1.0 Hotfix Rollup Package 35. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

910370 Availability of Windows 2000 Post-Service Pack 4 COM+ 1.0 Hotfix Rollup Package 35

Hotfix information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
You must have Windows 2000 installed to apply this hotfix.

Restart requirement
You must restart the computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

Windows 2000, x86
<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="references_section">