Got more questions? Find advice on: ASP | XML | Regular Expressions | Windows
in Search
Welcome to SqlAdvice Sign in | Join | Help

ReportViewer shows no data - but exports proves it is there

Last post 10-24-2006, 3:12 PM by ssmith. 2 replies.
Sort Posts: Previous Next
  •  10-24-2006, 2:39 PM 23626

    ReportViewer shows no data - but exports proves it is there

    I'm playing with ReportViewer for the first time in an ASP.NET 2.0 application using VS 2005.  I set up the ReportViewer like so:

    <body>

    body>

    <form id="form1" runat="server">

    <form id="form1" runat="server">

    <div>

    <div>

    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" Height="100%" ProcessingMode="Remote" Width="100%">

    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" Height="100%" ProcessingMode="Remote" Width="100%">

    <ServerReport ReportPath="/NetworkReports/Report_By_Type" ReportServerUrl="http://server1/reportserver" />

    <ServerReport ReportPath="/NetworkReports/Report_By_Type" ReportServerUrl="http://server1/reportserver" />

    </rsweb:ReportViewer>

    </rsweb:ReportViewer>

    </div>

    </div>

    </form>

    </body>

    </form>

    </body>

    body>

    This works fine if I click Select A Format -> Excel -> Export.  I get my data as expected.  But the ASPX page never shows the data, only a blue background after the AJAX loading image goes away.  The same report works fine via the Report Server's url.


    Steven A Smith
    President, AspAlliance LLC
    CIO, Lake Quincy Media, LLC
    Filed under:
  •  10-24-2006, 3:12 PM 23628 in reply to 23626

    Re: ReportViewer shows no data - but exports proves it is there

    Solved - set the height to 1000px and it worked.

    http://aspadvice.com/blogs/ssmith/archive/2006/10/24/ReportViewer-Showing-No-Data-_2D00_-Solved.aspx

     


    Steven A Smith
    President, AspAlliance LLC
    CIO, Lake Quincy Media, LLC
  •  10-24-2006, 3:12 PM 23629 in reply to 23626

    Re: ReportViewer shows no data - but exports proves it is there

    Solved!

    Set the height to 1000px and it works. 

    http://aspadvice.com/blogs/ssmith/archive/2006/10/24/ReportViewer-Showing-No-Data-_2D00_-Solved.aspx


    Steven A Smith
    President, AspAlliance LLC
    CIO, Lake Quincy Media, LLC
    Filed under:
View as RSS news feed in XML