FIX: Smsvchost.exe may crash when the Net.Tcp Port Sharing Service is used by a .NET Framework 4-based WCF service

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

On This Page

SYMPTOMS

Consider the following scenario:
  • You enable the Net.Tcp Port Sharing Service, and you start the Smsvchost.exe process on a computer.
  • You run a Microsoft .NET Framework 4-based Windows Communication Foundation (WCF) service that uses the Net.Tcp Port Sharing Service.
  • Garbage collection occurs frequently.
In this scenario, a System.ExecutionEngineException exception may occur. When this exception occurs, the Smsvchost.exe process crashes.

CAUSE

This issue occurs because the Net.Tcp Port Sharing Service incorrectly pins shared objects by using the garbage collector.

RESOLUTION

Hotfix information

To resolve this issue, apply hotfix 2504602 that is described in Microsoft Knowledge Base (KB) article.

For more information, click the following article number 2504602 to view the article 2504602 in the Microsoft Knowledge Base:
2504602 A hotfix rollup package is available for WCF in the .NET Framework 3.0 SP2 and in the .NET Framework 4

STATUS

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

Properties

Article ID: 2536401 - Last Review: April 25, 2011 - Revision: 2.0
APPLIES TO
  • Windows Communication Foundation 4
  • Microsoft .NET Framework 4
Keywords: 
kbexpertiseadvanced kbsurveynew kbqfe kbfix KB2536401

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