DrLechter
asked on
User entered parameters erased from SSRS report when View Report button clicked
I have an SSRS report with a number of parameters for dates, etc. The report works perfectly when run directly from SSRS. It also seems to work fine when launched from inside an asp.net application. However, when I include code in the app to set the ReportServerCredentials, the user entered report parameters on the report screen vanish when the View Report button is clicked.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I am not passing any parameters to the report from the app. I am referring to user entered parameters on the report itself. When the user clicks on the View Report button (in the report), all the parameters they entered are erased and replaced by their default values.
ASKER
Duh! I found the problem. I was reinitialing the ReportView control regardless of whether the page was a postback or not.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the points and the grade..
what do you mean by the screen vanish? could be no critera for the selected paramters?
check the SSRS various logs and post your error.
http://msdn.microsoft.com/en-us/library/ms157403.aspx
Thanks
Jason