cancel
Showing results for 
Search instead for 
Did you mean: 

Printers having inconsistent errors w/VB.NET2005 & CR2008SP1 .NET methods

nancy_budd
Participant
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Post your SDK development questions to the Developer Forum

nancy_budd
Participant
0 Kudos

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.

Answers (1)

Answers (1)

0 Kudos

Please post your SDK questions to the SDK forums.