System.Net.ObjectDisposedException exception or performance issue when you run a .NET Compact Framework 3.5-based application on a device

Introduction

A hotfix is available for the Microsoft .NET Compact Framework 3.5 that resolves the following issues.
Issue 1
Consider the following scenario:
  • You run a .NET Compact Framework 3.5-based application on a device.
  • The application establishes a network connection between the device and a server that is running Internet Information Services (IIS). 
  • The device stays idle for several seconds more than the value that is set for the Connection Time-out property of the server that is running IIS.
  • The application uses the network connection again.

In this scenario, the application encounters an unhandled System.Net.ObjectDisposedException exception and then crashes.

Issue 2
When a .NET Compact Framework 3.5-based application uses a function to access the ClassDesc classFlags member on a device, some cache misses may occur in the L2 data cache and in the Translation Lookaside Buffer (TLB). If the cache misses occur hundreds of thousands of times during class resolution, performance issues may occur.

Note The ClassDesc classFlags member is used to determine whether a class is invalid, is resolved, or has an unresolved status.

For example, a .NET Compact Framework 3.5-based application calls the EE_ResolveFields function that accesses the ClassDesc classFlags member. In this scenario, the start time of the application may increase from seconds to minutes.

More Information

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website: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

There are no prerequisites.

Restart information

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix replaces the existing version of the Microsoft .NET Compact Framework 3.5. 

File information

The global 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 item in Control Panel.

Note This hotfix package contains files that apply to different products. For example, the NETCFv35.wm.armv4i.cab file is for Windows Mobile Armv4i.

