Symptom
På en dator som kör Microsoft.NET Framework 3.5 servicepack 1 (SP1) har ett program som serializes och deserializes en generisk klass. Om allmän klass har minst en statisk medlem, händer något av följande:
-
Om programmet körs som en 32-bitarsprocess kan tråden som utför deserialiseringen ange en loop. Därför kan programmet misslyckas och programmet förbrukar mycket CPU-resurser.
-
Om programmet körs som en 64-bitars process, ett undantagsfel och du får ett felmeddelande av följande slag:
Ohanterat undantag: System.Reflection.TargetInvocationException: undantagsfel har inträffat i målet för ett anrop. ---> System.OutOfMemoryException: undantagsfel av typen 'System.OutOfMemoryException' utlöstes.
Obs! Det här problemet uppstår för Microsoft ASP.NET-program, om följande villkor är uppfyllda:
-
Du kan visa status för en kontroll.
-
Kontrollen har egenskapen typ som baseras på en generisk klass som har minst en statisk medlem.
Orsak
Det här problemet beror på en återgång i.NET Framework 3.5 SP1.
Lösning
Information om snabbkorrigeringen
En snabbkorrigering är tillgänglig från Microsoft. Den här snabbkorrigeringen är emellertid avsedd att åtgärda det problem som beskrivs i denna artikel. Använd bara den här snabbkorrigeringen för system med just detta problem. Snabbkorrigeringen kan komma att testas igen. Om du inte störs alltför mycket av detta problem rekommenderar vi att du väntar på nästa programuppdatering som innehåller den här snabbkorrigeringen.
Om du vill hämta snabbkorrigeringen från galleriet MSDN-kod finns på följande Microsoft-webbplats:http://code.msdn.microsoft.com/KB957543 Obs! Galleri för MSDN-kod visar de språk som snabbkorrigeringen är tillgänglig. Om du inte ser ditt språk i listan beror det på att koden Gallery resurssidan inte är tillgänglig för språket. Obs! Om det uppstår ytterligare problem eller krävs felsökning, kan du behöva skapa en serviceförfrågan. De vanliga supportkostnaderna gäller för övriga supportfrågor och problem som inte uppfyller kraven för den här snabbkorrigeringen. En fullständig lista över telefonnummer för Microsofts kundtjänst och Support eller skapa en serviceförfrågan finns på följande Microsoft-webbplats:
http://support.microsoft.com/contactus/?ws=support
Förutsättningar
Du måste ha installerat den här snabbkorrigeringen.NET Framework 3.5 SP1.
Krav på omstart
Du kan behöva starta om datorn om någon av filerna som uppdateras används.
Ersättningsinformation för Hotfix
Den här snabbkorrigeringen ersätter inte några andra snabbkorrigeringar.
Filinformation
Den engelska versionen av den här snabbkorrigeringen har de filattribut (eller senare filattribut) som visas i följande tabell. Datum och tider för dessa filer anges i UTC-tid (UTC). När du visar filinformationen konverteras den till lokal tid. Använd fliken tidszon i datum och tid på Kontrollpanelen om du vill se skillnaden mellan UTC-tid och lokal tid.
Windows 2000, Windows XP och Windows Server 2003, x86 versioner
Filnamn |
Filversion |
Storlek |
Datum |
Tid |
---|---|---|---|---|
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 och Windows Server 2003, x64 versioner
Filnamn |
Filversion |
Storlek |
Datum |
Tid |
Plattform |
---|---|---|---|---|---|
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 och Windows Server 2003 IA-64-versioner
Filnamn |
Filversion |
Storlek |
Datum |
Tid |
Plattform |
---|---|---|---|---|---|
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) och Windows Server 2008, x86 versioner
Filnamn |
Filversion |
Storlek |
Datum |
Tid |
Plattform |
---|---|---|---|---|---|
Big5.nlp |
Ej tillämplig |
66,728 |
18-Dec-2007 |
21:03 |
Ej tillämplig |
Bopomofo.nlp |
Ej tillämplig |
82,172 |
18-Dec-2007 |
21:03 |
Ej tillämplig |
Ksc.nlp |
Ej tillämplig |
116,756 |
18-Dec-2007 |
21:04 |
Ej tillämplig |
Mscorlib.dll |
2.0.50727.3068 |
4,546,560 |
07-Oct-2008 |
22:22 |
x86 |
Normidna.nlp |
Ej tillämplig |
59,342 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Normnfc.nlp |
Ej tillämplig |
45,794 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Normnfd.nlp |
Ej tillämplig |
39,284 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Normnfkc.nlp |
Ej tillämplig |
66,384 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Normnfkd.nlp |
Ej tillämplig |
60,294 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Prc.nlp |
Ej tillämplig |
83,748 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Prcp.nlp |
Ej tillämplig |
83,748 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Sortkey.nlp |
Ej tillämplig |
262,148 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Sorttbls.nlp |
Ej tillämplig |
20,320 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Xjis.nlp |
Ej tillämplig |
28,288 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
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 och Windows Server 2008, x64 versioner
Filnamn |
Filversion |
Storlek |
Datum |
Tid |
Plattform |
---|---|---|---|---|---|
Big5.nlp |
Ej tillämplig |
66,728 |
18-Dec-2007 |
21:01 |
Ej tillämplig |
Bopomofo.nlp |
Ej tillämplig |
82,172 |
18-Dec-2007 |
21:01 |
Ej tillämplig |
Ksc.nlp |
Ej tillämplig |
116,756 |
18-Dec-2007 |
21:02 |
Ej tillämplig |
Mscorlib.dll |
2.0.50727.3068 |
4,562,944 |
07-Oct-2008 |
23:04 |
x64 |
Normidna.nlp |
Ej tillämplig |
59,342 |
18-Dec-2007 |
21:03 |
Ej tillämplig |
Normnfc.nlp |
Ej tillämplig |
45,794 |
18-Dec-2007 |
21:03 |
Ej tillämplig |
Normnfd.nlp |
Ej tillämplig |
39,284 |
18-Dec-2007 |
21:03 |
Ej tillämplig |
Normnfkc.nlp |
Ej tillämplig |
66,384 |
18-Dec-2007 |
21:03 |
Ej tillämplig |
Normnfkd.nlp |
Ej tillämplig |
60,294 |
18-Dec-2007 |
21:03 |
Ej tillämplig |
Prc.nlp |
Ej tillämplig |
83,748 |
18-Dec-2007 |
21:03 |
Ej tillämplig |
Prcp.nlp |
Ej tillämplig |
83,748 |
18-Dec-2007 |
21:03 |
Ej tillämplig |
Sortkey.nlp |
Ej tillämplig |
262,148 |
18-Dec-2007 |
21:03 |
Ej tillämplig |
Sorttbls.nlp |
Ej tillämplig |
20,320 |
18-Dec-2007 |
21:03 |
Ej tillämplig |
Xjis.nlp |
Ej tillämplig |
28,288 |
18-Dec-2007 |
21:03 |
Ej tillämplig |
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 |
Ej tillämplig |
66,728 |
18-Dec-2007 |
21:03 |
Ej tillämplig |
Bopomofo.nlp |
Ej tillämplig |
82,172 |
18-Dec-2007 |
21:03 |
Ej tillämplig |
Ksc.nlp |
Ej tillämplig |
116,756 |
18-Dec-2007 |
21:04 |
Ej tillämplig |
Mscorlib.dll |
2.0.50727.3068 |
4,546,560 |
07-Oct-2008 |
22:22 |
x86 |
Normidna.nlp |
Ej tillämplig |
59,342 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Normnfc.nlp |
Ej tillämplig |
45,794 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Normnfd.nlp |
Ej tillämplig |
39,284 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Normnfkc.nlp |
Ej tillämplig |
66,384 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Normnfkd.nlp |
Ej tillämplig |
60,294 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Prc.nlp |
Ej tillämplig |
83,748 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Prcp.nlp |
Ej tillämplig |
83,748 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Sortkey.nlp |
Ej tillämplig |
262,148 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Sorttbls.nlp |
Ej tillämplig |
20,320 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Xjis.nlp |
Ej tillämplig |
28,288 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
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 och Windows Server 2008 IA-64-versioner
Filnamn |
Filversion |
Storlek |
Datum |
Tid |
Plattform |
---|---|---|---|---|---|
Big5.nlp |
Ej tillämplig |
66,728 |
18-Dec-2007 |
21:06 |
Ej tillämplig |
Bopomofo.nlp |
Ej tillämplig |
82,172 |
18-Dec-2007 |
21:06 |
Ej tillämplig |
Ksc.nlp |
Ej tillämplig |
116,756 |
18-Dec-2007 |
21:06 |
Ej tillämplig |
Mscorlib.dll |
2.0.50727.3068 |
4,005,888 |
07-Oct-2008 |
23:12 |
IA-64 |
Normidna.nlp |
Ej tillämplig |
59,342 |
18-Dec-2007 |
21:08 |
Ej tillämplig |
Normnfc.nlp |
Ej tillämplig |
45,794 |
18-Dec-2007 |
21:08 |
Ej tillämplig |
Normnfd.nlp |
Ej tillämplig |
39,284 |
18-Dec-2007 |
21:08 |
Ej tillämplig |
Normnfkc.nlp |
Ej tillämplig |
66,384 |
18-Dec-2007 |
21:08 |
Ej tillämplig |
Normnfkd.nlp |
Ej tillämplig |
60,294 |
18-Dec-2007 |
21:08 |
Ej tillämplig |
Prc.nlp |
Ej tillämplig |
83,748 |
18-Dec-2007 |
21:08 |
Ej tillämplig |
Prcp.nlp |
Ej tillämplig |
83,748 |
18-Dec-2007 |
21:08 |
Ej tillämplig |
Sortkey.nlp |
Ej tillämplig |
262,148 |
18-Dec-2007 |
21:08 |
Ej tillämplig |
Sorttbls.nlp |
Ej tillämplig |
20,320 |
18-Dec-2007 |
21:08 |
Ej tillämplig |
Xjis.nlp |
Ej tillämplig |
28,288 |
18-Dec-2007 |
21:08 |
Ej tillämplig |
Mscordacwks.dll |
2.0.50727.3068 |
3,087,880 |
07-Oct-2008 |
23:12 |
IA-64 |
Mscorjit.dll |
2.0.50727.3068 |
2,560,512 |
24-Sep-2008 |
23:14 |
IA-64 |
Mscorwks.dll |
2.0.50727.3068 |
20,153,856 |
07-Oct-2008 |
23:12 |
IA-64 |
Mscorlib.resources.dll |
2.0.50727.3053 |
315,392 |
27-Jul-2008 |
17:58 |
x86 |
Big5.nlp |
Ej tillämplig |
66,728 |
18-Dec-2007 |
21:03 |
Ej tillämplig |
Bopomofo.nlp |
Ej tillämplig |
82,172 |
18-Dec-2007 |
21:03 |
Ej tillämplig |
Ksc.nlp |
Ej tillämplig |
116,756 |
18-Dec-2007 |
21:04 |
Ej tillämplig |
Mscorlib.dll |
2.0.50727.3068 |
4,546,560 |
07-Oct-2008 |
22:22 |
x86 |
Normidna.nlp |
Ej tillämplig |
59,342 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Normnfc.nlp |
Ej tillämplig |
45,794 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Normnfd.nlp |
Ej tillämplig |
39,284 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Normnfkc.nlp |
Ej tillämplig |
66,384 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Normnfkd.nlp |
Ej tillämplig |
60,294 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Prc.nlp |
Ej tillämplig |
83,748 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Prcp.nlp |
Ej tillämplig |
83,748 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Sortkey.nlp |
Ej tillämplig |
262,148 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Sorttbls.nlp |
Ej tillämplig |
20,320 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
Xjis.nlp |
Ej tillämplig |
28,288 |
18-Dec-2007 |
21:05 |
Ej tillämplig |
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 |
Status
Microsoft har bekräftat att detta är ett problem i Microsoft-produkterna som nämns i avsnittet "Gäller".
Referenser
För mer information om terminologin för programuppdateringar klickar du på följande artikelnummer och läser artikeln i Microsoft Knowledge Base:
824684 beskrivning av standardterminologin som används för att beskriva Microsoft-programuppdateringar