Skip to Content
0
Former Member
Feb 11, 2009 at 09:31 PM

Generating reports from a remote server

197 Views

I am unable to generate reports which are published on a remote server (which also has MS-SQL DB Server). I am using ReportClientDocument to open a report and the firewall rules allow connections from the app server to report server on port 6400.

Here is the Code snippet:

InetAddress ip = InetAddress.getByName("report app server ip");

String rasServerName = ip.getHostName();

System.out.println("\n\n\n rasServerName "+rasServerName); //printing the name properly

clientDoc.setReportAppServer(rasServerName);

//setting the report app server properly.

clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);

//reportName is assigned just to the report name - How should I call a report from the remote server?

At this point, my app server is hung. There is no response at all.

Please let me know if you have a resolution for this issue.

Thanks

Edited by: Kathy Millman on Feb 11, 2009 10:31 PM