[German]Update KB4055532 (.NET Framework 4.7.1), released on January 9, 2018 is causing an “TypeInitializationException” or “FileFormatException” error in Windows Presentation Foundation (WPF) applications under Windows 7 SP1 (and Windows Server 2008 R2). A fix is available.
Background .NET Framework, WPF
Update KB4055002 for .NET Framework 4.7.1
Update KB4055002 (Security and quality rollup for .NET Framework 4.6, 4.6.1, 4.6.2, 4.7 and 4.7.1 for Windows 7 SP1 and Windows Server 2008 R2 SP1 and for .NET Framework 4.6 für Windows Server 2008 SP2) has been released on January 9, 2018 (patchday).
This security update has been released to address a vulnerability related to bypassing security features. This vulnerability existed if Microsoft .NET Framework and .NET Core components do not completely validate certificates. The security update is intended to ensure that components of the .NET Framework and .NET Core certificates are fully verified. For more information about this vulnerability, see Microsoft Common Vulnerabilities and Exposures CVE-2018-0786.
This security update also fixes a denial of service vulnerability when .NET Framework and .NET Core components do not properly process XML documents. This update resolves the vulnerability by fixing how .NET Framework and .NET Core components process XML documents. For more information about this vulnerability, see Microsoft Common Vulnerabilities and Exposures CVE-2018-0764.
Issues with WPF applications
WPF applications running under Windows 7 SP1 or Windows Server 2008 R2 SP1 stalls with an error, after update KB4055002 has been installed. There was a type initialization error in Windows Presentation Foundation (WPF) applications when the KB4055002 update was installed and the programs request a fallback font operation. I mentioned this in the article (Preview-)Updates for Windows, Defender, NET (January 2018). Here is an incomplete list of affected applications:
German DATEV tax software drops an error in service contact overview in Service-Application 4.2. I’ve addressed it within my German blog post DATEV-Nutzer: Achtung mit Updates KB4055002/KB4055532.
Error in CRM software
Another German blog reader informed me, that their CRM application didn’t work anymore under Windows 7 Pro x64, after installing this update. The reader pointed me to this Link at Microsoft, where the issue has been addressed.
Management-Studio 2012 and 2014
This German Microsoft Technet forum entry discusses also an error in SQL developer forum. The user has been confronted with an error message:
Type initializing for System.Windows.Media.Fonts drops an exeption
After uninstalling Update KB4055002, the error was gone.
Other software affected
Searching the internet results in hits, where several software packages are affected.
- NiceLabel Designer or NiceLabel Automation (see)
- SpinFire CAD-Software (see (Link broken))
- DXO Optics Pro & PhotoLab (see)
- ArcGIS Pro Crash: (see)
I got also a comment that powershell ISE won’t work, if Update KB4055002 is installed. Uninstalling Update KB4055002 will solve this issue.
Fix: Update KB4055532 .NET Framework
Microsoft has released Update KB4055532 (Security and Quality Rollup for .NET Framework 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, and 4.7.1 updates for Windows 7 SP1 and Server 2008 R2 SP1) on January 18, 2018, to fix this issue.
The important update replaces update KB4055002 and fixes the following WPF error:
4074906 – “TypeInitializationException” or “FileFormatException” error in WPF applications that request fallback fonts after you install the January 9, 2018, .NET Security and Quality Rollup (KB4055002)