Report Viewer Parameter missing a value
Hi,
I am using Microsoft.ReportViewer.WebForms ver 8.0 to display rdl reports in a web page. I'm using VS 2005 with service pack 1.
I set ReportServerCredentials using a custom class that implements IReportServerCredentials. It exposes NetworkCredentials using a valid admin user account. I am setting report parameters from code as:
ReportViewer1.ServerReport.SetParameters(parameters)
I find that when I run the page with reportserver credentials set, the parameters are not passed to the report and I get an error message, "Parameter, XXX is missing a value". I can see what parameters were sent by setting ShowParameterPromptsto True.
When I remove the credential settings,the parameter values do get set but the report throws the following error on execution:
Execution '2su5vg55juj253455rodai55' cannot be found
I have checked that my web project is using Kerberos authentication and not NTLM. Has anybody faced a problem like this? I would appreciate any help.
Thanks
Supriya
March 25th, 2008 12:05pm
I know that this is a couple years after the fact, but this issue still exists with SSRS 2008 and VS 2008. I didn't find an answer on any of the sites, but I started to think that maybe the control itself is bugged, and I was right. The work-around
for this is to:
Set ReportViewer.ServerReport.ReportServerCredentials, and then Use ReportViewer.ServerReport.SetParameters(paramList).
It appears that setting the credentials clears the parameters.
Free Windows Admin Tool Kit Click here and download it now
December 28th, 2010 5:29pm