Hi,
First time post, so if I err, please don't be too harsh with me.
We have a two programs...both written in VS2013 for .NET 4. Both have Crystal Reports in them developed in or imported into Visual Studio. The one program is simply a viewer...showing the user a given report on his/her device. The other generates the report and pushes directly to a specified printer.
I have had periodic issues with these programs giving us the "A generic error occurred in GDI+" message. Usually a reboot would fix this issue. Today, however, the reboot did not rectify the problem. So, we took a look and noticed a couple of things:
1) We were back several versions on the Crystal Runtimes.
2) The "Copy Local" property od the Crystal .DLL's were not set to "local".
So...we installed the newest version (13_0_14) of the Runtimes (both 32 & 64 bit) on the client's machine. I also changed the "Copy Local" properties to true and republished the program.
Now when the client tries to print, we get the "OutOfMemory" exception. Interestingly, on the viewer, the report is displayed....but when we hit the print button.....then....it craps out.
The entire error captured from my "Direct To Printer" program is attached.
I also looked at the versions of the Crystal DLLs imported into VS. The Runtime Version is v2.0.50727 and the version is 13.0.2000.0.
Do you need anything else?
Thanks for your help.
Tom (Zeke)