Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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

↑ Back to the top


Status

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

↑ Back to the top


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:

↑ Back to the top


Keywords: kbtshoot, kbhotfixdev, kbexpertiseadvanced, kbsurveynew, kbqfe, kbhotfixserver, kb

↑ Back to the top

Article Info
Article ID : 962373
Revision : 1
Created on : 1/7/2017
Published on : 10/7/2011
Exists online : False
Views : 480