File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Java Products and Servers and the fly likes Crystal Report and Java Connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Crystal Report and Java Connection" Watch "Crystal Report and Java Connection" New topic
Author

Crystal Report and Java Connection

Kedar Divekar
Greenhorn

Joined: Sep 22, 2012
Posts: 3
i created the application (DESKTOP Application) in JAVA for opening / showing crystal reports from java. Here is my code

ReportClientDocument reportClientDoc = new ReportClientDocument();
reportClientDoc.open("C://Documents and Settings//kedar//My Documents//NetBeansProjects//JRCViewReportLogon//src//Report1.rpt", 0);
new ReportViewerFrame(reportClientDoc);

After running the code I am getting the following error.

java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key Error_InvalidServerName
at java.util.ResourceBundle.getObject(ResourceBundle.java:393)
at java.util.ResourceBundle.getObject(ResourceBundle.java:390)
at java.util.ResourceBundle.getString(ResourceBundle.java:353)
at com.crystaldecisions.client.helper.ResourceManager.getString(Unknown Source)
at com.crystaldecisions.client.helper.SDKResourceManager.getString(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.TCPIPCommunicationAdapter.connect(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.aa.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.int(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.for(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.for(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
at com.crystaldecisions.reports.sdk.ReportClientDocument.open(SourceFile:80)
at JRCViewReportLogon.main(JRCViewReportLogon.java:71)


I searched on net, but I didn’t get anything.

please help me out.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Crystal Report and Java Connection
 
Similar Threads
Crystal Reports - 2 problems printing
Call Crystal Reports from Java
Configure Tomcat with Crystal Report
error when trying to open crystal report
Open crystal report in JSP