FIX: A Web service fails when a Transaction Integrator .NET Framework assembly that includes a method with the "Include Context Parameter" property is set to "True" in Host Integration Server 2010

Symptoms

Consider the following scenario:
  • You have a system that is running Microsoft Host Integration Server 2010 with one of the following cumulative updates applied:
    • 2616519 Cumulative update package 2 for Host Integration Server 2010
    • 2533330 Cumulative update package 1 for Host Integration Server 2010
  • You create a new Transaction Integrator (TI) .NET Framework assembly by using the TI Designer in Visual Studio.
  • You define a method that has the Include Context Parameter property set to True.
  • You create a Web service to consume the TI .NET Framework assembly.

In this scenario, the Web service fails and returns an error message that resembles the following when the TI .NET Framework assembly is being consumed:

Cannot serialize member Microsoft.HostIntegration.TI.BaseRemoteEnvironment.VendorREEntries of type System.Collections.Hashtable, because it implements IDictionary.

Note This problem does not occur when the Include Context Parameter property is set to False.

Resolution

Hotfix information

The hotfix that resolves this issue is included in cumulative update package 3 for Host Integration Server 2010.

For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2654652 Cumulative update package 3 for Host Integration Server 2010

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Proprietà

ID articolo: 2677893 - Ultima revisione: 07 mag 2012 - Revisione: 1

Feedback