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 (907262)



The information in this article applies to:

  • Microsoft .NET Framework 2.0
  • Microsoft .NET Framework 1.1 Service Pack 1 (SP1)
  • Microsoft .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.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft .NET Framework 1.1 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

You must have the .NET Framework 1.1 Service Pack 1 (SP1) installed to apply this hotfix.

Restart information

You must restart the computer after you apply this hotfix.

Hotfix file information

This hotfix contains only those files that are required to correct the issues in the Binary Runtime Serializer that this article lists. This hotfix may not contain all the files that you must have to fully update a product to the latest build.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.Global hotfix for x86
File nameFile versionFile sizeDateTimePlatform
Corperfmonext.dll1.1.4322.235981,92008-Dec-200500:06x86
Ddpatch.hotfixexefile1.0.0.153,24817-Jun-200516:45Not Applicable
Ddpatch.updategacfile1.1.4318.081,92018-May-200519:07Not Applicable
Ddpatch.updateutilfile1.0.3705.3147,45617-Jun-200516:45Not Applicable
M911205.unpatchfileNot Applicable7,744,00008-Dec-200519:25Not Applicable
Mscorlib.dll1.1.4322.23592,142,20807-Dec-200523:59x86
Mscorlib.ldoNot Applicable10,94408-Dec-200500:00Not Applicable
Mscorsvr.dll1.1.4322.23592,519,04008-Dec-200500:05x86
Mscorwks.dll1.1.4322.23592,510,84808-Dec-200500:06x86
Microsoft Windows Server 2003 hotfix for x86
File nameFile versionFile sizeDateTimePlatformService pack requirement
Corperfmonext.dll1.1.4322.235981,92009-Dec-200502:07x86SP1
Mscorlib.dll1.1.4322.23592,142,20809-Dec-200500:40x86SP1
Mscorlib.ldoNot Applicable10,94409-Dec-200505:58Not ApplicableSP1
Mscorsvr.dll1.1.4322.23592,519,04009-Dec-200502:08x86SP1
Mscorwks.dll1.1.4322.23592,510,84809-Dec-200502:08x86SP1
Netfxupdate.exe1.0.3705.0106,49630-Aug-200500:02x86SP1
Setregni.exe1.1.4322.2034106,49630-Aug-200500:02x86SP1
Togac.exe1.1.4322.573118,78409-Dec-200502:07x86SP1
Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.

MORE INFORMATION

Notes
  • This hotfix does not correct the issues in the SOAP Runtime Serializer.
  • This hotfix is not scheduled to be provided for the Microsoft .NET Framework 1.0.

Modification Type:MinorLast Reviewed:6/5/2006
Keywords:kbHotfixServer kbQFE kbBug kbtshoot kbfix kbprb KB907262 kbAudDeveloper kbAudITPRO