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 Update for Windows Server 2012 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.

Quality and reliability improvements

This update contains cumulative updates that were released previously, starting from 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 to handle out of range cases better.

  • Fixes ordering of loader locks to avoid intermittent deadlock during GC with complex generic types.

  • When arranging array of struct A and array of struct B as SAFEARRAY when struct A/B have identical GUIDs, you may encounter a memory leak.

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 a TDS packet received 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 this issue.

  • Under certain conditions, WPF applications that use SpellCheck together with custom dictionaries can crash and return 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 hard for end users to select the correct window.

Additional information about this update

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

4032114 July 2017 Preview of the Quality Rollups for the .NET Framework 3.5, 4.5.2, 4.6, 4.6.1, 4.6.2, and 4.7 for Windows Server 2012: 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 the Microsoft Update Catalog website.

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. ExpandComputerName, 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. Install the ActiveX control to continue.

  5. After the ActiveX control is installed, you see the Microsoft Update Catalog screen. Type 4032114 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 once 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

  • The D3D Compiler Update (KB4019990) - This update will automatically co-install 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 (KB4019990) that is bundled 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

presentationframework.dll

4.7.2102.0

6,200,696

06-Jun-2017

23:17

smdiagnostics.dll

4.6.1649.1

73,384

21-Apr-2017

05:35

system.activities.dll

4.6.1649.1

1,528,512

21-Apr-2017

05:35

system.componentmodel.dataannotations.dll

4.6.1099.0

125,760

27-Mar-2017

03:33

system.core.dll

4.7.2102.0

1,381,536

06-Jun-2017

23:17

system.data.entity.dll

4.7.2102.0

4,033,744

06-Jun-2017

23:17

system.data.sqlxml.dll

4.7.2102.0

734,408

06-Jun-2017

23:17

system.deployment.dll

4.6.1099.0

846,016

27-Mar-2017

03:33

system.directoryservices.protocols.dll

4.6.1099.0

200,488

27-Mar-2017

03:33

system.drawing.dll

4.6.1099.0

594,616

27-Mar-2017

03:33

system.identitymodel.services.dll

4.6.1649.1

197,880

21-Apr-2017

05:35

system.identitymodel.dll

4.6.1649.1

1,077,456

21-Apr-2017

05:35

system.management.dll

4.7.2102.0

415,432

06-Jun-2017

23:17

system.runtime.caching.dll

4.6.1649.1

108,920

21-Apr-2017

05:35

system.runtime.serialization.dll

4.6.1649.1

1,051,912

21-Apr-2017

05:35

system.security.dll

4.6.1649.1

316,088

21-Apr-2017

05:35

system.servicemodel.channels.dll

4.6.1649.1

157,424

21-Apr-2017

05:35

system.servicemodel.discovery.dll

4.6.1649.1

307,960

21-Apr-2017

05:35

system.servicemodel.internals.dll

4.6.1649.1

251,144

21-Apr-2017

05:35

system.servicemodel.routing.dll

4.6.1099.0

130,288

27-Mar-2017

03:33

system.servicemodel.washosting.dll

4.6.1649.1

39,672

21-Apr-2017

05:35

system.servicemodel.dll

4.6.1649.1

6,309,072

21-Apr-2017

05:35

system.web.applicationservices.dll

4.6.1649.1

70,928

21-Apr-2017

05:35

system.web.extensions.dll

4.6.1649.1

1,849,560

21-Apr-2017

05:35

system.windows.controls.ribbon.dll

4.7.2102.0

742,816

06-Jun-2017

23:17

system.windows.forms.dll

4.7.2102.0

5,182,168

06-Jun-2017

23:17

system.workflow.activities.dll

4.6.1099.0

1,044,720

27-Mar-2017

03:33

system.workflow.componentmodel.dll

4.6.1099.0

1,535,224

27-Mar-2017

03:33

system.workflow.runtime.dll

4.6.1099.0

494,816

27-Mar-2017

03:33

system.xaml.dll

4.7.2102.0

641,192

06-Jun-2017

23:17

system.xml.dll

4.7.2102.0

2,666,648

06-Jun-2017

23:17

system.dll

4.6.1649.1

3,506,816

21-Apr-2017

05:35

