Search Wiki:
Article Translations
English, Français, Deutsch, Italiano, 한국어, 繁體中文, 简体中文, 日本語, Русский, Português (Brasil)

Description
A Hotfix is a product update package with one or more updated product files that fix a specific product problem.

IMPORTANT NOTE

Please be aware this Hotfix has not gone through full Microsoft product regression testing nor has it been tested in combination with other Hotfixes.

Please carefully review the associated Hotfix KB article to verify the fix is the one needed and there are no known compatibility or installation issues. You may also want to contact a Microsoft Support Professional at http://support.microsoft.com

Issue Description

KB907262 FIX: You receive an error message when you try to transfer data between an application that runs on the .NET Framework 2.0 and an application that runs on the .NET Framework 1.1


SYMPTOMS
Consider the following scenario. You have an application that runs on the Microsoft .NET Framework 2.0 and an application that runs on the Microsoft .NET Framework 1.1. You try to use Microsoft .NET Framework remoting or binary serialization to transfer data between the applications. In this scenario, you receive an error message that is similar to one of the following error messages:

Error message 1

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object

Error message 2

Unhandled Exception: System.ArgumentOutOfRangeException: Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks. Parameter name: ticks

Error message 3

System.Runtime.Serialization.SerializationException: Possible Version mismatch. Type MyNamespace.MyInnerClassV2 has 2 members, number of members deserialized is 1

Error message 4

System.Runtime.Serialization.SerializationException: Wrong number of Members. Object MyNamespace.MyInnerClassV2 has 2 members, number of members deserialized is 1

Error message 5

System.Runtime.Serialization.SerializationException: Member name 'MyNamespace.MyInnerClassV1 v2Field' not found

Error message 6

System.IndexOutOfRangeException : Index was outside the bounds of the array

This problem occurs when all the following conditions are true: • Both applications use either Microsoft .NET Framework remoting or runtime serialization.
• Data transfer flows from the .NET Framework 2.0 to the .NET Framework 1.1.

This data transfer may occur in any one of the following scenarios:• A .NET Framework 2.0 server returns data to a .NET Framework 1.1 client.
• A .NET Framework 2.0 client sends data to invoke a .NET Framework 1.1 service.
• Data is serialized on the .NET Framework 2.0, and data is deserialized on the .NET Framework 1.1.


Additional Information about the issue resolved by this Hotfix can be found in its Knowledge Base article at http://support.microsoft.com/kb/907262

Additional Hotfixes
Search the list of all other publicly available Visual Studio and .NET Framework Hotfixes at http://archive.msdn.microsoft.com/Project/ProjectDirectory.aspx?TagName=Hotfix&ProjectSearchText=Hotfix*

Last edited Jun 19 2008 at 3:15 AM  by codegalleryadmin, version 5
Updating...
Page view tracker