when i run a report with parameter in my asp.net application i see loading div to infinity
without any indication of an error (so i dont know how to search about this issue in google)
note1:
i can run the same report directly from report server
note2:
if i removed the parameter it run normally from asp.net page as well as from report server
protected void Page_Load(object sender, EventArgs e)
{
oID = (Int64)Session["OID"];
ViewReport();
}
public void ViewReport()
{
string reportServerUrl = ConfigurationManager.AppSettings.Get("ReportServerPath");
ReportViewer.ServerReport.ReportServerUrl = new System.Uri(reportServerUrl);
ReportViewer.ServerReport.ReportPath = @"/StoReports/MyReport";
ReportViewer.ServerReport.SetParameters(new ReportParameter("OID", oID.ToString()));
ReportViewer.ServerReport.Refresh();
}
in a function called Sys$WebForms$PageRequestManager$_endPostBack(error, executor, data)
tools sql server Denali , visual studio 2010
this article explains the issue in details