FIX: An application that serializes and deserializes a generic class that has at least one static member fails on a computer that is running the .NET Framework 3.5 Service Pack 1
On a computer that is running the Microsoft .NET Framework 3.5 Service Pack 1 (SP1), you have an application that serializes and deserializes a generic class. If the generic class has at least one static member, you may encounter one of the following symptoms:
If the application is running as a 32-bit process, the thread that performs the deserialization may enter a loop. Therefore, the application fails, and the application consumes lots of CPU resources.
If the application is running as a 64-bit process, an exception is thrown, and you receive an error message that resembles the following:
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
Note This problem occurs for a Microsoft ASP.NET application if the following conditions are true:
You enable View State for a control.
The control has a property the type of which is based on a generic class that has at least one static member.
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
To download this hotfix from the MSDN Code Gallery, visit the following Microsoft Web site:
Note The MSDN Code Gallery displays the languages for which the hotfix is available. If you do not see your language listed, it is because the Code Gallery resource page is not available for that language.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
You must have the .NET Framework 3.5 SP1 installed to apply this hotfix.
Restart requirement
You may have to restart the computer if any of the files that are updated are being used.
Hotfix replacement information
This hotfix does not replace any other hotfixes.
File information
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 item in Control Panel.
Windows 2000, Windows XP, and Windows Server 2003, x86 versions
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Mscordacwks.dll
2.0.50727.3068
992,264
16-Sep-2008
13:13
Mscorlib.dll
2.0.50727.3068
4,546,560
16-Sep-2008
13:13
Mscorwks.dll
2.0.50727.3068
5,815,808
16-Sep-2008
13:13
Windows 2000, Windows XP, and Windows Server 2003, x64 versions
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Mscordacwks.dll
2.0.50727.3068
992,264
16-Sep-2008
13:13
x86
Mscorlib.dll
2.0.50727.3068
4,546,560
16-Sep-2008
13:13
x86
Mscorwks.dll
2.0.50727.3068
5,815,808
16-Sep-2008
13:13
x86
Mscordacwks.dll
2.0.50727.3068
1,767,944
16-Sep-2008
10:33
x64
Mscorlib.dll
2.0.50727.3068
4,562,944
16-Sep-2008
10:33
x64
Mscorwks.dll
2.0.50727.3068
10,079,744
16-Sep-2008
10:33
x64
Windows 2000, Windows XP, and Windows Server 2003, IA-64 versions
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Mscordacwks.dll
2.0.50727.3068
992,264
16-Sep-2008
13:13
x86
Mscorlib.dll
2.0.50727.3068
4,546,560
16-Sep-2008
13:13
x86
Mscorwks.dll
2.0.50727.3068
5,815,808
16-Sep-2008
13:13
x86
Mscordacwks.dll
2.0.50727.3068
3,087,880
16-Sep-2008
10:44
IA-64
Mscorlib.dll
2.0.50727.3068
4,005,888
16-Sep-2008
10:44
IA-64
Mscorwks.dll
2.0.50727.3068
20,153,856
16-Sep-2008
10:44
IA-64
Windows Vista Service Pack 1 (SP1) and Windows Server 2008, x86 versions
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Big5.nlp
Not Applicable
66,728
18-Dec-2007
21:03
Not Applicable
Bopomofo.nlp
Not Applicable
82,172
18-Dec-2007
21:03
Not Applicable
Ksc.nlp
Not Applicable
116,756
18-Dec-2007
21:04
Not Applicable
Mscorlib.dll
2.0.50727.3068
4,546,560
07-Oct-2008
22:22
x86
Normidna.nlp
Not Applicable
59,342
18-Dec-2007
21:05
Not Applicable
Normnfc.nlp
Not Applicable
45,794
18-Dec-2007
21:05
Not Applicable
Normnfd.nlp
Not Applicable
39,284
18-Dec-2007
21:05
Not Applicable
Normnfkc.nlp
Not Applicable
66,384
18-Dec-2007
21:05
Not Applicable
Normnfkd.nlp
Not Applicable
60,294
18-Dec-2007
21:05
Not Applicable
Prc.nlp
Not Applicable
83,748
18-Dec-2007
21:05
Not Applicable
Prcp.nlp
Not Applicable
83,748
18-Dec-2007
21:05
Not Applicable
Sortkey.nlp
Not Applicable
262,148
18-Dec-2007
21:05
Not Applicable
Sorttbls.nlp
Not Applicable
20,320
18-Dec-2007
21:05
Not Applicable
Xjis.nlp
Not Applicable
28,288
18-Dec-2007
21:05
Not Applicable
Mscordacwks.dll
2.0.50727.3068
992,264
07-Oct-2008
22:22
x86
Mscorjit.dll
2.0.50727.3068
367,104
24-Sep-2008
22:21
x86
Mscorwks.dll
2.0.50727.3068
5,815,808
07-Oct-2008
22:22
x86
Mscorlib.resources.dll
2.0.50727.3053
307,200
27-Jul-2008
17:58
x86
Windows Vista SP1 and Windows Server 2008, x64 versions
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Big5.nlp
Not Applicable
66,728
18-Dec-2007
21:01
Not Applicable
Bopomofo.nlp
Not Applicable
82,172
18-Dec-2007
21:01
Not Applicable
Ksc.nlp
Not Applicable
116,756
18-Dec-2007
21:02
Not Applicable
Mscorlib.dll
2.0.50727.3068
4,562,944
07-Oct-2008
23:04
x64
Normidna.nlp
Not Applicable
59,342
18-Dec-2007
21:03
Not Applicable
Normnfc.nlp
Not Applicable
45,794
18-Dec-2007
21:03
Not Applicable
Normnfd.nlp
Not Applicable
39,284
18-Dec-2007
21:03
Not Applicable
Normnfkc.nlp
Not Applicable
66,384
18-Dec-2007
21:03
Not Applicable
Normnfkd.nlp
Not Applicable
60,294
18-Dec-2007
21:03
Not Applicable
Prc.nlp
Not Applicable
83,748
18-Dec-2007
21:03
Not Applicable
Prcp.nlp
Not Applicable
83,748
18-Dec-2007
21:03
Not Applicable
Sortkey.nlp
Not Applicable
262,148
18-Dec-2007
21:03
Not Applicable
Sorttbls.nlp
Not Applicable
20,320
18-Dec-2007
21:03
Not Applicable
Xjis.nlp
Not Applicable
28,288
18-Dec-2007
21:03
Not Applicable
Mscordacwks.dll
2.0.50727.3068
1,767,944
07-Oct-2008
23:04
x64
Mscorjit.dll
2.0.50727.3068
1,580,032
24-Sep-2008
23:06
x64
Mscorwks.dll
2.0.50727.3068
10,079,744
07-Oct-2008
23:04
x64
Mscorlib.resources.dll
2.0.50727.3053
307,200
27-Jul-2008
18:02
x86
Big5.nlp
Not Applicable
66,728
18-Dec-2007
21:03
Not Applicable
Bopomofo.nlp
Not Applicable
82,172
18-Dec-2007
21:03
Not Applicable
Ksc.nlp
Not Applicable
116,756
18-Dec-2007
21:04
Not Applicable
Mscorlib.dll
2.0.50727.3068
4,546,560
07-Oct-2008
22:22
x86
Normidna.nlp
Not Applicable
59,342
18-Dec-2007
21:05
Not Applicable
Normnfc.nlp
Not Applicable
45,794
18-Dec-2007
21:05
Not Applicable
Normnfd.nlp
Not Applicable
39,284
18-Dec-2007
21:05
Not Applicable
Normnfkc.nlp
Not Applicable
66,384
18-Dec-2007
21:05
Not Applicable
Normnfkd.nlp
Not Applicable
60,294
18-Dec-2007
21:05
Not Applicable
Prc.nlp
Not Applicable
83,748
18-Dec-2007
21:05
Not Applicable
Prcp.nlp
Not Applicable
83,748
18-Dec-2007
21:05
Not Applicable
Sortkey.nlp
Not Applicable
262,148
18-Dec-2007
21:05
Not Applicable
Sorttbls.nlp
Not Applicable
20,320
18-Dec-2007
21:05
Not Applicable
Xjis.nlp
Not Applicable
28,288
18-Dec-2007
21:05
Not Applicable
Mscordacwks.dll
2.0.50727.3068
992,264
07-Oct-2008
22:22
x86
Mscorjit.dll
2.0.50727.3068
367,104
24-Sep-2008
22:21
x86
Mscorwks.dll
2.0.50727.3068
5,815,808
07-Oct-2008
22:22
x86
Windows Vista SP1 and Windows Server 2008, IA-64 versions