Applies To.NET Framework 4.7 .NET Framework 4.6 .NET Framework 4.6.1 .NET Framework 4.6.2

View products that this article applies to.

Introduction

This July 2017 preview update for Windows Server 2008 Service Pack 2 (SP2) includes cumulative reliability improvements in the .NET Framework 4.6. Additionally, this preview update for Windows 7 Service Pack 1 (SP1) and Windows Server 2008 R2 SP1 includes cumulative reliability improvements in the .NET Framework 4.6, 4.6.1, 4.6.2, and 4.7. We recommend that you apply this update as part of your regular maintenance routines. Before you install this update, see the "Prerequisites" and "Restart requirement" sections.

Important

  • If you install a language pack after you install this update, you must reinstall this update. Therefore, we recommend that you install any language packs that you need before you install this update. For more information, see Add language packs to Windows.

Known issues in this update

If you upgrade to the .NET Framework 4.7 after you apply this update on a touch-enabled device, you may experience COMException errors in your Windows Presentation Framework (WPF) applications. For more information, see the following article in the Microsoft Knowledge Base:

4033488 "COMException" error from WPF applications after the .NET Framework 4.7 is installed on Windows 7 or Windows Server 2008 R2

Quality and reliability improvements

This update contains cumulative updates that were released previously starting on October 11, 2016. Additionally, this update contains fixes to the following issues.

Common language runtime (CLR)

  • Preallocated jump stubs for dynamic methods are improved. Additionally, changes to AMD64 direct calls are improved for better handling of out-of-range cases.

  • Fixed: The ordering of loader locks to avoid intermittent deadlock during GC that involve complex generic types.

  • When arranging an array of struct A and array of struct B as SAFEARRAY, and struct A/B has identical GUIDs, a memory leak may occur.

Entity Framework (EF)

  • If there are more than 1,000 queries in an EF 4.x application, the application may slow down because the size limit of the query cache is exceeded. After you apply this fix, you can change the query cache size through the following appSettings entry:

     <appSettings>
        <add key="EntityFramework_QueryCacheSize" value="3000"/>
     </appSettings>

SQL

  • An OverflowException or IndexOutOfRangeException may be thrown during the prelogin phase of opening a SQL Connection because of receiving a TDS packet that is smaller than expected.

  • When the client opens a connection to the server, sqlclient creates a handle and does not close it when the connection is disposed of. This can cause too many handle leaks if millions of connections open in a short time. This can cause the system to freeze. This fix closes the handles after the connection is closed.

System

Windows Management Infrastructure (WMI)

  • Windows Management Infrastructure (WMI) setting of privileges is event-driven to support changes in the option values.

Windows Presentation Framework (WPF)

  • A Windows Presentation Framework (WPF) application that runs on a touch-enabled or stylus-enabled device may experience crashes that are related to memory corruption in PenIMC.dll. This update addresses these issues.

  • Under certain conditions, WPF applications that use Spellcheck together with custom dictionaries can crash and generate a NullReferenceException error. This especially applies to those applications that call into the SpellCheck.CustomDictionaries.Clear() method. This update addresses this issue.

Winforms

  • Under certain conditions, the menu bar list of child windows in Multiple-Document Interface Windows Forms Applications gets out of sync with the actual list of open child windows. This makes it difficult for users to select the correct window.

Additional information about this update

For more information about this update as it relates to Windows 7 SP1 and Windows Server 2008 R2 SP1, see the following article in the Microsoft Knowledge Base:

4032113 July 2017 Preview of Quality Rollup for the .NET Framework 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 on Windows 7 SP1 and Server 2008 R2 SP1: July 18, 2017

For more information about this update as it relates to Windows Server 2008 SP2, see the following article in the Microsoft Knowledge Base:

4032116 July 2017 Preview of Quality Rollup for the .NET Framework 2.0 SP2, 4.5.2, 4.6 on Windows Server 2008 SP2: July 18, 2017

How to get this update

Windows Update

This update is available through Windows Update. When you turn on automatic updating, this update will be downloaded and installed automatically. For more information about how to get security updates automatically, see Windows Update: FAQ.

Microsoft Update Catalog

To get the stand-alone package for this update, go to one of the following on the Microsoft Update Catalog website:

  • For Windows Server 2008 SP2, click here.

  • For Windows 7 SP1 and Windows Server 2008 R2 SP1, click here.

Windows Software Update Services (WSUS)

