"Invalid group condition" Error opening Report in ASP.net

Posted on 2005-04-05
Medium Priority
Last Modified: 2012-06-27
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));
crViewer.ReportSource = rd;

Any ideas what could be wrong (since it does run fine in the CR Program)?
Question by:jellis613
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3

Author Comment

ID: 13708928
I found this KB article on the CR website that seems to apply to my case:

I gather from this article that the only things for me to do are:
1) Get CR Advanced or Developer Editions
2) Develop the report completely within VS.net

Has anyone else had a similar problem? Any other solutions other than the ones above?
LVL 101

Expert Comment

ID: 13708985
I would tend to agree.

You also need to set the login information for the subreports.

This may help


Author Comment

ID: 13709060
I didnt see anything on that page about setting login information for subreports. In any event, I dont think that this is the problem here (I previously was experiencing an error with the login, and after I got my ServerName in the proper syntax, that error went away and was replaced by the Invalid Group error. If there was an error with the login for a subreport, I assume that it would have been thrown).

In the page you referenced, it says "If you are using a web application make sure that you do not specify or call the DataBind in your code as this will nullify the code above." I took the DataBind method out of my code - still doesnt work (same error as before).

Author Comment

ID: 13710302
The Crystal Reports KB article I cited above was correct - Installing CR Professional did the trick. I did not need to provide any login information for the subreports.

Accepted Solution

ee_ai_construct earned 0 total points
ID: 13711483
Question answered by asker or dialog deemed valuable.
Closed, 250 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question