Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error: Invalid File Path

Status
Not open for further replies.

subendu

Programmer
Feb 13, 2003
41
US
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.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top