Joined: 17 Jun 2014
Online Status: Offline
Posts: 2
Topic: Open Crystal report with Procedures using JSP Posted: 09 Sep 2014 at 9:47pm
Hi,
I am trying to Export simple crystal report to PDF using JSP, This is working perfectly fine. But when I use same piece of code to export complex report which contain more than 2 stored procedures following error is thrown.
(The complex report is working fine in Crystal report 2008/2013 designed tool)
Error:
HTTP Status 500 - javax.servlet.ServletException: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Failed to bind columns.---- Error code:-2147467259 Error code name:failed
The JSP Code I am using is as follows:
<%
String reportPath;
Object reportSource;
ReportClientDocument reportClientDocument;
ByteArrayInputStream byteArrayInputStream;
byte[] byteArray;
int bytesRead;
reportPath = request.getParameter("_reportName");
/*
* Instantiate ReportClientDocument and specify the Java Print Engine as the report processor.
* Open a rpt file and export to PDF. Stream PDF back to web browser.
*/
reportClientDocument = new ReportClientDocument();
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum