Google Answers Logo
View Question
 
Q: Crystal Reports in Java ( No Answer,   1 Comment )
Question  
Subject: Crystal Reports in Java
Category: Computers > Programming
Asked by: perukav-ga
List Price: $15.00
Posted: 25 Aug 2005 15:01 PDT
Expires: 20 Sep 2005 18:57 PDT
Question ID: 560503
Hi,
I am trying to integrate crystal reports with java. basically trying
to query the database to get the report, modify the parameters, run
and view(display ) it in the jsp.
i guess i have the right java code and jsp. i can get the report,
modify the params but i am not able to display the report. it throws
the following error

"Error in file <my Report.rpt>:  Failed to load database information"

we are using DB2 database and its a native connection. is the error
related to  the DB connection? would appreciate if someone could help
me out. whats the reason for this error and whats the solution to it?
i can email you the code too(both java class and the jsp). i guess i
have written the entire code.

also, i am able to display a static report meaning which doesnt hit
the DB, has saved code.


Thanks,
Perukav
Answer  
There is no answer at this time.

Comments  
Subject: Re: Crystal Reports in Java
From: pianoboy77-ga on 25 Aug 2005 16:07 PDT
 
According to http://support.businessobjects.com/library/kbase/articles/c2015340.asp?ref=devzone_reporting_archive
 
"This error message appears because Crystal Reports does not support
the use of command objects with native connections to specific
database types. The database types are:

· Specific SQL-type databases: IBM DB2, Sybase, Informix 

· Specific PC-type databases: Paradox and Microsoft FoxPro "


So it looks like you may have to use an ODBC connection.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy