Menu

CrystalReport with a DataMatrix from BarcodeResource

0 votes

To generate crystal reports with a datamatrix codes inside, I integrated the BarcodeResource extension in the report. When I refresh the report within the Crystal Report editor the barcodes work fine.

But when I try to run the report from dbFront or the CrystalReportHelper I get these errors:

Can't process report, Errore nel file 2022_ReportProgrP4_General 36804032{652AA698-17F2-48F3-AFD7-5D8C58722AAE}.rpt:Errore nella formula datamatrix_P4_ES: ' ConnectCodeClassDataMatrixEncode({V_AM_EtiProgrP4_General.ProgrP4_ES},1,0) ' Ô necessaria un'istruzione. Dettagli: errorKind

In your opinion, what could be the cause of this problem? Is there any way to fix it?

in Crystal Report Helper by (7.3k points)
edited by

1 Answer

0 votes

I contacted the support for the BarCodeResource and they pointed me to their installation instructions.

I followed their instructions to install the package and tested them within two separate VMs and the DataMatrix printed as expected.

It is crucial that the components are correctly installed, integrated into the GAC (gacutil) and registered (regasm).

Because the CrystalReportHelper uses the SAP Crystal Report Runtimes the components should be installed in the Runtimes folder. On a 64bit system that folder is likely...

  • C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64

The components are:

  • CRUFL_DataMatrixBarcode.dll
  • crw32.exe.config

For additional help with the Crystal Report Helper:

by (65.2k points)
Welcome to the dbFront Q&A site, where you can ask questions and receive answers from other members of the community.
 | Minimalist Answer Theme by Digitizor Media
 |
Powered by Question2Answer
...