Groff Automation Forum Index
Making software work for you
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in 

Log in to check your private messagesLog in to check your private messages   

CD 8 Subreport Problem

 
Post new topic   Reply to topic    Groff Automation Forum Index -> Program Help
View previous topic :: View next topic  
Author Message
matta81

Joined: 30 Oct 2008
Posts: 3
PostPosted: Thu Oct 30, 2008 6:45 am    Post subject: CD 8 Subreport Problem Reply with quote

Hi

I have a report which asks for two date parameters (StartDate and EndDate). The report contains a subreport and these two dates are passed to the subreport parameters StartDate2 and EndDate2.

However when I export the report from CD8, I get the following error message (obtained from the command prompt):

Code:
Unhandled Exception: System.InvalidCastException: Unable to cast object of type
'CrystalDecisions.CrystalReports.Engine.TextObject' to type 'CrystalDecisions.CrystalReports.Engine.SubreportObject'.
   at CrystalCMD.Module1.SetReportParameters(String[] strParamArgs)
   at CrystalCMD.Module1.Main(String[] sArgs)


This report worked fine in CD7, but I have had to upgrade because of problems with other reports in CD7 which have been fixed in CD8.

Can anyone please help?
Back to top
View user's profile Send private message
matta81

Joined: 30 Oct 2008
Posts: 3
PostPosted: Thu Oct 30, 2008 8:06 am    Post subject: Reply with quote

Just a small update. This is affecting all our reports which contain a report, not just the one mentioned. All of these reports worked previously in CD7.

Just as an aside, as a temporary fix, is it possible to run CD7 and CD8 concurrently on the same machine (installing each version in a different folder)?
Back to top
View user's profile Send private message
dkill001

Joined: 14 Aug 2006
Posts: 4
PostPosted: Thu Oct 30, 2008 8:27 am    Post subject: Reply with quote

I am having a similar problem - all my reports that contain subreports do not export on v8.0.0.1. I can view the report fine and the email notification works, but I cannot export the report in any fashion. Is anyone using a report containing a subreport with CD v8.0.0.1 without receiving any errors?
Back to top
View user's profile Send private message
dkill001

Joined: 14 Aug 2006
Posts: 4
PostPosted: Thu Oct 30, 2008 8:51 am    Post subject: Reply with quote

I am running v6 and v8 of CD on the same device without any untoward effects.
Back to top
View user's profile Send private message
matta81

Joined: 30 Oct 2008
Posts: 3
PostPosted: Thu Oct 30, 2008 11:02 am    Post subject: Reply with quote

It won't let me install version 7 alongside version 8. The installer says that another version is already installed on the machine and installation cannot continue. Is there anyway to override this?

Thanks
Back to top
View user's profile Send private message
mtalbott

Joined: 06 Jan 2009
Posts: 1
PostPosted: Tue Jan 06, 2009 2:40 pm    Post subject: Reply with quote

I'm having the same issue with subreports in 8.0.1. If I delete the subreport it works fine.
Back to top
View user's profile Send private message
tsneller

Joined: 10 Nov 2009
Posts: 6
PostPosted: Thu Nov 19, 2009 5:31 am    Post subject: Another issue with Sub-reports Reply with quote

I have a Crystal report which shows the Backup-Exec (TM) status of 15 different servers worldwide. Backup-Exec uses a MS SQL database to store it's results.

The Crystal Report has 15 subreports, each with a different ODBC data source. When run in Crystal or Business Objects, it works fine. When VIEWED in CD8, it uses the LAST data-source in the report for all the sub-reports. SO one countries backup shows up 15 times but with a different country name (Hard Coded in each sub-report) for each instance. So I know that each sub-report is running, but has had it's data source changed.
Back to top
View user's profile Send private message
hwielen

Joined: 25 Nov 2009
Posts: 1
PostPosted: Wed Nov 25, 2009 6:29 am    Post subject: Same problem here Reply with quote

I also have problems with my reports. I can view and print them but not export them.

I have downloaded the lastest beta version 8.0.0.3.
Is there a download link somewhere for the latest stable version that works?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Groff Automation Forum Index -> Program Help All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You can delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

Igloo Theme Version 1.0 :: Created By: Andrew Charron