on 08-21-2009 4:48 PM
Having issues when previewing or creating PDF files on some printers using our VB.NET 2005 app that uses the ReportDocument (Crystal for .NET) object and methods:
objReportDocument.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, strMainAttachment)
ReportViewer.ShowDialog()
The errors are inconsistent, but worked just fine using the old Report Designer Component methods.
Some of the errors:
A generic message of Program has encountered and error and needs to shut down, we apologize for the inconvenience.
COMException - the value is write-only.
COMException - cannot create ActiveX component.
The printers/drivers we are using are HP LaserJet 4350 PCL6 and HP LaserJet M1522 MFP Series PCL6
Again - this just started happening when we moved to the Crystal for .NET methods to execute our Crystal reports. We were able to use these printers just fine before. And, it seems to occur only when creating PDF files or previewing (essentially not having to prompt for a printer).
Any suggestions?
Post your SDK development questions to the Developer Forum
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This issue has turned out to be a defect with Crytal Reports 2008. SAP/BO was able to duplicate problem using CR2008 SP1.
They were unable to duplicate in CR2008 SP2. However, I was.
The problem is not limited to export. The problem occurs sporadically regardless of output (could be print, preview, export, etc.)
with various printer drivers.
SAP/BO is now in the process of trying to duplicate in CR2008 SP2.
Please post your SDK questions to the SDK forums.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.