subscribe to the RSS Feed

Thursday, February 9, 2012

.NET Framework 2.0: FIX: Application may stop responding after several HTTP requests are aborted if you use the HttpWebRequest class to send requests in the .NET Framework

By TechSupport


SUPPORT PROBLEM: FIX: Application may stop responding after several HTTP requests are aborted if you use the HttpWebRequest class to send requests in the .NET Framework

Applications Supported:

COPYRIGHT NOTICE: (c) 2007 Microsoft Corporation. All rights reserved.

SUPPORT SOLUTION:
Consider the following scenario:You have a Microsoft .NET Framework 2.0-based or Microsoft .NET Framework 4-based application.The application uses the System.Net.HttpWebRequest class to send HTTP requests to a remote host.The remote host uses the negotiation or NTLM authentication.Several requests are aborted. Or, a time-out issue occurs for several requests.In this scenario, the application may stop responding.Note When this issue occurs, you can generate a dump file for the hung process. If you analyze the dump file by using a debugger, the following call stacks is displayed. The call stacks indicate that multiple requests are waiting to receive a connection to the remote host. However, the maximum number of connections to the remote host is reached. Therefore, the requests stop responding until a time out occurs.Child-SP RetAddr Call Site
[Child-SP] [RetAddr] System.Threading.WaitHandle.WaitOne(Int64, Boolean)
[Child-SP] [RetAddr] System.Net.ConnectionGroup.FindConnectionAuthenticationGroup(System.Net.HttpWebRequest, System.String)
[Child-SP] [RetAddr] System.Net.ConnectionGroup.FindConnection(System.Net.HttpWebRequest, System.String)
[Child-SP] [RetAddr] System.Net.ServicePoint.SubmitRequest(System.Net.HttpWebRequest, System.String)
[Child-SP] [RetAddr] System.Net.HttpWebRequest.SubmitRequest(System.Net.ServicePoint).This issue occurs because the HttpWebRequest class does not unlock the underlying connections to the remote host if several requests are aborted. When an HttpWebRequest class locks a connection to a remote host that uses the negotiation or NTLM authentication, other requests cannot use the connection until the previous request is completed and the connection is unlocked. However, the previous request may be aborted while the connection is locked. Therefore, the connection resource is not released in the connection group, and no new connections for requests can be distributed when the connection group limit is reached..Hotfix information
2, ‘resolution’);
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 software update that contains this hotfix.
To resolve this problem immediately, 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:
http://support.microsoft.com/contactus/?ws=support
(http://support.microsoft.com/contactus/?ws=support)
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
3, ‘resolution’);
To apply this hotfix, you must have one of the following products installed on one of the associated operating system:Microsoft .NET Framework 2.0 Service Pack 2 (SP2) on one of the following operating systems:Windows Vista Service Pack 2 (SP2)Windows Server 2008 Service Pack 2 (SP2)Windows 7 or Windows 7 Service Pack 1 (SP1)Windows Server 2008 R2 or Windows Server 2008 R2 Service Pack 1 (SP1)Microsoft .NET Framework 4 for an x64-based version of one of the following operating systems:Windows XPWindows Server 2003Windows VistaWindows Server 2008Windows 7 Windows Server 2008 R2Restart requirement
3, ‘resolution’);
You must restart the computer after you apply this hotfix if the affected files are being used.We recommend that you close all instances of applications that use the .NET Framework before you install this hotfix.Hotfix replacement information
3, ‘resolution’);
This hotfix does not replace a previously released hotfix. File information
3, ‘resolution’);
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.
For all supported x86-based versions of the .NET Framework 4.0 for Windows XP, for Windows Server 2003, for Windows Vista, for Windows Server 2008, and for Windows 7
4, ‘resolution’);
Collapse this tableExpand this tableFile nameFile versionFile sizeDateTimePlatformSystem.dll4.0.30319.4483,511,11228-Mar-201105:33×86For all supported x64-based versions of the .NET Framework 4.0 for Windows XP, for Windows Server 2003, for Windows Vista, for Windows Server 2008, for Windows 7, and for Windows Server 2008 R2
4, ‘resolution’);
Collapse this tableExpand this tableFile nameFile versionFile sizeDateTimePlatformSystem.dll4.0.30319.4483,511,11228-Mar-201105:33×86For all supported IA-64-based versions of the .NET Framework 4.0 for Windows Server 2003, for Windows Server 2008, and for Windows Server 2008 R2
4, ‘resolution’);
Collapse this tableExpand this tableFile nameFile versionFile sizeDateTimePlatformSystem.dll4.0.30319.4483,511,11228-Mar-201105:33×86For all supported x86-based versions of the .NET Framework 2.0 for Windows Vista SP2 and for Windows Server 2008 SP2
4, ‘resolution’);
Collapse this tableExpand this tableFile nameFile versionFile sizeDateTimePlatformSystem.dll2.0.50727.56603,190,78424-Mar-201110:53×86For all supported x64-based versions of the .NET Framework 2.0 for Windows Vista SP2 and for Windows Server 2008 SP2
4, ‘resolution’);
Collapse this tableExpand this tableFile nameFile versionFile sizeDateTimePlatformSystem.dll2.0.50727.56603,190,78424-Mar-201110:51×86For all supported IA-64-based versions of the .NET Framework 2.0 for Windows Server 2008 SP2
4, ‘resolution’);
Collapse this tableExpand this tableFile nameFile versionFile sizeDateTimePlatformSystem.dll2.0.50727.56603,190,78424-Mar-201111:20×86For all supported x86-based versions of the .NET Framework 2.0 for Windows 7
4, ‘resolution’);
Collapse this tableExpand this tableFile nameFile versionFile sizeDateTimePlatformSystem.dll2.0.50727.56603,190,78429-Mar-201122:33×86For all supported x64-based versions of the .NET Framework 2.0 for Windows 7 and for Windows Server 2008 R2
4, ‘resolution’);
Collapse this tableExpand this tableFile nameFile versionFile sizeDateTimePlatformSystem.dll2.0.50727.56623,190,78429-Mar-201122:30×86For all supported IA-64-based versions of the .NET Framework 2.0 for  for Windows Server 2008 R2
4, ‘resolution’);
Collapse this tableExpand this tableFile nameFile versionFile sizeDateTimePlatformSystem.dll2.0.50727.56623,190,78429-Mar-201122:24×86For all supported x86-based versions of the .NET Framework 2.0 for Windows 7 SP1
4, ‘resolution’);
Collapse this tableExpand this tableFile nameFile versionFile sizeDateTimePlatformSystem.dll2.0.50727.56603,190,78424-Mar-201101:19×86For all supported x64-based versions of the .NET Framework 2.0 for Windows 7 SP1 and for Windows Server 2008 R2 SP1
4, ‘resolution’);
Collapse this tableExpand this tableFile nameFile versionFile sizeDateTimePlatformSystem.dll2.0.50727.56603,190,78424-Mar-201101:19×86For all supported IA-64-based versions of the .NET Framework 2.0 for Windows Server 2008 R2 SP1
4, ‘resolution’);
Collapse this tableExpand this tableFile nameFile versionFile sizeDateTimePlatformSystem.dll2.0.50727.56603,190,78424-Mar-201101:12×86.Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the “Applies to” section.
.Additional file information

