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.
LVL 4
DrLechterAsked:
Who is Participating?
 
Jason Yousef, MSSr. BI  DeveloperCommented:
Oh! that was easy then...lol

Glad that you fixed the problem...

Jason
0
 
Alpesh PatelAssistant ConsultantCommented:
Please check the parameter you are passing are proper.
0
 
Jason Yousef, MSSr. BI  DeveloperCommented:
Hello,

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

0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
DrLechterAuthor Commented:
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.  
0
 
DrLechterAuthor Commented:
Duh!  I found the problem.  I was reinitialing the ReportView control regardless of whether the page was a postback or not.
0
 
Jason Yousef, MSSr. BI  DeveloperCommented:
Thanks for the points and the grade..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.