Class not registered – CrystalPrintControl in windows XP SP3

Question

We are faced the problem of error “System.Runtime.InteropServices.COMException (0x80040154): Class not registered – CrystalPrintControl” when using the function

oRpt.ReportClientDocument.PrintOutputController.PrintReport();

The program is working fine in our working station while error in client station.

We found the function “oRpt.ReportClientDocument.PrintOutputController.PrintReport();” need to have the reference:

  1. CrystalDecisions.ReportAppServer.ClientDoc.dll
  2. CrystalDecisions.ReportAppServer.Controllers.dll

So we have added the reference in visual studio 2010.

But we cannot find the reference in client pc.

Our working station installed crystal report for visual 2010 while client pc only installed crystal report run time.

Could it be the caused? any one can advise on this problem.

Thank a lot

0
SAP Portal xz 5 months 0 Answers 376 views 0