I've recently setup a new webserver with Windows Server 2012. I installed SSRS 2008 R2 with SP2. I've made sure all udpates are done.
I have an aspx page with a reportviewer and some code-behind. Here is the code:
ReportViewer1.ProcessingMode = ProcessingMode.Remote
ReportViewer1.ServerReport.ReportServerUrl = New System.Uri("http://myweb/SSRS")
ReportViewer1.ServerReport.ReportPath = "/mypath"
ReportViewer1.ShowCredentialPrompts = False
ReportViewer1.ServerReport.ReportServerCredentials = New MyReportServerCredentials
I've used this code on many pages before without any issues. I also assign about 7 different report parameters. Since setting up a test page I've had issues printing reports. Whenever I load a report it will print normally. If I change one of the report parameters and then try to print the report it will always print the original report, the settings prior to the parameter change. Doesn't matter if I click "View Report" a few times, or refresh the report. The data on the report changed to the new parameter setting, but when I print the report it is still the original data.
I thought it was a browser issue, or maybe the print client. I have tried this on two different desktops, along with the actual webserver. I've deleted the print client and re-installed it. I even updated sql 2008 r2 with SP2 to see if that would help and it doesn't.
When I view this report in the report manager it works fine. Looking at the print preview, the data always changes after a parameter change. So my assumption is that there is an issue with my code for the reportviewer, or some IIS issue related to reports and printing?
Any help? I can't seem to find anyone else with this problem...