windowsbase.dll

4.7.2102.0

1,282,384

06-Jun-2017

23:17

mscorlib.dll

4.7.2102.0

5,614,248

06-Jun-2017

23:17

normidna.nlp

59,342

06-Jun-2017

19:26

normnfc.nlp

47,076

06-Jun-2017

19:26

normnfd.nlp

40,566

06-Jun-2017

19:26

normnfkc.nlp

67,808

06-Jun-2017

19:26

normnfkd.nlp

61,718

06-Jun-2017

19:26

aspnet_perf.dll

4.6.1649.1

42,672

21-Apr-2017

05:35

aspnet_state_perf.h

318

21-Apr-2017

03:44

aspnet_state_perf.ini

42,996

21-Apr-2017

05:35

aspnet_wp.exe

4.6.1649.1

46,200

21-Apr-2017

05:35

clrjit.dll

4.7.2102.0

522,912

06-Jun-2017

23:17

clr.dll

4.7.2102.0

7,221,904

06-Jun-2017

23:17

dfdll.dll

4.6.1099.0

154,768

27-Mar-2017

03:33

globaluserinterface.compositefont

116,922

20-Mar-2017

05:18

mscordacwks.dll

4.7.2102.0

1,341,104

06-Jun-2017

23:17

mscordbi.dll

4.7.2102.0

1,164,968

06-Jun-2017

23:17

mscoreei.dll

4.6.1099.0

497,824

27-Mar-2017

03:33

msvcp120_clr0400.dll

12.0.52519.0

485,576

15-Jun-2017

04:38

msvcr120_clr0400.dll

12.0.52519.0

987,840

15-Jun-2017

04:38

penimc.dll

14.7.2102.0

19,112

06-Jun-2017

23:17

penimc_v0400.dll

4.7.2102.0

82,104

06-Jun-2017

23:17

peverify.dll

4.7.2102.0

188,584

06-Jun-2017

23:17

presentationhost_v0400.dll

4.7.2102.0

197,336

06-Jun-2017

23:17

presentationnative_v0400.dll

4.7.2102.0

827,112

06-Jun-2017

23:17

servicemodel.mof

88,383

21-Apr-2017

03:10

servicemodel.mof.uninstall

896

21-Apr-2017

03:10

servicemonikersupport.dll

4.6.1649.1

29,400

21-Apr-2017

05:35

sos.dll

4.7.2102.0

743,560

06-Jun-2017

23:17

system.componentmodel.dataannotations.dll

4.6.1099.0

125,760

27-Mar-2017

03:33

system.core.dll

4.7.2102.0

1,381,536

06-Jun-2017

23:17

system.data.entity.dll

4.7.2102.0

4,033,744

06-Jun-2017

23:17

system.web.extensions.dll

4.6.1649.1

1,849,560

21-Apr-2017

05:35

webengine4.dll

4.6.1649.1

549,552

21-Apr-2017

05:35

webengine.dll

4.6.1649.1

24,744

21-Apr-2017

05:35

wminet_utils.dll

4.7.2102.0

136,368

06-Jun-2017

23:17

workflowservicehostperformancecounters.dll

4.6.1099.0

87,840

27-Mar-2017

03:33

wpfgfx_v0400.dll

4.7.2102.0

1,344,176

06-Jun-2017

23:17

presentationcore.dll

4.7.2102.0

3,616,096

06-Jun-2017

23:17

system.data.dll

4.7.2102.0

3,391,152

06-Jun-2017

23:17

system.transactions.dll

4.6.1099.0

303,824

27-Mar-2017

03:33

system.web.dll

4.6.1649.1

5,381,288

21-Apr-2017

05:35

For all supported x64-based versions of systems

File name

File version

File size

Date

Time

system.data.dll

4.7.2102.0

3,455,152

06-Jun-2017

23:13

system.transactions.dll

4.6.1099.0

306,888

27-Mar-2017

03:29

system.web.dll

4.6.1649.1

5,370,536

21-Apr-2017

05:28

presentationframework.dll

4.7.2102.0

6,200,696

06-Jun-2017

23:17

smdiagnostics.dll

4.6.1649.1

73,384

21-Apr-2017

05:35

system.activities.dll

4.6.1649.1

