Skip to Content
0
Former Member
Jul 18, 2008 at 01:33 PM

Crystal Reports Compatibility with .Net Generics.

37 Views

We are redesigning a subsystem of a .NET based enterprise web application that deals with displaying reports. The current subsystem is using DataSets for binding Crystal Reports with the ReportViewer control, which is shipped along with .NET Framework. The redesign exercise involves replacing DataSets with Entity Collections (using .net generics)

I replaced

CrystalDecisions.CrystalReports.Engine.ReportDocument.Datasource(Dataset) with

CrystalDecisions.CrystalReports.Engine.ReportDocument.Datasource(List (of <<entity>>))

I am getting the following error "CrystalDecisions.CrystalReports.Engine.DataSourceException: Error in File c:\inetpub\wwwroot\SCIHMWEB\REPORTS\SalesReport.rpt:

Query Engine Error"

please confirm

1 : Whether Crystal 9 is compatible with .Net Generics or not.

2 : If yes,how should i code the xsd file connecting .Net generic object and rpt file.I tried using the same xsd when datasets were used,it was again throwing error.