Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Update 4.0.1 for Microsoft .NET Framework 4 – Runtime Update


View products that this article applies to.

Introduction

A platform update for the Microsoft .NET Framework 4 is available. This update contains some new Windows Workflow Foundation 4 (WF4) features that are based on some requests from advanced customer and that are based on some important .NET Framework scenarios.

This platform update updates only the runtime files for the .NET Framework 4. For more information about the details of this update, see the "More Information" section.

↑ Back to the top


More Information

Features that this update introduces

Windows Workflow Foundation 4 State Machine Activity

The state machine is a well-known runtime model that is used across the industry to model event-driven systems.

With this platform update, customers can use a state machine model to model their business processes by using a simplified API and design experience from the Windows Workflow Foundation 3 (WF3) State Machine.

This update includes the following new features for WF4 State Machine:
  • Entry and exit actions for a state
  • Conditional and default transitions that have transition actions
  • Scoped variables for a state machine
  • Improved tracking support
This platform update also introduces the following features for the Workflow Designer:
  • Auto connect
  • Auto insert
  • Aggregate State and Transition views that aid configuration and navigation
For more information about how to use the Workflow State Machine, visit the following Microsoft websites:

SQL WF4 Instance Store (SWIS) on SQL Azure

With this platform update, Workflow 4 customers can use SQL Workflow Instance Store together with SQL Azure. For SQL Azure, this update changes the following:
  • The existing schema installation Sqlworkflowinstancestoreschema.sql script uses an unsupported allow_page_locks keyword. Because of the unsupported keyword, an installation of SQL Workflow Instance Store fails when you try to install SQL Workflow Instance Store to be used together with SQL Azure. This update removes the keyword in some conditions by using an updated script.
  • The retry mechanism of SQL Workflow Instance Store is not customized for SQL Azure. Therefore, the computer encounters some potential reliability issues if the network fails periodically or if the connection is lost. In order to handle this issue, this update contains the following features:
    • The behavior and configuration elements for a new public MaxConnectionRetries property are exposed in the SqlWorkflowInstanceStore class. Users can configure the max number of reconnection attempts for SQL connections that are based on the network characteristics. The default value is three retries at a 1-second interval in order to stay consistent with the .NET Framework 4 for typical SQL Server deployments. We recommend that you set the values in the configuration or code to a value that is larger than 15 for SQL Azure. 
    • The following new set of error codes are added to the retry logic in SQL Workflow Instance Store. These error codes are specific to SQL Azure scenarios.
      Error codeError message
      40197The service has encountered an error processing your request. Please try again.
      40501The service is currently busy. Retry the request after 10 seconds.
      10053A transport-level error has occurred when receiving results from the server. An established connection was aborted by the software in your host machine.
      40613Database database name on server server name is not currently available. Please retry the connection later. If the problem persists, contact customer support, and provide them the session tracing ID of session tracing ID.
      20The instance of SQL Server you attempted to connect to does not support encryption.

Enable custom workflow hosts to use WF4 compensation

This platform update introduced new activities to model compensation behavior in WF4. In order to make a long-running process, these activities rely on the CompensationExtension extension that can be used from our primary WorkflowServiceHost host to save and reload the necessary state from persistent storage. This feature can be used by a customer who is interested in introducing a new workflow host that requires compensation. The new CompensationExtension type is exposed after you apply this update.

Microsoft Visual Studio 2010 support

In order to develop applications on Visual Studio 2010 Service Pack 1 (SP1) by using any of the new features in this update, you have to also install the following update:
2495593  Update 4.0.1 for Microsoft .NET Framework 4 - Design-Time Update for Visual Studio 2010 SP1 
After you apply this update, you can obtain a Multi-Targeting pack that supplies the reference assemblies for IntelliSense and for compilation that support the new functionality in this runtime update. This update also provides you the design-time support for a StateMachine workflow by using the StateMachine workflow designer.

Download information

The update is available for download from the following Microsoft Download Center website:
Download Download the update package now.
For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Prerequisites

