Crystal Report 2010 application deployment with WPF? RRS feed

  • Question

  • I’m created WPF C# (.Net 4.0) application using Crystal Report 2010. In here I’m integrate windows forms CrystalReportViewer to WPF window and also load a Dataset to CrystalReportViewer as follows.


    ExtraCR report = new ExtraCR();//crystal report object
     report.SetDataSource(DataAss.extset);//dataset load to crystal reoprt
     CrystalReportViewer rptViewer = new CrystalReportViewer();
     WindowsFormsHost host = new WindowsFormsHost();
     rptViewer.ReportSource = report;
     host.Child = rptViewer;

    It is compile and run perfectly. When I deploy this project, and open Crystal Report it crashing. I haven’t pass experience about Crystal Report deployment. So how to give path and add Crystal Report when project deploy according to my code? Can anyone guide me to deploy Crystal Report project according to my code? Please help me.

    Wednesday, November 9, 2011 3:55 AM