cancel
Showing results for 
Search instead for 
Did you mean: 

MFC application crashes when the form contains report viewer on windows7.

Former Member
0 Kudos

Dear All!

Please help me urgently.

I am getting crash while using Crystal Activex Report Viewer Control 11.5 (IDC_ACTIVEXREPORTVIEWER (ActiveX Control)) on any form in MFC application.

Following is link to source Code sample appliaction. I have added viewer on Help About Page of the MFC application.

After running the application when we go to Help | About, The application crashes. I have used VS2008 to create the sample application.

Application crashes as under.

Warning: no message line prompt for ID 0x0000.

Warning: no message line prompt for ID 0x0000.

Warning: no message line prompt for ID 0x0000.

Warning: no message line prompt for ID 0x0000.

Warning: no message line prompt for ID 0x00D5.

Warning: no message line prompt for ID 0x00D6.

Warning: no message line prompt for ID 0x0000.

'test.exe': Loaded 'C:\Program Files\Business Objects\Common\3.5\crystalreportviewers115\ActiveXControls\CRViewer.dll'

'test.exe': Loaded 'C:\Windows\System32\comdlg32.dll'

'test.exe': Loaded 'C:\Windows\System32\sxs.dll'

First-chance exception at 0x00429bf0 in test.exe: 0xC0000005: Access violation.

Unhandled exception at 0x00429bf0 in test.exe: 0xC0000005: Access violation.

Following is link to the sample application.

[Crystal Viewer Crash Sample Application|http://www.windowmaker.com/download/crystalviewercrash/test.zip]

the application crashes only on Windows Vista and above and never on XP.

Please help in resolving this.

REgards,

Manish

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Manish,

First you should upgrade to SP 6 by writing your Keycode down, uninstall your current version and then reinstall from SP and then SP 5 and 6:

https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe

https://smpdl.sap-ag.de/~sapidp/012002523100013876392008E/crxir2win_sp5.exe

https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe

SP 6 is supported on Windows Vista and 7.

ALSO the RDC is no longer shipped or supported so if you have any issues we can't get them fixed. You should upgrade to the CR .NET Assemblies.

Lots of samples here:

Root Page

http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsHome

Enterprise Samples (including managed and unmanaged ras)

http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications

Non-Enterprise Samples

http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications

Exporting Samples (RAS)

http://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples#NETRASSDKSamples-Exporting%2FPrinting

Thank you

Don

Former Member
0 Kudos

This is not useful.

Can you please provide setup for running crystal report(RDC) at client end? Are there any download links to update report viewer at client end? I mean are there any updates in RDC, currently we use 11.5 version.

Regards,

Manish

former_member183750
Active Contributor
0 Kudos

Actually, the post by Don is pretty good. You really do want to get to SP 6 and you really do want to think about the life cycle of you application. See [this|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] wiki re. what version of CR and SP are supported on which OS (the wiki applies irrespective of dev platform).

As far as client distribution is concerned, use the SP 6 MSM:

https://smpdl.sap-ag.de/~sapidp/012002523100000634032010E/crxir2sp6_rdc_mm.zip

However, I would highly recommend that you get your dev box patched to SP 6 1st, compile the app with SP 6, then do a new runtime distribution of the app and the CR SP 6 runtime. If you don't follow the above steps, you are more than likely heading for a failure...

- Ludek

Answers (0)