"Invalid group condition" Error opening Report in ASP.net
Posted on 2005-04-05
I am trying to open a report in ASP.net. This report opens and runs fine using the Crystal Reports Program (Professional). It has two subreports that it uses. Main datasource for the report is a stored procedure (SQL Server). When I try to run it in my aspx page, I get the following error:
CrystalDecisions.CrystalReports.Engine.InvalidArgumentException: Error in File (filepath): Invalid group condition.
Here is the code I am using to load the report:
protected CrystalDecisions.Web.CrystalReportViewer crViewer;
ReportDocument rd = new ReportDocument();
rd.Load(Server.MapPath(Global.REPORTS_DIRECTORY + fileName));
// SET REPORT PARAMETERS
crViewer.ReportSource = rd;
Any ideas what could be wrong (since it does run fine in the CR Program)?