1,528,512

21-Apr-2017

05:35

system.componentmodel.dataannotations.dll

4.6.1099.0

125,760

27-Mar-2017

03:33

system.core.dll

4.7.2102.0

1,381,536

06-Jun-2017

23:17

system.data.entity.dll

4.7.2102.0

4,033,744

06-Jun-2017

23:17

system.data.sqlxml.dll

4.7.2102.0

734,408

06-Jun-2017

23:17

system.deployment.dll

4.6.1099.0

846,016

27-Mar-2017

03:33

system.directoryservices.protocols.dll

4.6.1099.0

200,488

27-Mar-2017

03:33

system.drawing.dll

4.6.1099.0

594,616

27-Mar-2017

03:33

system.identitymodel.services.dll

4.6.1649.1

197,880

21-Apr-2017

05:35

system.identitymodel.dll

4.6.1649.1

1,077,456

21-Apr-2017

05:35

system.management.dll

4.7.2102.0

415,432

06-Jun-2017

23:17

system.runtime.caching.dll

4.6.1649.1

108,920

21-Apr-2017

05:35

system.runtime.serialization.dll

4.6.1649.1

1,051,912

21-Apr-2017

05:35

system.security.dll

4.6.1649.1

316,088

21-Apr-2017

05:35

system.servicemodel.channels.dll

4.6.1649.1

157,424

21-Apr-2017

05:35

system.servicemodel.discovery.dll

4.6.1649.1

307,960

21-Apr-2017

05:35

system.servicemodel.internals.dll

4.6.1649.1

251,144

21-Apr-2017

05:35

system.servicemodel.routing.dll

4.6.1099.0

130,288

27-Mar-2017

03:33

system.servicemodel.washosting.dll

4.6.1649.1

39,672

21-Apr-2017

05:35

system.servicemodel.dll

4.6.1649.1

6,309,072

21-Apr-2017

05:35

system.web.applicationservices.dll

4.6.1649.1

70,928

21-Apr-2017

05:35

system.web.extensions.dll

4.6.1649.1

1,849,560

21-Apr-2017

05:35

system.windows.controls.ribbon.dll

4.7.2102.0

742,816

06-Jun-2017

23:17

system.windows.forms.dll

4.7.2102.0

5,182,168

06-Jun-2017

23:17

system.workflow.activities.dll

4.6.1099.0

1,044,720

27-Mar-2017

03:33

system.workflow.componentmodel.dll

4.6.1099.0

1,535,224

27-Mar-2017

03:33

system.workflow.runtime.dll

4.6.1099.0

494,816

27-Mar-2017

03:33

system.xaml.dll

4.7.2102.0

641,192

06-Jun-2017

23:17

system.xml.dll

4.7.2102.0

2,666,648

06-Jun-2017

23:17

system.dll

4.6.1649.1

3,506,816

21-Apr-2017

05:35

windowsbase.dll

4.7.2102.0

1,282,384

06-Jun-2017

23:17

mscorlib.dll

4.7.2102.0

5,401,768

06-Jun-2017

23:13

normidna.nlp

59,342

06-Jun-2017

19:26

normnfc.nlp

47,076

06-Jun-2017

19:26

normnfd.nlp

40,566

06-Jun-2017

19:26

normnfkc.nlp

67,808

06-Jun-2017

19:26

normnfkd.nlp

61,718

06-Jun-2017

19:26

aspnet_perf.dll

4.6.1649.1

46,256

21-Apr-2017

05:28

aspnet_state_perf.h

318

21-Apr-2017

03:55

aspnet_state_perf.ini

42,996

21-Apr-2017

05:28

aspnet_wp.exe

4.6.1649.1

50,808

21-Apr-2017

05:28

clrjit.dll

4.7.2102.0

1,129,120

06-Jun-2017

23:13

clr.dll

4.7.2102.0

10,324,624

06-Jun-2017

23:13

compatjit.dll

4.7.2102.0

1,259,688

06-Jun-2017

23:13

dfdll.dll

4.6.1099.0

181,400

27-Mar-2017

03:29

globaluserinterface.compositefont

116,922

20-Mar-2017

05:18

mscordacwks.dll

4.7.2102.0

1,838,256

06-Jun-2017