File nameFile versionFile sizeDateTime
Msmq.35.ppc.armv4.cabNot Applicable195,63605-May-201106:46
Msmq.35.wce.armv4.cabNot Applicable11,07205-May-201106:46
Msmq.35.wce.mipsii.cabNot Applicable13,16405-May-201106:46
Msmq.35.wce.mipsiv.cabNot Applicable14,70005-May-201106:46
Msmq.35.wce.sh4.cabNot Applicable10,60505-May-201106:46
Msmq.35.wce.x86.cabNot Applicable9,53605-May-201106:46
Msmq.35.wm.armv4i.cabNot Applicable123,58105-May-201106:46
Netcfv35.messages.de.cabNot Applicable851,68105-May- 201106:45
Netcfv35.messages.de.wm.cabNot Applicable268,95805- May-201106:45
Netcfv35.messages.en.cabNot Applicable403,76905 -May-201106:45
Netcfv35.messages.en.wm.cabNot Applicable133,72605-May-201106:45
Netcfv35.messages.es.cabNot Applicable843,48905-May- 201106:45
Netcfv35.messages.es.wm.cabNot Applicable264,56505- May-201106:45
Netcfv35.messages.fr.cabNot Applicable851,68105 -May-201106:45
Netcfv35.messages.fr.wm.cabNot Applicable266,17205-May-201106:45
Netcfv35.messages.it.cabNot Applicable835,29705-May- 201106:45
Netcfv35.messages.it.wm.cabNot Applicable263,02205- May-201106:45
Netcfv35.messages.ja.cabNot Applicable892,64905 -May-201106:45
Netcfv35.messages.ja.wm.cabNot Applicable267,98605-May-201106:45
Netcfv35.messages.ko.cabNot Applicable859,88105-May- 201106:45
Netcfv35.messages.ko.wm.cabNot Applicable262,77705- May-201106:45
Netcfv35.messages.zh-chs.cabNot Applicable790,30905-May-201106:45
Netcfv35.messages.zh- chs.wm.cabNot Applicable259,64805-May- 201106:45
Netcfv35.messages.zh-cht.cabNot Applicable794,40505 -May-201106:45
Netcfv35.messages.zh-cht.wm.cabNot Applicable260,45205-May-201106:45
Netcfv35.ppc.armv4.cabNot Applicable6,596,43205-May-201106:43
Netcfv35.wce.armv4.cabNot Applicable9,281,79705-May-201106:43
Netcfv35.wce.mipsii.cabNot Applicable12,072,08605-May- 201106:43
Netcfv35.wce.mipsiv.cabNot Applicable12,216,99805- May-201106:43
Netcfv35.wce.sh4.cabNot Applicable7,603,41005- May-201106:43
Netcfv35.wce.x86.cabNot Applicable7,199,93605- May-201106:43
Netcfv35.wm.armv4i.cabNot Applicable2,675,63105 -May-201106:44
Sql.phone.wce5.armv4i.cabNot Applicable109,19027-Mar-200714:58
Sql.phone.wce5.x86.cabNot Applicable100,58027-Mar-200714:49
Sql.ppc.wce4.armv4.cabNot Applicable228,36227-Mar-200714:21
Sql.wce4.armv4i.cabNot Applicable228,87427-Mar-200714:24
Sql.wce4.mipsii.cabNot Applicable234,50627-Mar-200714:29
Sql.wce4.mipsii_fp.cabNot Applicable234,50627-Mar-200714:30
Sql.wce4.mipsiv.cabNot Applicable235,01827-Mar-200714:31
Sql.wce4.mipsiv_fp.cabNot Applicable235,01827-Mar-200714:33
Sql.wce4.sh4.cabNot Applicable223,75427-Mar-200714:28
Sql.wce4.x86.cabNot Applicable221,70627-Mar-200714:26
Sql.wce5.armv4i.cabNot Applicable228,87427-Mar-200714:40
Sql.wce5.mipsii.cabNot Applicable234,50627-Mar-200714:44
Sql.wce5.mipsii_fp.cabNot Applicable234,50627-Mar-200714:45
Sql.wce5.mipsiv.cabNot Applicable235,53027-Mar-200714:46
Sql.wce5.mipsiv_fp.cabNot Applicable235,53027-Mar-200714:48
Sql.wce5.sh4.cabNot Applicable223,75427-Mar-200714:42
Sql.wce5.x86.cabNot Applicable221,70627-Mar- 200714:35
Sqlce.dev.enu.phone.wce5.armv4i.cabNot Applicable107,54325-Jun- 200801:46
Sqlce.dev.enu.phone.wce5.x86.cabNot Applicable91,60525-Jun- 200801:32
Sqlce.dev.enu.ppc.wce4.armv4.cabNot Applicable316,67325-Jun- 200801:22
Sqlce.dev.enu.wce4.armv4i.cabNot Applicable320,76925-Jun- 200801:24
Sqlce.dev.enu.wce4.mipsii.cabNot Applicable332,03325-Jun- 200801:27
Sqlce.dev.enu.wce4.mipsii_fp.cabNot Applicable331,54525-Jun- 200801:28
Sqlce.dev.enu.wce4.mipsiv.cabNot Applicable334,59325-Jun- 200801:29
Sqlce.dev.enu.wce4.mipsiv_fp.cabNot Applicable334,61725-Jun- 200801:29
Sqlce.dev.enu.wce4.sh4.cabNot Applicable297,18525- Jun-200801:26
Sqlce.dev.enu.wce4.x86.cabNot Applicable292,08925-Jun- 200801:26
Sqlce.dev.enu.wce5.armv4i.cabNot Applicable322,81725-Jun- 200801:34
Sqlce.dev.enu.wce5.mipsii.cabNot Applicable334,08125-Jun- 200801:37
Sqlce.dev.enu.wce5.mipsii_fp.cabNot Applicable334,10525-Jun- 200801:38
Sqlce.dev.enu.wce5.mipsiv.cabNot Applicable337,15325-Jun- 200801:38
Sqlce.dev.enu.wce5.mipsiv_fp.cabNot Applicable337,17725-Jun- 200801:39
Sqlce.dev.enu.wce5.sh4.cabNot Applicable298,72125- Jun-200801:36
Sqlce.dev.enu.wce5.x86.cabNot Applicable296,18525-Jun- 200801:31
Sqlce.phone.wce5.armv4i.cabNot Applicable753,90025- Jun-200801:47
Sqlce.phone.wce5.x86.cabNot Applicable661,87725 -Jun-200801:31
Sqlce.ppc.wce4.armv4.cabNot Applicable1,735,02625-Jun-200801:22
Sqlce.wce4.armv4i.cabNot Applicable1,782,14625-Jun-200801:24
Sqlce.wce4.mipsii.cabNot Applicable2,010,55425-Jun- 200801:27
Sqlce.wce4.mipsii_fp.cabNot Applicable2,002,90625- Jun-200801:28
Sqlce.wce4.mipsiv.cabNot Applicable2,015,16225- Jun-200801:29
Sqlce.wce4.mipsiv_fp.cabNot Applicable2,010,07425-Jun-200801:29
Sqlce.wce4.sh4.cabNot Applicable1,508,63425-Jun-200801:26
Sqlce.wce4.x86.cabNot Applicable1,345,81825-Jun-200801:26
Sqlce.wce5.armv4i.cabNot Applicable1,785,73825-Jun-200801:34
Sqlce.wce5.mipsii.cabNot Applicable2,017,72225-Jun- 200801:37
Sqlce.wce5.mipsii_fp.cabNot Applicable2,010,58625- Jun-200801:37
Sqlce.wce5.mipsiv.cabNot Applicable2,022,33025- Jun-200801:38
Sqlce.wce5.mipsiv_fp.cabNot Applicable2,017,75425-Jun-200801:39
Sqlce.wce5.sh4.cabNot Applicable1,514,27425-Jun-200801:36
Sqlce.wce5.x86.cabNot Applicable1,362,71425-Jun-200801:31


Status

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

Artikelnummer: 2556217 – Letzte Überarbeitung: 03.06.2011 – Revision: 1

Feedback