Monday, February 20, 2012

Problem with passing report parameters using POST request.

Hi

We are accessing reports through our web application. Our front end is implemented using tapestry
Our report is using four parameters. The report url is like
http://<servername>/ReportServer/Pages/ReportViewer.aspx?/<Report_Proj_Name>/<ReportName>

We are using POST requests with our report parameters defined as hidden variables.
If we use GET request, with parameters as query string then we are able to view our reports.


When I tried to access the report through web application, it gives out an error message as:


Reporting Services Error
---


An attempt was made to set a report parameter 'formids' that is not
defined in this report. (rsUnknownReportParameter) Get Online Help


---

For POST request, we get the above mentioned error. When I saw the view source I could see that tapestry
internally sets its own hidden variable for persisting its state in session.
formids is one of the hidden variable set by it.

How should I specify in the report that formids is not one of the report parameter.
There may be other hidden variables other than formids too that may get generated at runtime.
What setting should I do at the report end or at the application end?


Please help me find a solution for this problem.

Thanks!

I would suggest using a separate <form> tag in the application and populating this with just the parameters expected by the report. So I would make the change at the application level.|||

Thanks for your response! but I tried doing that still its not working.

Tapestry at runtime generates those hidden variables.

No comments:

Post a Comment