Microsoft KB Archive/935462

= FIX: You may receive an exception when you use the &quot;clientContext.WriteContext&quot; function to override the &quot;Source TP Name&quot; property for a TI method in Host Integration Server 2006 =

Article ID: 935462

Article Last Modified on 11/15/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2006

-



SYMPTOMS
Consider the following scenario in Microsoft Host Integration Server 2006. You use the clientContext.WriteContext function to override the Source TP Name property for a Transaction Integrator (TI) method. You use the clientContext.WriteContext function together with the OverrideSourceTP keyword.

In this scenario, you may receive an exception. Additionally, events that resemble the following event may be logged in the Application log: Source: COMTI ID: 102

Description:

(102) Transaction Integrator reported the following exception to the client: Component: AAAA. objTI.1 Method: MyMethod Exception description: (null) EXPLANATION An Automation exception representing an error condition was returned to a Transaction Integrator client. The description shown above contains more information about the exception that was reported. ACTION The exception may be caused by communication problems or errors in your host application. See the exception description for corrective actions. For example, if an application contains the following code, you may encounter this problem. object[] ctxAry = null; ClientContext objCtx = new ClientContext; objCtx.WriteContext( &quot;OverrideSourceTP&quot;, &quot;ZZZZ&quot;, ref ctxAry); objTI.MyMethod(ref sIn, out dBal, ref ctxAry);



Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

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

Prerequisites
You must have Host Integration Server 2006 installed to apply this hotfix.

Restart requirement
You do not have to 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 item in Control Panel.

Host Integration Server 2006, x64-based versions


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



MORE INFORMATION
For more information about a feature that lets you override the Source TP Name property for a TI method, click the following article number to view the article in the Microsoft Knowledge Base:

909454 FIX: A new feature is available in the TI to override the Source TP Name property for a TI method in Host Integration Server 2004

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbexpertiseadvanced kbfix kbpubtypekc kbqfe kbhotfixserver KB935462

-

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

© Microsoft Corporation. All rights reserved.