Skip to Content
0
Jan 12, 2011 at 08:36 PM

JRC & C++ ???

207 Views

Hi

I've just downloaded crystal reports for visual studio 2010, i created a report linked to an xml file which i generated by the .NET dataset.writexmlschema method.

I tried to do this:

CrystalDecisions.CrystalReports.Engine.ReportDocument rptDoc = new CrystalDecisions.CrystalReports.Engine.ReportDocument();

rptDoc.Load("demo.rpt");

rptDoc.SetDataSource((DataTable)tablaS);

crystalReportViewer1.ReportSource = rptDoc;

But it throws an exception at Load()

it's in spanish but it refers to something like (in innerexception) "a document processed by JRC engine cannot be open in C++ stack" ( Un documento procesado por el motor JRC no se puede abrir en la pila C++.)

what might be happening?

thanks in advance