cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Crystal Reports crashes executing ReportDocument.Load() - mso30win32client.dll

oboenning62
Explorer
0 Likes
448

we use SAP Crystal Reports runtime engine for .NET Framework (32-bit) 13.0.38.5404.

PowerBuilder-Applications with Crystal Report wrapper written in C#/.NET crashes from time to time executing CrystalDecisions.CrystalReports.Engine.ReportDocument.Load()

We created a dump file. It shows a Stack overflow:

mso30win32client!Mso::ComSecurity::IsMatchingHandler+0x10:

Stack shows some kind of Deadlock:

02 35723030 25dc64d2 mso30win32client!Mso::ComSecurity::IsMatchingHandler+0x31
03 35723048 25b64817 mso30win32client!Mso::ComSecurity::RegisterScopedActivationFilter+0x131
04 35723090 25c22603 mso30win32client!Mso::ComSecurity::RegisterScopedActivationFilter+0x4c
05 357230d8 29072813 mso30win32client!Mso::ComSecurity::OleAllowlistScopedActivationFilter::OleAllowlistScopedActivationFilter+0x6f
06 35723120 29072824 mso!DestroyDetours+0x287
07 35723174 29072824 mso!DestroyDetours+0x298
08 357231c8 29072824 mso!DestroyDetours+0x298
09 3572321c 29072824 mso!DestroyDetours+0x298
0a 35723270 29072824 mso!DestroyDetours+0x298
0b 357232c4 29072824 mso!DestroyDetours+0x298

Problem occurs only on servers with installed Microsoft Office.

Problem started end of August 2025 with Updates of Office.
A Downgrade from 2510 Build 16.0.19328.20144 32-Bit to 2502 32bit (Build 18526.20472) gave us a deep breeth. Errors were gone.
But we cannot stay on the July build. 

Any ideas on this? I can't sleep anymore...

Sidequestion: which version of the C++ Redistributables are been used by Crystal Reports 13 (SP38)? Which one are used by Microsoft Office latest version?

Greets
Olaf

 

Accepted Solutions (1)

Accepted Solutions (1)

DonWilliams
Active Contributor

Hi Olaf,

A quick Google search on the error found this:

The error signature

mso30win32client!Mso::ComSecurity::IsMatchingHandler+0x31 is associated with crashes occurring in applications when Microsoft Office is installed. 

 
This specific crash appears to be caused by a recent Microsoft Office update, particularly impacting third-party software that interacts with Office components or uses shared libraries like certain versions of the C++ Redistributables. Reports on technical forums, such as the SAP Community, indicate that the issue began around late August 2025 following an update. 
 
The problem is resolved by downgrading Microsoft Office to a version prior to the problematic update (e.g., from Build 16.0.19328.20144 to the July 2025 build). 
 
To resolve this issue:
  • Downgrade Microsoft Office: Revert to a previous, stable version of Office.
  • Check for Fixes: Monitor for official patches from Microsoft or the vendor of the crashing application (e.g., SAP for Crystal Reports), as the issue is likely widespread and being addressed.
  • Contact Support: Reach out to Microsoft Support or the support team of the affected third-party software for the latest official guidance and fixes. 

As suggested wait for Microsoft to release a patch.

I recently notice Office did an upgrade, a few days ago, on my PC....

As for the Framework dependencies depends on what your report is using, there are third party dependencies that have not full upgraded so you still require various C++ runtime and Framework versions.

ALSO NOTE: as of the end of this year, 2025, CR for VS is no longer distributing 32 bit runtime. SAP decided since all Motherboards support 64 bit applications and 32 bit Versions of Windows is therefore not used, only install 64 bit Windows, there is no need to support 32 bit's any more.

Set your Project to x64 mode only and use 4.7 or 4.8 Framework only as noted in the Platform PDF...

https://www.sap.com/documents/2016/06/f871031e-757c-0010-82c7-eda71af511fa.html

Don

oboenning62
Explorer
0 Likes
Hi Don, could you please tell me which sources you found? Bug reports from others, statements from Microsoft, proposed solutions, etc.? I’ve been searching for weeks and haven’t found anything. We’re under pressure to give our customers an explanation. An official message from the Microsoft team pointing out a bug would be incredibly valuable. The link to the SAP Community that you pasted points exactly to this article. Did you find anything else? And yes, I already read about the end of support for 32-bit runtimes — that opens up another construction site… Thank you very much in advance for your research!
DonWilliams
Active Contributor
0 Likes
I just used Google and searched on this "mso30win32client!Mso::ComSecurity" AI returned the summary at the top of the search results

Answers (0)