23:13

mscordbi.dll

4.7.2102.0

1,618,592

06-Jun-2017

23:13

mscoreei.dll

4.6.1099.0

617,632

27-Mar-2017

03:29

msvcp120_clr0400.dll

12.0.52519.0

690,008

15-Jun-2017

04:38

msvcr120_clr0400.dll

12.0.52519.0

993,632

15-Jun-2017

04:38

penimc.dll

14.7.2102.0

19,112

06-Jun-2017

23:13

penimc_v0400.dll

4.7.2102.0

99,000

06-Jun-2017

23:13

peverify.dll

4.7.2102.0

260,256

06-Jun-2017

23:13

presentationframework.dll

4.7.2102.0

6,200,696

06-Jun-2017

23:17

presentationhost_v0400.dll

4.7.2102.0

256,728

06-Jun-2017

23:13

presentationnative_v0400.dll

4.7.2102.0

1,109,728

06-Jun-2017

23:13

servicemodel.mof

88,383

21-Apr-2017

03:09

servicemodel.mof.uninstall

896

21-Apr-2017

03:09

servicemonikersupport.dll

4.6.1649.1

31,448

21-Apr-2017

05:28

smdiagnostics.dll

4.6.1649.1

73,384

21-Apr-2017

05:35

sos.dll

4.7.2102.0

872,080

06-Jun-2017

23:13

system.activities.dll

4.6.1649.1

1,528,512

21-Apr-2017

05:35

system.componentmodel.dataannotations.dll

4.6.1099.0

125,760

27-Mar-2017

03:33

system.core.dll

4.7.2102.0

1,381,536

06-Jun-2017

23:17

system.data.entity.dll

4.7.2102.0

4,033,744

06-Jun-2017

23:17

system.data.sqlxml.dll

4.7.2102.0

734,408

06-Jun-2017

23:17

system.deployment.dll

4.6.1099.0

846,016

27-Mar-2017

03:33

system.directoryservices.protocols.dll

4.6.1099.0

200,488

27-Mar-2017

03:33

system.drawing.dll

4.6.1099.0

594,616

27-Mar-2017

03:33

system.identitymodel.services.dll

4.6.1649.1

197,880

21-Apr-2017

05:35

system.identitymodel.dll

4.6.1649.1

1,077,456

21-Apr-2017

05:35

system.management.dll

4.7.2102.0

415,432

06-Jun-2017

23:17

system.runtime.caching.dll

4.6.1649.1

108,920

21-Apr-2017

05:35

system.runtime.serialization.dll

4.6.1649.1

1,051,912

21-Apr-2017

05:35

system.security.dll

4.6.1649.1

316,088

21-Apr-2017

05:35

system.servicemodel.channels.dll

4.6.1649.1

157,424

21-Apr-2017

05:35

system.servicemodel.discovery.dll

4.6.1649.1

307,960

21-Apr-2017

05:35

system.servicemodel.internals.dll

4.6.1649.1

251,144

21-Apr-2017

05:35

system.servicemodel.routing.dll

4.6.1099.0

130,288

27-Mar-2017

03:33

system.servicemodel.washosting.dll

4.6.1649.1

39,672

21-Apr-2017

05:35

system.servicemodel.dll

4.6.1649.1

6,309,072

21-Apr-2017

05:35

system.web.applicationservices.dll

4.6.1649.1

70,928

21-Apr-2017

05:35

system.web.extensions.dll

4.6.1649.1

1,849,560

21-Apr-2017

05:35

system.windows.controls.ribbon.dll

4.7.2102.0

742,816

06-Jun-2017

23:17

system.windows.forms.dll

4.7.2102.0

5,182,168

06-Jun-2017

23:17

system.workflow.activities.dll

4.6.1099.0

1,044,720

27-Mar-2017

03:33

system.workflow.componentmodel.dll

4.6.1099.0

1,535,224

27-Mar-2017

03:33

system.workflow.runtime.dll

4.6.1099.0

494,816

27-Mar-2017

03:33

system.xaml.dll

4.7.2102.0

641,192

06-Jun-2017

23:17

system.xml.dll

4.7.2102.0

2,666,648

06-Jun-2017

23:17

system.dll

4.6.1649.1

