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.