FIX: The Web service stops responding, and an exception is thrown when you run a .NET Framework 2.0 SP2-based asynchronous Web service

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

SYMPTOMS

Consider the following scenario:
  • You run a Microsoft .NET Framework 2.0 Service Pack 2 (SP2)-based asynchronous Web service.
  • The HttpWebRequest asynchronous operation sends a Web request to the Web service.
  • The Web service throws an exception.
In this scenario, the HttpWebRequest asynchronous operation does not call the BeginGetResponse method or the callback function. However, the HttpWebRequest asynchronous operation is still completed even though you expect it to stop. Then, the Web service stops responding, and the CPU usage on the server may increase to 100% and cause the server to stop responding.

CAUSE

This problem occurs because the exception-handling logic in this scenario does not consider the case in which the HttpWebRequest.EndGetRequestStream method throws an exception when that exception contains a response.

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 service pack 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 Web site:
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

You must have the .NET Framework 2.0 SP2 or the .NET Framework 3.5 SP1 installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you install the hotfix if no relative .NET Framework instance is 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.
x86 version for Windows Vista SP2 and for Windows Server 2008 SP2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.web.services.dll2.0.50727.4055839,68017-Jul-200909:22x86
x64 version of Windows Vista SP2 and of Windows Server 2008 SP2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.web.services.dll2.0.50727.4055839,68017-Jul-200909:22x86
Itanium-based version of Windows Server 2008 SP2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.web.services.dll2.0.50727.4055839,68017-Jul-200909:22x86

STATUS

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

More information for the x86 version of Windows Vista SP2 and for Windows Server 2008 SP2

Collapse this tableExpand this table
File nameMsil_system.web.services_b03f5f7f11d50a3a_6.0.6002.22179_none_dbda22e9cc0c2aef.manifest
File versionNot Applicable
File size4,554
Date (UTC)17-Jul-2009
Time (UTC)15:41
PlatformNot Applicable
File namePackage_for_kb973134_client_2~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size19,691
Date (UTC)18-Jul-2009
Time (UTC)09:51
PlatformNot Applicable
File namePackage_for_kb973134_client~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,432
Date (UTC)18-Jul-2009
Time (UTC)09:51
PlatformNot Applicable
File namePackage_for_kb973134_server_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size19,701
Date (UTC)18-Jul-2009
Time (UTC)09:51
PlatformNot Applicable
File namePackage_for_kb973134_server~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,432
Date (UTC)18-Jul-2009
Time (UTC)09:51
PlatformNot Applicable

More information for the x64 version of Windows Vista SP2 and for Windows Server 2008 SP2

Collapse this tableExpand this table
File nameAmd64_netfx-system.web.services_b03f5f7f11d50a3a_6.0.6002.22179_none_0d44584e424881ca.manifest
File versionNot Applicable
File size5,395
Date (UTC)17-Jul-2009
Time (UTC)17:31
PlatformNot Applicable
File namePackage_for_kb973134_client_2~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size19,893
Date (UTC)18-Jul-2009
Time (UTC)09:51
PlatformNot Applicable
File namePackage_for_kb973134_client~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,440
Date (UTC)18-Jul-2009
Time (UTC)09:51
PlatformNot Applicable
File namePackage_for_kb973134_server_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size19,905
Date (UTC)18-Jul-2009
Time (UTC)09:51
PlatformNot Applicable
File namePackage_for_kb973134_server~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,440
Date (UTC)18-Jul-2009
Time (UTC)09:51
PlatformNot Applicable

More information for the Itanium-based version of Windows Server 2008 SP2

Collapse this tableExpand this table
File nameIa64_netfx-system.web.services_b03f5f7f11d50a3a_6.0.6002.22179_none_54f16ce756c4e2b4.manifest
File versionNot Applicable
File size5,383
Date (UTC)17-Jul-2009
Time (UTC)15:11
PlatformNot Applicable
File namePackage_for_kb973134_server_1~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size5,241
Date (UTC)18-Jul-2009
Time (UTC)09:51
PlatformNot Applicable
File namePackage_for_kb973134_server~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,435
Date (UTC)18-Jul-2009
Time (UTC)09:51
PlatformNot Applicable

Properties

Article ID: 973134 - Last Review: September 28, 2009 - Revision: 2.0
APPLIES TO
  • Microsoft .NET Framework 3.5 Service Pack 1
  • Microsoft .NET Framework 2.0 Service Pack 2
Keywords: 
kbhotfixserver kbexpertiseadvanced kbqfe kbsurveynew KB973134

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