cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Reports : .net Application Crashes when calling Crystal Reports

Former Member
0 Kudos

I Recently Upgraded my Application to .net 4.0.

My Application runs okay but when I call/print a report Application crashes with the message Below error messages I found when I attached a debugger to my application

Unhandled exception at 0x7517C41F (KernelBase.dll) in OMS - Supple.exe: 0xE0434352.

First-chance exception at 0x7695030C (kernel32.dll) in OMS - Supple.exe: 0xC0000005: Access violation executing location 0x7695030C.

If my application is being run from VS2012 the reports come up without any error message and runs smoothly.

Environment :

Win 7 - 64 Bit

My Application 32 Bit (x86)

VS2012 net 4.0 Framework

Integration of Crystal Reports in VS2012

CRforVS_13_0_6.zip

Installed Crystal Reports Runtime 

CRforVS_redist_install_32bit_13_0_6.zip

CRforVS_redist_install_64bit_13_0_6.zip

All above files were downloaded from SAP Crystal reports download section.

I Googled this problem and found to modify app.config to   

<!--<startup useLegacyV2RuntimeActivationPolicy="true">  


  <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>-->

  <startup useLegacyV2RuntimeActivationPolicy="true">
   
  <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>

 

But still no use. Application Crashes.

I have also Embedded app.config when compiling the application.

Pleas note that I am using 64bit environment to build a 32 bit application and then again running a 32 bit application on 64bit platform with installed runtime of crystal reports 32bit as well as 64bit.

All was working fine when I was using .net 3.5 Framework

Why is this so?

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Try the following;

1) Enable the "No Printer" option

2) See if there is an update for your printer driver

3) Try a different printer driver

Are you  printing form the viewer or your own print button?

Can you export the report to any format?

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces

Answers (1)

Answers (1)

0 Kudos

Hello,

Did you set your Project to run in X86 mode and NOT AnyCPU?

And also set the Framework to 4.0 full, not Client only?

Don