Microsoft KB Archive/938758

= FIX: The Unload method may stop responding (hang) in a Windows Workflow Foundation project =

Article ID: 938758

Article Last Modified on 10/15/2007

-

APPLIES TO


 * Windows Workflow Foundation

-



SYMPTOMS
In a Microsoft Windows Workflow Foundation project, the Unload method may stop responding (hang). This problem may occur when a Replicator activity is inside a TransactionScope activity.



CAUSE
This problem occurs because a parallel Replicator activity does not receive a Closed signal from an inner Code activity.

This problem may occur if the following conditions are true:
 * The Windows Workflow Foundation project contains two or more nested ActivityExecutionContext (AEC) switches.
 * The innermost AEC switch is executed in an atomic transaction.



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 Microsoft .NET Framework 3.0 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.

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.

The .NET Framework 3.0 together with Windows XP Service Pack 2, a later Windows XP service pack, Windows Server 2003 Service Pack 1, or a later Windows Server 2003 service pack, x86-based versions


STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
Typically, the Unload method stops responding when a workflow contains one or more of the following sequences of activities:
 * A While activity, a TransactionScope activity, a Replicator activity, and then a Code activity
 * A While activity, a TransactionScope activity, a While activity, and then any subtree
 * A TransactionScope activity, a Replicator activity, a While activity, and then any subtree
 * A Replicator activity, a TransactionScope activity, a Replicator activity, and then any subtree

Keywords: kbpubtypekc kbqfe kbhotfixserver kbcode kbbug kbprb KB938758

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.