On your WSUS server, follow these steps:

  1. Click Start, click Administrative Tools, and then click Microsoft Windows Server Update Services 3.0.

  2. Expand ComputerName, and then click Action.

  3. Click Import Updates.

  4. WSUS opens a browser window in which you may be prompted to install an ActiveX control. You must install the ActiveX control to continue.

  5. After the ActiveX control is installed, you see the Microsoft Update Catalog screen. Type 4032116 for Windows Server 2008 SP2 or 4032113 for Windows 7 SP1 and Windows Server 2008 R2 SP1 in the Search box, and then click Search.

  6. Locate the .NET Framework packages that match the operating systems, languages, and processors in your environment. Click Add to add them to your basket.

  7. After you select all the packages that you need, click View Basket.

  8. Click Import to import the packages to your WSUS server.

  9. To return to WSUS, click Close after the packages are imported.

The updates are now available for installation through WSUS.

Prerequisites

To apply this update, you must have the following installed:

  • The .NET Framework 4.6, 4.6.1, 4.6.2, or 4.7 installed.

  • The D3D Compiler Update (KB4019478 for Windows Server 2008 SP2 or KB4019990 for Windows 7 SP1 and Windows Server 2008 R2 SP1). This update automatically co-installs for Windows Update and Windows Server Update Services (WSUS) customers. Microsoft Update Catalog customers have to first manually download and install the D3D Compiler Update (KB4019478 or KB4019990) that is bundled together with the Catalog update.

Restart requirement

You must restart the computer after you apply this update if any affected files are being used. We recommend that you exit all .NET Framework-based applications before you apply this update.

Update replacement information

This update does not replace any previously released update.

File information

The English (United States) version of this update installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

For all supported x86-based versions of systems

File name

File version

File size

Date

Time

Aspnet_perf.dll

4.7.2102.0

42,672

15-Jun-2017

05:00

aspnet_wp.exe

4.7.2102.0

46,200

15-Jun-2017

05:00

clr.dll

4.7.2102.0

7,221,904

15-Jun-2017

05:00

clrjit.dll

4.7.2102.0

522,912

15-Jun-2017

05:00

dfdll.dll

4.7.2102.0

159,896

15-Jun-2017

05:00

GlobalUserInterface.CompositeFont

116,922

15-Jun-2017

05:00

mscordacwks.dll

4.7.2102.0

1,341,104

15-Jun-2017

05:00

mscordbi.dll

4.7.2102.0

1,164,968

15-Jun-2017

05:00

mscoreei.dll

4.7.2102.0

511,656

15-Jun-2017

05:00

mscorlib.dll

4.7.2102.0

5,614,248

15-Jun-2017

05:00

msvcp120_clr0400.dll

12.0.52519.0

485,576

15-Jun-2017

05:00

msvcr120_clr0400.dll

12.0.52519.0

987,840

15-Jun-2017

05:00

VsVersion.dll

14.7.2102.0

19,112

15-Jun-2017

05:00

peverify.dll

4.7.2102.0

188,584

15-Jun-2017

05:00

PresentationCore.dll

4.7.2102.0

3,616,096

15-Jun-2017

05:00

PresentationFramework.dll

4.7.2102.0

6,200,696

15-Jun-2017

05:00

PresentationHost_v0400.dll

4.7.2102.0

197,336

15-Jun-2017

05:00

PresentationHost_v0400.dll.mui

4.7.2102.0

84,720

15-Jun-2017

05:00

PresentationNative_v0400.dll

4.7.2102.0

827,112

15-Jun-2017

05:00

ServiceMonikerSupport.dll

4.7.2102.0

29,400

15-Jun-2017

05:00

SMDiagnostics.dll

4.7.2102.0

73,392

15-Jun-2017

05:00

SOS.dll

4.7.2102.0

743,560

15-Jun-2017

05:00

System.Activities.dll

4.7.2102.0

1,532,616

15-Jun-2017

05:00

System.ComponentModel.DataAnnotations.dll

4.7.2102.0

126,272

15-Jun-2017

05:00

System.Core.dll

4.7.2102.0

1,381,536

15-Jun-2017

05:00

System.Data.Entity.dll

4.7.2102.0

4,033,744

15-Jun-2017

05:00

System.IdentityModel.dll

4.7.2102.0

1,088,720

15-Jun-2017

05:00

System.IdentityModel.Services.dll

4.7.2102.0

198,392

15-Jun-2017

