none
ReportViewer not showing - duplicates aspx page instead RRS feed

  • Question

  • This is a tough one to debug as it is deployed out of my hands and eyes to debug. Yes it's all fine in development.

    In my webapp, an aspx page shows the reportViewer in an iframe (or should) as well all know.
    But instead, the iframe shows the same aspx page repeated and no reports, i.e. page header, menus etc.

    Has anyone experienced this?

    Aspx code:

    <cc1:ReportViewer id="ReportViewer1" ToolTip="Report Section" runat="server" width="1000px" height="1000px" toolbar="True"></cc1:ReportViewer>

    Codebehind in Page_Load:

    if (!Page.IsPostBack && this.FindControl("ReportViewer1") != null)
    {
            Microsoft.Samples.ReportingServices.ReportViewer ReportViewer1 = (Microsoft.Samples.ReportingServices.ReportViewer)this.FindControl("ReportViewer1");
            ReportViewer1.ServerUrl = ConfigurationSettings.AppSettings["MSReportServerURL"];
            ReportViewer1.ReportPath = reportPath + reportName + "&rs:Command=Render&rs:Format=HTML4.0&rc:Toolbar=true&rcStick out tonguearameters=true";
          }



    Friday, February 8, 2008 12:55 AM