3,506,816

21-Apr-2017

05:35

webengine4.dll

4.6.1649.1

667,816

21-Apr-2017

05:28

webengine.dll

4.6.1649.1

26,280

21-Apr-2017

05:28

windowsbase.dll

4.7.2102.0

1,282,384

06-Jun-2017

23:17

wminet_utils.dll

4.7.2102.0

188,088

06-Jun-2017

23:13

workflowservicehostperformancecounters.dll

4.6.1099.0

99,608

27-Mar-2017

03:29

wpfgfx_v0400.dll

4.7.2102.0

1,762,992

06-Jun-2017

23:13

presentationcore.dll

4.7.2102.0

3,590,344

06-Jun-2017

23:13

mscorlib.dll

4.7.2102.0

5,614,248

06-Jun-2017

23:17

normidna.nlp

59,342

06-Jun-2017

19:26

normnfc.nlp

47,076

06-Jun-2017

19:26

normnfd.nlp

40,566

06-Jun-2017

19:26

normnfkc.nlp

67,808

06-Jun-2017

19:26

normnfkd.nlp

61,718

06-Jun-2017

19:26

aspnet_perf.dll

4.6.1649.1

42,672

21-Apr-2017

05:35

aspnet_state_perf.h

318

21-Apr-2017

03:44

aspnet_state_perf.ini

42,996

21-Apr-2017

05:36

aspnet_wp.exe

4.6.1649.1

46,200

21-Apr-2017

05:35

clrjit.dll

4.7.2102.0

522,912

06-Jun-2017

23:17

clr.dll

4.7.2102.0

7,221,904

06-Jun-2017

23:17

dfdll.dll

4.6.1099.0

154,768

27-Mar-2017

03:33

globaluserinterface.compositefont

116,922

20-Mar-2017

05:18

mscordacwks.dll

4.7.2102.0

1,341,104

06-Jun-2017

23:17

mscordbi.dll

4.7.2102.0

1,164,968

06-Jun-2017

23:17

mscoreei.dll

4.6.1099.0

497,824

27-Mar-2017

03:33

msvcp120_clr0400.dll

12.0.52519.0

485,576

15-Jun-2017

04:38

msvcr120_clr0400.dll

12.0.52519.0

987,840

15-Jun-2017

04:38

penimc.dll

14.7.2102.0

19,112

06-Jun-2017

23:17

penimc_v0400.dll

4.7.2102.0

82,104

06-Jun-2017

23:17

peverify.dll

4.7.2102.0

188,584

06-Jun-2017

23:17

presentationhost_v0400.dll

4.7.2102.0

197,336

06-Jun-2017

23:17

presentationnative_v0400.dll

4.7.2102.0

827,112

06-Jun-2017

23:17

servicemonikersupport.dll

4.6.1649.1

29,400

21-Apr-2017

05:35

sos.dll

4.7.2102.0

743,560

06-Jun-2017

23:17

system.componentmodel.dataannotations.dll

4.6.1099.0

125,760

27-Mar-2017

03:33

system.core.dll

4.7.2102.0

1,381,536

06-Jun-2017

23:17

system.data.entity.dll

4.7.2102.0

4,033,744

06-Jun-2017

23:17

system.web.extensions.dll

4.6.1649.1

1,849,560

21-Apr-2017

05:35

webengine4.dll

4.6.1649.1

549,552

21-Apr-2017

05:35

webengine.dll

4.6.1649.1

24,744

21-Apr-2017

05:35

wminet_utils.dll

4.7.2102.0

136,368

06-Jun-2017

23:17

workflowservicehostperformancecounters.dll

4.6.1099.0

87,840

27-Mar-2017

03:33

wpfgfx_v0400.dll

4.7.2102.0

1,344,176

06-Jun-2017

23:17

presentationcore.dll

4.7.2102.0

3,616,096

06-Jun-2017

23:17

system.data.dll

4.7.2102.0

3,391,152

06-Jun-2017

23:17

system.transactions.dll

4.6.1099.0

303,824

27-Mar-2017

03:33

system.web.dll

4.6.1649.1

5,381,288

21-Apr-2017

05:35

 

Applies to

This article applies to the following:

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

    • Windows Server 2012

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.