05:00

System.Runtime.Serialization.dll

4.7.2102.0

1,052,936

15-Jun-2017

05:00

System.ServiceModel.Channels.dll

4.7.2102.0

157,944

15-Jun-2017

05:00

System.ServiceModel.Discovery.dll

4.7.2102.0

308,472

15-Jun-2017

05:00

System.ServiceModel.dll

4.7.2102.0

6,310,608

15-Jun-2017

05:00

System.ServiceModel.Internals.dll

4.7.2102.0

254,224

15-Jun-2017

05:00

System.ServiceModel.Routing.dll

4.7.2102.0

130,800

15-Jun-2017

05:00

System.ServiceModel.WasHosting.dll

4.7.2102.0

39,672

15-Jun-2017

05:00

System.Web.ApplicationServices.dll

4.7.2102.0

70,936

15-Jun-2017

05:00

System.Web.Extensions.dll

4.7.2102.0

1,849,568

15-Jun-2017

05:00

System.Workflow.Activities.dll

4.7.2102.0

1,051,376

15-Jun-2017

05:00

System.Workflow.ComponentModel.dll

4.7.2102.0

1,541,880

15-Jun-2017

05:00

System.Workflow.Runtime.dll

4.7.2102.0

499,424

15-Jun-2017

05:00

System.Runtime.Caching.dll

4.7.2102.0

109,944

15-Jun-2017

05:00

System.Data.dll

4.7.2102.0

3,391,152

15-Jun-2017

05:00

System.Data.SqlXml.dll

4.7.2102.0

734,408

15-Jun-2017

05:00

System.Deployment.dll

4.7.2102.0

845,504

15-Jun-2017

05:00

System.DirectoryServices.Protocols.dll

4.7.2102.0

201,520

15-Jun-2017

05:00

System.dll

4.7.2102.0

3,526,272

15-Jun-2017

05:00

System.Drawing.dll

4.7.2102.0

600,240

15-Jun-2017

05:00

System.Management.dll

4.7.2102.0

415,432

15-Jun-2017

05:00

System.Security.dll

4.7.2102.0

316,600

15-Jun-2017

05:00

System.Transactions.dll

4.7.2102.0

307,408

15-Jun-2017

05:00

System.Web.dll

4.7.2102.0

5,405,864

15-Jun-2017

05:00

System.Windows.Controls.Ribbon.dll

4.7.2102.0

742,816

15-Jun-2017

05:00

System.Windows.Forms.dll

4.7.2102.0

5,182,168

15-Jun-2017

05:00

System.Xaml.dll

4.7.2102.0

641,192

15-Jun-2017

05:00

System.Xml.dll

4.7.2102.0

2,666,648

15-Jun-2017

05:00

webengine.dll

4.7.2102.0

24,744

15-Jun-2017

05:00

webengine4.dll

4.7.2102.0

549,552

15-Jun-2017

05:00

WindowsBase.dll

4.7.2102.0

1,282,384

15-Jun-2017

05:00

WMINet_Utils.dll

4.7.2102.0

136,368

15-Jun-2017

05:00

WorkflowServiceHostPerformanceCounters.dll

4.7.2102.0

89,368

15-Jun-2017

05:00

WPFFontCache_v0400.exe.mui

4.7.2102.0

19,168

15-Jun-2017

05:00

WPFFontCache_v0400.exe

4.7.2102.0

25,720

15-Jun-2017

05:00

wpfgfx_v0400.dll

4.7.2102.0

1,344,176

15-Jun-2017

05:00

PenIMC_v0400.dll

4.7.2102.0

82,104

15-Jun-2017

05:00

For all supported x64-based versions of systems

File name

File version

File size

Date

Time

Aspnet_perf.dll

4.7.2102.0

46,256

15-Jun-2017

05:20

Aspnet_perf.dll

4.7.2102.0

42,672

15-Jun-2017

05:00

aspnet_wp.exe

4.7.2102.0

50,808

15-Jun-2017

05:20

aspnet_wp.exe

4.7.2102.0

46,200

15-Jun-2017

05:00

clr.dll

4.7.2102.0

10,324,624

15-Jun-2017

05:19

clr.dll

4.7.2102.0

7,221,904

15-Jun-2017

05:00

clrjit.dll

4.7.2102.0

1,129,120

15-Jun-2017

05:19

clrjit.dll

4.7.2102.0

522,912

15-Jun-2017

05:00

compatjit.dll

