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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

missingParameterValueError

Status
Not open for further replies.

mohdshadab

Programmer
Feb 22, 2006
13
IN
I need help regarding exporting a report in which parameters are passed.

I am using stored procedures for generating the report. I am calling the stored procedure in my .rpt file.

I need to pass the parameters from jsp and export the report.

I have been able to do this using the ReportExportControl Class but I need to do this using the ReportClientDocument Class because in the first method for exporting the report one has to call the method
getHtmlContent(request, response, request.getSession().getServletContext()) which takes the input as request and response.

I have to generate the reports asynchronously and hence there would be no request and response objects available, so I need to do this by using ReportClientDocument Class.

I have successfully exported the reports in which no parameters are passed using ReportClientDocument class but when trying the same technique with parameterised export, I am getting the error

com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Missing parameter values.---- Error code:-2147217394 Error code name:missingParameterValueError

I am able to set the parameters and also able to retreive their value before calling the export method but this error comes at the point where I am calling the export method of PrintOutputController class.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top