A .NET Framework 2.0-based Multi-AppDomain application stops responding when you run the application

Article translations Article translations
Article ID: 979744 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

You have a Microsoft .NET Framework 2.0-based Multi-AppDomain application. When you run the application, an infinite loop occurs in the common language runtime (CLR) worker threads. Then, the application stops responding. Additionally, the memory usage of the operating system increases significantly.

Note This symptom occurs for various reasons. The hotfix in this article only resolves this problem for the cause described in the "Cause" section.

CAUSE

This problem occurs because an application domain cannot unload successfully. The CLR does not report this failure to the thread pool where the worker threads are running. Therefore, the thread pool waits indefinitely for the result of the unload operation instead of handling work that is queued by the application domain.

Note Typically, an application domain cannot unload successfully because of a time out.

RESOLUTION

Note This hotfix was updated on April 20, 2011 to resolve the following known issue:
  • After you install security update 2449742 or 2446709 on a computer that is running Microsoft Exchange Server, Microsoft SQL Server, or Microsoft PowerShell, you may experience problems with Exchange Server, SQL Server, or PowerShell-related crashes.

    For more information about this issue, click the following article number to view the article in the Microsoft Knowledge Base:
    2540222 Exchange Server, SQL Server, or PowerShell crashes after you install security update 2449742 or 2446709

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only 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 service pack that contains this hotfix.

To download this hotfix from the Microsoft Developer Network (MSDN) Code Gallery, visit the following Microsoft website:
http://code.msdn.microsoft.com/KB979744
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 Alternatively, you can download this hotfix rollup from the following Microsoft Connect website:
http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=27109

Prerequisites

You must have the .NET Framework 2.0 Service Pack 2 (SP2) or the .NET Framework 3.5 Service Pack 1 (SP1) installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply the hotfix if the files that the hotfix affects are not being used.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English (United States) 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.
For all supported x86-based versions of Windows Server 2003 and of Windows XP
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Mscordacwks.dll2.0.50727.4431989,01625-Jan-201004:32x86
Mscorlib.dll2.0.50727.44314,550,65625-Jan-201004:32x86
Mscorwks.dll2.0.50727.44315,819,21625-Jan-201004:32x86
Sos.dll2.0.50727.4431388,93625-Jan-201004:32x86
For all supported x64-based versions of Windows Server 2003 and of Windows XP
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Mscordacwks.dll2.0.50727.44311,758,55224-Jan-201022:55x64
Mscorlib.dll2.0.50727.44314,567,04024-Jan-201022:50x64
Mscorwks.dll2.0.50727.443110,061,64824-Jan-201022:54x64
Sos.dll2.0.50727.4431485,19224-Jan-201022:52x64
For all supported IA-64-based versions of Windows Server 2003 and of Windows XP
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Mscordacwks.dll2.0.50727.44313,085,14424-Jan-201023:47IA-64
Mscorlib.dll2.0.50727.44314,009,98424-Jan-201023:45IA-64
Mscorwks.dll2.0.50727.443120,174,67224-Jan-201023:41IA-64
Sos.dll2.0.50727.4431872,77624-Jan-201023:44IA-64
For all supported x86-based versions of Windows Vista SP2 and Windows Server 2008 SP2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
Mscorlib.dll2.0.50727.44564,550,65604-Jun-201011:36
Mscordacwks.dll2.0.50727.4456989,01604-Jun-201011:36
Mscorwks.dll2.0.50727.44565,819,72804-Jun-201011:36
Sos.dll2.0.50727.4456388,93604-Jun-201011:36
For all supported x64-based versions of Windows Vista SP2 and Windows Server 2008 SP2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Mscorlib.dll2.0.50727.44564,567,04004-Jun-201011:36x64
Mscordacwks.dll2.0.50727.44561,758,55204-Jun-201011:36x64
Mscorwks.dll2.0.50727.445610,053,96804-Jun-201011:36x64
Sos.dll2.0.50727.4456485,19204-Jun-201011:36x64
Mscorlib.dll2.0.50727.44564,550,65604-Jun-201011:36x86
Mscordacwks.dll2.0.50727.4456989,01604-Jun-201011:36x86
Mscorwks.dll2.0.50727.44565,819,72804-Jun-201011:36x86
Sos.dll2.0.50727.4456388,93604-Jun-201011:36x86
For all supported IA-64-based versions of Windows Server 2008 SP2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Mscorlib.dll2.0.50727.44564,009,98404-Jun-201011:35IA-64
Mscordacwks.dll2.0.50727.44563,085,14404-Jun-201011:35IA-64
Mscorwks.dll2.0.50727.445620,176,20804-Jun-201011:35IA-64
Sos.dll2.0.50727.4456872,77604-Jun-201011:35IA-64
Mscorlib.dll2.0.50727.44564,550,65604-Jun-201011:36x86
Mscordacwks.dll2.0.50727.4456989,01604-Jun-201011:36x86
Mscorwks.dll2.0.50727.44565,819,72804-Jun-201011:36x86
Sos.dll2.0.50727.4456388,93604-Jun-201011:36x86


For all supported x86-based versions of Windows 7
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
Mscorlib.dll2.0.50727.50214,550,65616-Jul-201003:51
Mscordacwks.dll2.0.50727.5021995,67216-Jul-201003:51
Mscorwks.dll2.0.50727.50215,822,80016-Jul-201003:51
Sos.dll2.0.50727.5021388,93616-Jul-201003:51
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Mscorlib.dll2.0.50727.50214,567,04016-Jul-201003:49x64
Mscordacwks.dll2.0.50727.50211,755,48016-Jul-201003:49x64
Mscorwks.dll2.0.50727.502110,042,70416-Jul-201003:50x64
Sos.dll2.0.50727.5021485,19216-Jul-201003:50x64
Mscorlib.dll2.0.50727.50214,550,65616-Jul-201003:51x86
Mscordacwks.dll2.0.50727.5021995,67216-Jul-201003:51x86
Mscorwks.dll2.0.50727.50215,822,80016-Jul-201003:51x86
Sos.dll2.0.50727.5021388,93616-Jul-201003:51x86
For all supported IA-64-based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Mscorlib.dll2.0.50727.50214,009,98416-Jul-201003:49IA-64
Mscordacwks.dll2.0.50727.50213,082,07216-Jul-201003:49IA-64
Mscorwks.dll2.0.50727.502120,188,49616-Jul-201003:49IA-64
Sos.dll2.0.50727.5021872,77616-Jul-201003:49IA-64
Mscorlib.dll2.0.50727.50214,550,65616-Jul-201003:51x86
Mscordacwks.dll2.0.50727.5021995,67216-Jul-201003:51x86
Mscorwks.dll2.0.50727.50215,822,80016-Jul-201003:51x86
Sos.dll2.0.50727.5021388,93616-Jul-201003:51x86

If this hotfix is not posted for public download (meaning a public URL for this hotfix is not provided in this article), distribution requires technical lead, escalation team member, or manager approval and the following information applies:
  • To receive the hotfix, customers must be experiencing the bug that is mentioned in the "Symptoms" section.
  • You must track the customers you send this to and supply them with the next service pack when it becomes available (if a service pack is released).
This hotfix is scheduled to be included with Windows Vista Service Pack 3 (SP3), and was included Windows 7 Service Pack 1 (SP1).

STATUS

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

MORE INFORMATION

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 979744 - Last Review: April 20, 2011 - Revision: 3.0
APPLIES TO
  • Microsoft .NET Framework 2.0
Keywords: 
kbexpertiseadvanced kbsurveynew kbqfe kbHotfixServer KB979744

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com