To install this update, you must have the following software installed:
  • Windows Installer 3.1 or a later version.
    To obtain the latest version of Windows Installer, visit the following Microsoft website:
  • Microsoft .NET Framework 4 or Microsoft .NET Framework 4 Client Profile
Note Microsoft .NET Framework 4 Platform Update 1 – Runtime Update is a targetable framework and is built for the .NET Framework 4. This update is not a cumulative framework version.

Command-line switches for this update

For information about the various command-line switches that are supported by this update, visit the following Microsoft website:
227091  Command-Line Switches for the Microsoft Windows Installer Tool
For more information about Windows Installer, visit the following Microsoft website:

Restart requirement

This update does not require a system restart after you apply the update unless the files that are being updated are locked or are being used.

Update removal information

To remove this update, use Add or Remove Programs in Control Panel.

Update replacement information

This update does not replace a previously released update.

File information

The global version of this update uses a Microsoft Windows Installer package to install the update. The dates and the times for these files are listed in Coordinated Universal Time (UTC) in the following table. When you view the file information, the date 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 GDR versions of operating systems
File nameFile versionFile sizeDateTime
SqlWorkflowInstanceStoreLogic.sqlNot Applicable51,06322-Mar-201122:10
SqlWorkflowInstanceStoreSchema.sqlNot Applicable23,73922-Mar-201122:10
System.Activities.Core.Presentation.dll4.0.30319.232618,37623-Mar-201104:58
System.Activities.dll4.0.30319.2321,218,91223-Mar-201104:59
System.Activities.DurableInstancing.dll4.0.30319.232124,80823-Mar-201104:59
System.Activities.Presentation.dll4.0.30319.2321,558,90423-Mar-201104:59
System.ServiceModel.Activities.dll4.0.30319.232513,40023-Mar-201104:59
PerfCounters.iniNot Applicable154,22222-Mar-201118:36