Additional files for x86-based versions of Windows Vista SP2 and of Windows Server 2008 SP2
4,
Collapse this tableExpand this tableFile nameMsil_system_b77a5c561934e089_6.0.6002.22620_none_c3a01c5575eedae0.manifestFile versionNot ApplicableFile size10,999Date (UTC)24-Mar-2011Time (UTC) 15:39Additional files for x64-based versions of Windows Vista SP2 and of Windows Server 2008 SP2
4,
Collapse this tableExpand this tableFile nameAmd64_netfx-system_b03f5f7f11d50a3a_6.0.6002.22620_none_d3e3919b5b2306b5.manifestFile versionNot ApplicableFile size12,177Date (UTC)24-Mar-2011Time (UTC) 15:43File nameMsil_system_b77a5c561934e089_6.0.6002.22620_none_c3a01c5575eedae0.manifestFile versionNot ApplicableFile size10,999Date (UTC)24-Mar-2011Time (UTC)15:39Additional files for IA-64-based versions of Windows Server 2008 SP2
4,
Collapse this tableExpand this tableFile nameIa64_netfx-system_b03f5f7f11d50a3a_6.0.6002.22620_none_1b90a6346f9f679f.manifestFile versionNot ApplicableFile size12,144Date (UTC)24-Mar-2011Time (UTC) 15:36File nameMsil_system_b77a5c561934e089_6.0.6002.22620_none_c3a01c5575eedae0.manifestFile versionNot ApplicableFile size10,999Date (UTC)24-Mar-2011Time (UTC)15:39Additional files for x86-based versions of Windows 7
4,
Collapse this tableExpand this tableFile nameMsil_system_b77a5c561934e089_6.1.7600.20935_none_9844719031f02167.manifestFile versionNot ApplicableFile size2,587Date (UTC)30-Mar-2011Additional files for x64-based versions of Windows 7 and of Windows Server 2008 R2
4,
Collapse this tableExpand this tableFile nameAmd64_netfx-system_b03f5f7f11d50a3a_6.1.7600.20935_none_a887e6d617244d3c.manifestFile versionNot ApplicableFile size2,096Date (UTC)30-Mar-2011Time (UTC) 06:06File nameMsil_system_b77a5c561934e089_6.1.7600.20935_none_9844719031f02167.manifestFile versionNot ApplicableFile size2,587Date (UTC)30-Mar-2011Time (UTC)05:14Additional files for IA-64-based versions of Windows Server 2008 R2
4,
Collapse this tableExpand this tableFile nameIa64_netfx-system_b03f5f7f11d50a3a_6.1.7600.20935_none_f034fb6f2ba0ae26.manifestFile versionNot ApplicableFile size2,095Date (UTC)30-Mar-2011Time (UTC) 06:06File nameMsil_system_b77a5c561934e089_6.1.7600.20935_none_9844719031f02167.manifestFile versionNot ApplicableFile size2,587Date (UTC)30-Mar-2011Time (UTC)05:14Additional files for x86-based version of Windows 7 SP1
4,
Collapse this tableExpand this tableFile nameMsil_system_b77a5c561934e089_6.1.7601.21691_none_9826c7e2323b6310.manifestFile versionNot ApplicableFile size2,587Date (UTC)24-Mar-2011Time (UTC) 07:41Additional files for x64-based versions of Windows 7 SP1 and of Windows Server 2008 R2 SP1
4,
Collapse this tableExpand this tableFile nameAmd64_netfx-system_b03f5f7f11d50a3a_6.1.7601.21691_none_a86a3d28176f8ee5.manifestFile versionNot ApplicableFile size2,096Date (UTC)24-Mar-2011Time (UTC) 08:37File nameMsil_system_b77a5c561934e089_6.1.7601.21691_none_9826c7e2323b6310.manifestFile versionNot ApplicableFile size2,587Date (UTC)24-Mar-2011Time (UTC)07:41Additional files for IA-64-based versions of Windows Server 2008 R2 SP1
4,
Collapse this tableExpand this tableFile nameIa64_netfx-system_b03f5f7f11d50a3a_6.1.7601.21691_none_f01751c12bebefcf.manifestFile versionNot ApplicableFile size2,095Date (UTC)24-Mar-2011Time (UTC)08:31File nameMsil_system_b77a5c561934e089_6.1.7601.21691_none_9826c7e2323b6310.manifestFile versionNot ApplicableFile size2,587Date (UTC)24-Mar- 2011Time (UTC)07:41.

For File Repair and Data Recovery, visit File Repair / Data Recovery