I got a problem with reporting services, running local rdlc files on the 2005 version.
I have in the HTML a report viewer set to run locally as follows :
I've spent many days to figure out similar issue. Maybe this could help someone. I've read almost all threads on stackoverflow, but reading comments here made me try this out. In my case first two rows (parameters row and row with option to hide parameters) were shown, but rows that contain management buttons and the report itself were empty. Clicking View report
resulted in no action.
What I've done was loading the report that had parameters without providing them - I wanted user to fill them - on Page_Load
.
protected void Page_Load( object sender, EventArgs e )
{
this.LoadReport();
}
private void LoadReport()
{
// retrieve path param from "Reports/{path}" URL
string reportPath = Request.QueryString[ "path" ] as string;
string reportServerUrl = System.Configuration.ConfigurationManager.AppSettings[ "ReportServerUrl" ];
this.MainReport.ProcessingMode = ProcessingMode.Remote;
this.MainReport.ServerReport.ReportServerUrl = new Uri( reportServerUrl );
this.MainReport.ServerReport.ReportPath = reportPath;
this.MainReport.ServerReport.Refresh();
}
After changing Page_Load
code to the given below everything works fine.
protected void Page_Load( object sender, EventArgs e )
{
if ( !this.IsPostBack )
this.LoadReport();
}