on 09-09-2013 6:21 PM
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.