How to get more information about Microsoft C++ exception - ida

I am running a very old app written in VB6 and working with crystal reports.
The apps worked great but since last windows 10 update, the crystal reports returns me an error. I debugged the app with IDA and i see this exception:
751804C2: Microsoft C++ exception (etc.code e06d7363, tid 2680)
This exception is only shown when debugging with IDA. If i launch the app manually, i just get a crystal reports error.
What should i do in order to get more informations about this exception ?
I tried to run program step by step in IDA: I just see this exception fired in kernelBase.dll, but i don't really know if exception is raising in this module or if this module just catch the exception...
Thanks

Related

Crystal Report - Load Report Failed . System.Runtime.InteropServices.COMException: The document has not been opened

My Application (WEBAPI with Crystal Reports in Visual Studio 2019) runs fine in my local machine. However, when i deploy it to the test server. I am getting the below error when i run an API in the test environment. Test server has SAP Crystal Reports Runtime Engine 32 Bit Installed.
Error Details :
Load report failed.
CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: The document has not been opened.
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.get_ReportAppServer()
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.get_ReportAppServer()
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
--- End of inner exception stack trace ---

Is there any way to avoid assertion error for crystal report in case of large reports

After flash EOL, we have upgraded SAP Crystal Reports, version for Eclipse software and lib, from 12 to latest CR version. Reports started working fine in HTML but there are few reports with multipage and large data where we are getting Java assertion error.
07:29:24,446 ERROR [][JRCCommunicationAdapter] (catalina-exec-30) detected an exception: java.lang.AssertionError.

Visual Studio 2003 Crystal reports

An unhandled exception has occurred in a component in your application.
Cannot find KeycodeV2.dll, or invalid key code.
Visual studio 2003 64 bit Win 7 (On printing CR).
We solved a similar issue.
Environment running Win 7 64bit, application generated by VS2003 (.NET 1.1).
Solution was uninstall Crystal Reports, run CCleaner, reinstall Crystal Reports.
We understand the error occurred because something was wrong with Crystal installation or there was a conflict with an other installation.
Note: i think i should add a comment instead of post it as an answer, but i have not enough reputation to add a comment.
EDITED: btw, there is a similar unanswered post:
Cannot find KeycodeV2.dll, or invalid keycode
And i did some research and found some people purposing similar explanation (problem with the instalation).

Crystal Report 9.2

I am getting the following error when we add the Crystal Report Engine dll. The Crystal Report version we are using is V9.2. Can I get the correct code to open Crystal Report RPT file in Crystal Report Viewer?
'C:\WINDOWS\assembly\GAC\CrystalDecisions.CrystalReports.Engine\9.2.3300.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll' is attempting managed execution inside OS Loader lock. Do not attempt
to run managed code inside a DllMain or image initialization function
since doing so can cause the application to hang.
In application, if user tries to open a crystal report file. The PF Usgae goes high and Server almost hangs. Is the above error causing the server to Hang?
To solve this problem I had to install the Crystal Report Runtime Engine for .NET Framework 4.0, on our server. The Engine was downloaded from link: http://businessobjects.com/jump/xi/crvs2010/.
While stepping through the code in debug mode in Visual Studio 2010 the message above was displayed. I supressed it in Visual Studio 2010. Under the menu
Debug > Exceptions > Managed Debugging Assistants
I then located LoaderLock and unchecked the Thrown checkbox.

failed to load database information

I have a desktop application that was migrated from .Net 1.0 to .Net 4.0. The application is using Crystal Reports and ttx files as the data definition files. The actual database queries happens in business objects and the data are set using SetDataSource() method.
After I upgraded this to .Net 4.0 (and Crystal Reports for Visual Studio 2010, version 13), the reports still working great on my developer workstation. But when I installed the application on the test machines I started getting errors like this:
Error in File temp_****{****}.rpt: Failed to load database information.
Where the asterics signify some kind of GUIDs.
The odd thing is that the reports that I did not touch continue to work. Only the reports where I had to update the data source (TTX file) generate this error.
I am also getting this error:
The keycode assembly, BusinessObjects.Licensing.KeycodeDecoder.dll, cannot be loaded.
but I do not know if this is related.
The Keycoder error is not the problem. That is currently a warning message that seems to have no effect on anything (as best I can tell).
Don't be confused by the GUID stuff either. It's just a temp name that Crystal gives the report object.
The real error there is simply "failed to load database information". Something in your TTX update is at fault.
You might try running the report in Crystal 2008 on the machine giving you the problem. Your report is out-of-sync with the TTX file.