Showing posts with label appear. Show all posts
Showing posts with label appear. Show all posts

Wednesday, March 28, 2012

ReportViewer ASP Component RefreshReport didn''t appear.

Hi every body !
I try to insert the reportViewer in my asp page, all is good, but if I want to change (by choosing another report), and i cannot call the method RefreshReport() as I saw in the msdn documentation.
I didn't understand why, I download the ReportViewer from msdn download : the version is 2.0.50727.42 from 22/01/2006...
I implement in my asp designer tools the following dll : Microsoft.SqlServer.UpgradeAdvisor.ReportViewer.dll 9.0.1399.1 from 14/10/2005

Did I forget any code line ? or did I download a bad version ?

Code Snipp

ReportViewer1.ServerReport.ReportPath += "CounterReport";

ReportViewer1.Refre.... //Visual studio didn't propose the method !!

This method is available only with the WinForm version of the ReportViewer. With the ASP.NET version you don't need to refresh the report.

Monday, March 12, 2012

Reports behind a domain with SSL

Greetings,

SSL was recently applied to the domain the reports are behind. I have been trying to get the "unsecure dialog" to not appear when viewing a RS report.

The report is embeded in a div tag in the aspx page. When accessing the site via https everything still works, if left unchanged, except the "unsecure content" dialog is displayed before the report renders.

When I change the URL of the div tag to https:\\<RSSERVER>\<REPORTCOMMAND>, I get the following error:

"Content was blocked because it was not signed by a valid security certificate."

Anyone know what I need to do to make this work?

http://msdn2.microsoft.com/en-us/library/ms345223.aspx needs to be followed.