For all supported x64-based GDR versions of operating systems
File nameFile versionFile sizeDateTime
SqlWorkflowInstanceStoreLogic.sqlNot Applicable51,06323-Mar-201105:39
SqlWorkflowInstanceStoreLogic.sqlNot Applicable51,06322-Mar-201122:10
SqlWorkflowInstanceStoreSchema.sqlNot Applicable23,73923-Mar-201105:39
SqlWorkflowInstanceStoreSchema.sqlNot Applicable23,73922-Mar-201122:10
System.Activities.Core.Presentation.dll4.0.30319.232618,37623-Mar-201104:58
System.Activities.dll4.0.30319.2321,218,91223-Mar-201104:59
System.Activities.DurableInstancing.dll4.0.30319.232124,80823-Mar-201104:59
System.Activities.Presentation.dll4.0.30319.2321,558,90423-Mar-201104:59
System.ServiceModel.Activities.dll4.0.30319.232513,40023-Mar-201104:59
PerfCounters.iniNot Applicable154,22222-Mar-201118:36
For all supported IA-64-based GDR versions of operating systems
File nameFile versionFile sizeDateTime
SqlWorkflowInstanceStoreLogic.sqlNot Applicable51,06323-Mar-201113:11
SqlWorkflowInstanceStoreLogic.sqlNot Applicable51,06322-Mar-201122:10
SqlWorkflowInstanceStoreSchema.sqlNot Applicable23,73923-Mar-201113:11
SqlWorkflowInstanceStoreSchema.sqlNot Applicable23,73922-Mar-201122:10
System.Activities.Core.Presentation.dll4.0.30319.232618,37623-Mar-201104:58
System.Activities.dll4.0.30319.2321,218,91223-Mar-201104:59
System.Activities.DurableInstancing.dll4.0.30319.232124,80823-Mar-201104:59
System.Activities.Presentation.dll4.0.30319.2321,558,90423-Mar-201104:59
System.ServiceModel.Activities.dll4.0.30319.232513,40023-Mar-201104:59
PerfCounters.iniNot Applicable154,22222-Mar-201118:36
For all supported x86-based LDR versions of operating systems
File nameFile versionFile sizeDateTime
Setup.exe10.0.30319.44778,15222-Mar-201111:13
SetupEngine.dll10.0.30319.447809,30422-Mar-201111:13
SetupUi.dll10.0.30319.447295,24822-Mar-201111:13
SqlWorkflowInstanceStoreLogic.sqlNot Applicable51,06322-Mar-201115:08
SqlWorkflowInstanceStoreSchema.sqlNot Applicable23,73922-Mar-201115:08
System.Activities.Core.Presentation.dll4.0.30319.447618,37623-Mar-201113:37
System.Activities.dll4.0.30319.4471,218,91223-Mar-201113:37
System.Activities.DurableInstancing.dll4.0.30319.447124,80823-Mar-201113:37
System.Activities.Presentation.dll4.0.30319.4471,558,90423-Mar-201113:37
System.ServiceModel.Activities.dll4.0.30319.447513,40023-Mar-201113:37
PerfCounters.iniNot Applicable154,22222-Mar-201110:56
For all supported x64-based LDR versions of operating systems
File nameFile versionFile sizeDateTime
Setup.exe10.0.30319.44778,15222-Mar-201111:13
SetupEngine.dll10.0.30319.447809,30422-Mar-201111:13
SetupUi.dll10.0.30319.447295,24822-Mar-201111:13
SqlWorkflowInstanceStoreLogic.sqlNot Applicable51,06323-Mar-201114:14
SqlWorkflowInstanceStoreLogic.sqlNot Applicable51,06322-Mar-201115:08
SqlWorkflowInstanceStoreSchema.sqlNot Applicable23,73923-Mar-201114:14
SqlWorkflowInstanceStoreSchema.sqlNot Applicable23,73922-Mar-201115:08
System.Activities.Core.Presentation.dll4.0.30319.447618,37623-Mar-201113:37
System.Activities.dll4.0.30319.4471,218,91223-Mar-201113:37
System.Activities.DurableInstancing.dll4.0.30319.447124,80823-Mar-201113:37
System.Activities.Presentation.dll4.0.30319.4471,558,90423-Mar-201113:37
System.ServiceModel.Activities.dll4.0.30319.447513,40023-Mar-201113:37
PerfCounters.iniNot Applicable154,22222-Mar-201110:56
For all supported IA-64-based LDR versions of operating systems
File nameFile versionFile sizeDateTime
Setup.exe10.0.30319.44778,15222-Mar-201111:13
SetupEngine.dll10.0.30319.447809,30422-Mar-201111:13
SetupUi.dll10.0.30319.447295,24822-Mar-201111:13
SqlWorkflowInstanceStoreLogic.sqlNot Applicable51,06324-Mar-201121:54
SqlWorkflowInstanceStoreLogic.sqlNot Applicable51,06322-Mar-201115:08
SqlWorkflowInstanceStoreSchema.sqlNot Applicable23,73924-Mar-201121:54
SqlWorkflowInstanceStoreSchema.sqlNot Applicable23,73922-Mar-201115:08
System.Activities.Core.Presentation.dll4.0.30319.447618,37623-Mar-201113:37
System.Activities.dll4.0.30319.4471,218,91223-Mar-201113:37
System.Activities.DurableInstancing.dll4.0.30319.447124,80823-Mar-201113:37
System.Activities.Presentation.dll4.0.30319.4471,558,90423-Mar-201113:37
System.ServiceModel.Activities.dll4.0.30319.447513,40023-Mar-201113:37
PerfCounters.iniNot Applicable154,22222-Mar-201110:56

↑ Back to the top


Keywords: kb, kbqfe, atdownload, kbexpertiseadvanced, kbsurveynew

↑ Back to the top

Article Info
Article ID : 2478063
Revision : 3
Created on : 4/17/2018
Published on : 4/17/2018
Exists online : False
Views : 485