FIX: The W3wp.exe process crashes when a service operation is implemented asynchronously in a WCF service that is running in ASP.NET 2.0 compatibility mode

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

On This Page

SYMPTOMS

On a computer that has the .NET Framework 3.5 Service Pack 1 (SP1) installed, you host a Windows Communication Foundation (WCF) service in Internet Information Services (IIS). Additionally, you enable the WCF service to run in Microsoft ASP.NET compatibility mode. When a service operation is implemented asynchronously in the WCF service, the IIS worker process (W3wp.exe) crashes.

CAUSE

This problem occurs because of an error in Microsoft ASP.NET 2.0.

RESOLUTION

Hotfix information

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.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

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:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must have the .NET Framework 3.5 Service Pack 1 (SP1) running on one of the following operating systems:
  • Windows Vista Service Pack 2 (SP2)
  • Windows Server 2008 SP2

Restart requirement

You may have to restart the computer after you apply this hotfix if any affected files are being used when you install the hotfix. Shut down all ASP.NET Web sites before you install the hotfix to avoid having to restart the computer.

Hotfix replacement information

This hotfix does not replace 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.
For all supported 32-bit versions of the .NET Framework 3.5
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe2.0.50727.442230,54416-Nov-200908:50x86
Webengine.dll2.0.50727.4422435,53616-Nov-200908:50x86
System.web.dll2.0.50727.44225,242,88016-Nov-200908:50x86
For all supported 64-bit versions of the .NET Framework 3.5
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe2.0.50727.442242,32016-Nov-200908:51x64
Webengine.dll2.0.50727.4422744,27216-Nov-200908:51x64
System.web.dll2.0.50727.44225,255,16816-Nov-200908:51x64
For all supported IA-64-based versions of the .NET Framework 3.5
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe2.0.50727.442282,25616-Nov-200908:50IA-64
Webengine.dll2.0.50727.44221,229,13616-Nov-200908:50IA-64
System.web.dll2.0.50727.44224,771,84016-Nov-200908:50IA-64

STATUS

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

MORE INFORMATION

To run WCF services in ASP.NET compatibility mode, you must include the following configuration in the ASP.NET Web.config file:
<system.serviceModel> 
<serviceHostingEnvironment aspNetCompatibilityEnabled=”true” /> 
</system.serviceModel>
For more information about how to run WCF Services in ASP.NET compatibility mode, visit the following Microsoft Developer Network (MSDN) Web sites:
http://msdn.microsoft.com/en-us/library/aa702682.aspx
http://msdn.microsoft.com/en-us/library/system.servicemodel.activation.aspnetcompatibilityrequirementsmode.aspx
http://msdn.microsoft.com/en-us/library/ms752234.aspx
For more information about how to implement a service operation asynchronously in a WCF application, visit the following MSDN Web site:
http://msdn.microsoft.com/en-us/library/ms731177.aspx

Properties

Article ID: 977104 - Last Review: October 7, 2011 - Revision: 2.0
APPLIES TO
  • Microsoft ASP.NET 2.0
  • Microsoft .NET Framework 3.5 Service Pack 1
Keywords: 
kbexpertiseadvanced kbsurveynew kbqfe KB977104

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