4.7.2102.0

1,259,688

15-Jun-2017

05:19

dfdll.dll

4.7.2102.0

191,640

15-Jun-2017

05:19

dfdll.dll

4.7.2102.0

159,896

15-Jun-2017

05:00

GlobalUserInterface.CompositeFont

116,922

15-Jun-2017

05:00

mscordacwks.dll

4.7.2102.0

1,838,256

15-Jun-2017

05:19

mscordacwks.dll

4.7.2102.0

1,341,104

15-Jun-2017

05:00

mscordbi.dll

4.7.2102.0

1,618,592

15-Jun-2017

05:19

mscordbi.dll

4.7.2102.0

1,164,968

15-Jun-2017

05:00

mscoreei.dll

4.7.2102.0

636,064

15-Jun-2017

05:19

mscoreei.dll

4.7.2102.0

511,656

15-Jun-2017

05:00

mscorlib.dll

4.7.2102.0

5,401,768

15-Jun-2017

05:19

mscorlib.dll

4.7.2102.0

5,614,248

15-Jun-2017

05:00

msvcp120_clr0400.dll

12.0.52519.0

690,008

15-Jun-2017

05:20

msvcp120_clr0400.dll

12.0.52519.0

485,576

15-Jun-2017

05:00

msvcr120_clr0400.dll

12.0.52519.0

993,632

15-Jun-2017

05:20

msvcr120_clr0400.dll

12.0.52519.0

987,840

15-Jun-2017

05:00

VsVersion.dll

14.7.2102.0

19,112

15-Jun-2017

05:19

VsVersion.dll

14.7.2102.0

19,112

15-Jun-2017

05:00

peverify.dll

4.7.2102.0

260,256

15-Jun-2017

05:20

peverify.dll

4.7.2102.0

188,584

15-Jun-2017

05:00

PresentationCore.dll

4.7.2102.0

3,590,344

15-Jun-2017

05:20

PresentationCore.dll

4.7.2102.0

3,616,096

15-Jun-2017

05:00

PresentationFramework.dll

4.7.2102.0

6,200,696

15-Jun-2017

05:00

PresentationHost_v0400.dll

4.7.2102.0

256,728

15-Jun-2017

05:20

PresentationHost_v0400.dll.mui

4.7.2102.0

84,720

15-Jun-2017

05:20

PresentationHost_v0400.dll

4.7.2102.0

197,336

15-Jun-2017

05:00

PresentationHost_v0400.dll.mui

4.7.2102.0

84,720

15-Jun-2017

05:00

PresentationNative_v0400.dll

4.7.2102.0

1,109,728

15-Jun-2017

05:20

PresentationNative_v0400.dll

4.7.2102.0

827,112

15-Jun-2017

05:00

ServiceMonikerSupport.dll

4.7.2102.0

31,448

15-Jun-2017

05:20

ServiceMonikerSupport.dll

4.7.2102.0

29,400

15-Jun-2017

05:00

SMDiagnostics.dll

4.7.2102.0

73,392

15-Jun-2017

05:00

SOS.dll

4.7.2102.0

872,080

15-Jun-2017

05:19

SOS.dll

4.7.2102.0

743,560

15-Jun-2017

05:00

System.Activities.dll

4.7.2102.0

1,532,616

15-Jun-2017

05:00

System.ComponentModel.DataAnnotations.dll

4.7.2102.0

126,272

15-Jun-2017

05:00

System.Core.dll

4.7.2102.0

1,381,536

15-Jun-2017

05:00

System.Data.Entity.dll

4.7.2102.0

4,033,744

15-Jun-2017

05:00

System.IdentityModel.dll

4.7.2102.0

1,088,720

15-Jun-2017

05:00

System.IdentityModel.Services.dll

4.7.2102.0

198,392

15-Jun-2017

05:00

System.Runtime.Serialization.dll

4.7.2102.0

1,052,936

15-Jun-2017

05:00

System.ServiceModel.Channels.dll

4.7.2102.0

157,944

15-Jun-2017

05:00

System.ServiceModel.Discovery.dll

4.7.2102.0

308,472

15-Jun-2017

05:00

System.ServiceModel.dll

4.7.2102.0

6,310,608

15-Jun-2017

05:00

System.ServiceModel.Internals.dll

4.7.2102.0

254,224

15-Jun-2017

05:00

System.ServiceModel.Routing.dll

4.7.2102.0

130,800

