2025 Nov 12 10:29 AM - edited 2025 Nov 12 10:32 AM
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
Request clarification before answering.
Hi Olaf,
A quick Google search on the error found this:
mso30win32client!Mso::ComSecurity::IsMatchingHandler+0x31 is associated with crashes occurring in applications when Microsoft Office is installed.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.