FIX: Version Tolerant Serialization features do not work as expected with the NetDataContractSerializer serializer in the .NET Framework 3.5 SP1

Applies to: .NET Framework 3.5 Service Pack 1

Symptoms


Consider the following scenario in the Microsoft .NET Framework 3.5 Service Pack 1 (SP1):
  • You use the NetDataContractSerializer class to serialize and deserialize generic types that have different versions.
  • You use Version Tolerant Serialization (VTS) features to change a generic type in one version. You do this to make this type compatible with other versions.

In this scenario, the features do not work as expected. You receive an exception when the changed generic type is deserialized, and the deserialization fails.

Resolution


Windows Server 2000, Windows Server 2003, and Windows XP

To resolve this issue, install the hotfix that is described in Microsoft Knowledge Base article 976570. For more information click the following article number to view the article in the Microsoft Knowledge Base:
976570 Description of the .NET Framework 3.0 SP2 forward compatibility update for Windows XP and for Windows Server 2003

Status


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

More Information


For more information about VTS, visit the following Microsoft Developer Network (MSDN) Web site:For more information about the NetDataContractSerializer class, visit the following MSDN Web site: