Hi All,
I am using CrystalReportViewer as shown below
CrystalReportViewer tc1 = new CrystalReportViewer();
tc1.setName("m_Crystal_Report_Viewer"
;
tc1.setOwnPage(true);
tc1.setEnableDrillDown(true);
tc1.setDisplayGroupTree(false);
tc1.setDisplayToolbar(true);
tc1.setSeparatePages(true);
//Pass the report to the viewer, and view the report
IReportSource reportSource = rptClientDoc.getReportSource();
tc1.setReportSource(reportSource);
tc1.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
I am able to get the first page of the report, now when in click on the Next Button, i get the following error
Error: Opencom.crystaldecisions.sdk.occa.report.lib.ReportSDKClientDocException: Unable to open the document because the given file path is not valid.---- Error code:-2147215358 Error code name:invalidFilePath
Please help me, where I am going wrong, I tried getting a ReportAppSession and calling initialize() and createService() on it too, still the error persists.
I am using CrystalReportViewer as shown below
CrystalReportViewer tc1 = new CrystalReportViewer();
tc1.setName("m_Crystal_Report_Viewer"
tc1.setOwnPage(true);
tc1.setEnableDrillDown(true);
tc1.setDisplayGroupTree(false);
tc1.setDisplayToolbar(true);
tc1.setSeparatePages(true);
//Pass the report to the viewer, and view the report
IReportSource reportSource = rptClientDoc.getReportSource();
tc1.setReportSource(reportSource);
tc1.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
I am able to get the first page of the report, now when in click on the Next Button, i get the following error
Error: Opencom.crystaldecisions.sdk.occa.report.lib.ReportSDKClientDocException: Unable to open the document because the given file path is not valid.---- Error code:-2147215358 Error code name:invalidFilePath
Please help me, where I am going wrong, I tried getting a ReportAppSession and calling initialize() and createService() on it too, still the error persists.