WPF Enterprise App crashes on Windows 10/11 after Windows Updates installed - "StoryFragments part failed to load"

Devassy, Bijeesh 1 Reputation point
2023-01-09T07:16:11.413+00:00

WPF Enterprise App crashes on Windows 10/11 after Windows Updates installed - "StoryFragments part failed to load"

Our enterprise app (32/64 bit - targeting .NET Framework 4.8.x) deployed across hundreds of customer accounts with thousands users started getting error messages after the December Windows updates. Error occurs when XPS documents is rendered from Office documents.

"Error Initializing Field MS Word Document: StoryFragments Part Loading Failed"
"Error initializing field excel spreadsheet storyfragments part failed to load"

The issue was caused by:
December 13, 2022-KB5021086 Cumulative Update for .NET Framework 3.5, 4.8 and 4.8.1 for Windows 10, version 20H2
2022-12 Cumulative Update for .NET Framework 3.5, 4.8 and 4.8.1 for Windows 11 for x64 (KB5021090) and
2022-12 Cumulative Update for Windows 11 for x64-based Systems (KB5021234)
2022-12 Cumulative Update for Windows 11 Version 22H2 for x64-based Systems (KB5021255)

The work around mentioned in https://support.microsoft.com/en-gb/topic/kb5022083-change-in-how-wpf-based-applications-render-xps-documents-a4ae4fa4-bc58-4c37-acdd-5eebc4e34556 will resolve the issue.
But the solution is not subscribed by and not convincing to customers' IT departments for wide deployment in their infrastructure.

Looking for a solution.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,194 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
1,576 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
485 questions
{count} votes