¿Cómo implementar la aplicación Crystal Report 2010 con WPF?

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.

preguntado el 08 de noviembre de 11 a las 17:11

1 Respuestas

Does the computer you're deploying it to have the Crystal Reports re-distributable installed? You can find it here: Crystal Reports for Visual Studio 2010 Reference

Respondido el 15 de diciembre de 11 a las 00:12

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.