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:

Version Tolerant SerializationFor more information about the NetDataContractSerializer class, visit the following MSDN Web site:

NetDataContractSerializer class

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×