Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Crystal Report and Java Connection

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
When people don’t understand what you are doing they call you crazy. But this tiny ad just doesn't care:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic