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:
CrystalDecisions.ReportAppServer.ClientDoc.dll
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
User contributions licensed under CC BY-SA 3.0