none
Problem getting my sql reports to appear RRS feed

  • Question

  •  

    I am using this report viewer

     

    <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana"

    Font-Size="8pt" Height="100%" Width="100%" ZoomMode="PageWidth">

    <ServerReport ReportServerUrl="http://localhost/Reports" ReportPath="/InCompletes" />

    </rsweb:ReportViewer>

     

    But when I view the report nothing shows.

     

    So I added this code so I could maybe get an exception to determine the issue

     

    try {

     ReportViewer1.ProcessingMode = ProcessingMode.Remote;

     ReportViewer1.ServerReport.SetDataSourceCredentials(new[] { new DataSourceCredentials() { Name = "XXXId", Password = "XXXpassword" } });

     ReportViewer1.ServerReport.Refresh();

    } catch (Exception ex) {

     int i = 0;

    }

     

    and when I run it gives me a 404 file not found issue

     

    The report server is set up with defauls. And the report is in the default folder

    Can anyone spot whats wrong with my path?

    Thursday, March 13, 2008 4:26 PM

Answers

All replies