15-Jun-2017

05:00

System.ServiceModel.WasHosting.dll

4.7.2102.0

39,672

15-Jun-2017

05:00

System.Web.ApplicationServices.dll

4.7.2102.0

70,936

15-Jun-2017

05:00

System.Web.Extensions.dll

4.7.2102.0

1,849,568

15-Jun-2017

05:00

System.Workflow.Activities.dll

4.7.2102.0

1,051,376

15-Jun-2017

05:00

System.Workflow.ComponentModel.dll

4.7.2102.0

1,541,880

15-Jun-2017

05:00

System.Workflow.Runtime.dll

4.7.2102.0

499,424

15-Jun-2017

05:00

System.Runtime.Caching.dll

4.7.2102.0

109,944

15-Jun-2017

05:00

System.Data.dll

4.7.2102.0

3,455,152

15-Jun-2017

05:19

System.Data.dll

4.7.2102.0

3,391,152

15-Jun-2017

05:00

System.Data.SqlXml.dll

4.7.2102.0

734,408

15-Jun-2017

05:00

System.Deployment.dll

4.7.2102.0

845,504

15-Jun-2017

05:00

System.DirectoryServices.Protocols.dll

4.7.2102.0

201,520

15-Jun-2017

05:00

System.dll

4.7.2102.0

3,526,272

15-Jun-2017

05:00

System.Drawing.dll

4.7.2102.0

600,240

15-Jun-2017

05:00

System.Management.dll

4.7.2102.0

415,432

15-Jun-2017

05:00

System.Security.dll

4.7.2102.0

316,600

15-Jun-2017

05:00

System.Transactions.dll

4.7.2102.0

310,992

15-Jun-2017

05:20

System.Transactions.dll

4.7.2102.0

307,408

15-Jun-2017

05:00

System.Web.dll

4.7.2102.0

5,388,968

15-Jun-2017

05:20

System.Web.dll

4.7.2102.0

5,405,864

15-Jun-2017

05:00

System.Windows.Controls.Ribbon.dll

4.7.2102.0

742,816

15-Jun-2017

05:00

System.Windows.Forms.dll

4.7.2102.0

5,182,168

15-Jun-2017

05:00

System.Xaml.dll

4.7.2102.0

641,192

15-Jun-2017

05:00

System.XML.dll

4.7.2102.0

2,666,648

15-Jun-2017

05:00

webengine.dll

4.7.2102.0

26,280

15-Jun-2017

05:20

webengine.dll

4.7.2102.0

24,744

15-Jun-2017

05:00

webengine4.dll

4.7.2102.0

667,304

15-Jun-2017

05:20

webengine4.dll

4.7.2102.0

549,552

15-Jun-2017

05:00

WindowsBase.dll

4.7.2102.0

1,282,384

15-Jun-2017

05:00

WMINet_Utils.dll

4.7.2102.0

188,088

15-Jun-2017

05:19

WMINet_Utils.dll

4.7.2102.0

136,368

15-Jun-2017

05:00

WorkflowServiceHostPerformanceCounters.dll

4.7.2102.0

101,144

15-Jun-2017

05:20

WorkflowServiceHostPerformanceCounters.dll

4.7.2102.0

89,368

15-Jun-2017

05:00

WPFFontCache_v0400.exe.mui

4.7.2102.0

19,168

15-Jun-2017

07:34

WPFFontCache_v0400.exe.mui

4.7.2102.0

19,168

15-Jun-2017

05:00

WPFFontCache_v0400.exe

4.7.2102.0

26,744

15-Jun-2017

07:34

WPFFontCache_v0400.exe

4.7.2102.0

25,720

15-Jun-2017

05:00

wpfgfx_v0400.dll

4.7.2102.0

1,762,992

15-Jun-2017

05:20

wpfgfx_v0400.dll

4.7.2102.0

1,344,176

15-Jun-2017

05:00

PenIMC_v0400.dll

4.7.2102.0

99,000

15-Jun-2017

05:20

PenIMC_v0400.dll

4.7.2102.0

82,104

15-Jun-2017

05:00

Applies to

This article applies to the following:

 

  • Microsoft .NET Framework 4.6, 4.6.1, 4.6.2, 4.7 when used with:

    • Windows Server 2008 R2 Service Pack 1

    • Windows 7 Service Pack 1

  • Microsoft .NET Framework 4.6 when used with:

    • Windows Server 2008 Service Pack 2

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.