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

ReportViewer shows no data - but exports proves it is there

  •  10-24-2006, 2:39 PM

    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:
View Complete Thread