locked
rsStreamNotFound - Sharepoint Integrated Mode RRS feed

  • Question

  • Hi i'm trying to view a report that's in sharepoint integrated mode in a .net page. Here is my code

    protected void Page_Load(object sender, EventArgs e)
    {

    ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.

    ProcessingMode.Remote;

    ReportViewer1.ServerReport.ReportServerUrl =
        

    new System.Uri(Http://130.216.11.9/ReportServer/);

    ReportViewer1.ServerReport.ReportPath =

    http://devadmin03/Reporting/Shared%20Documents/Report%20-%20Test%20Report2.rdl;

    while (this.ReportViewer1.ServerReport.IsDrillthroughReport)
    {
        
    this.ReportViewer1.PerformBack();
    }

    Microsoft.Reporting.WebForms.

    ReportParameter[] RptParameters =
        new Microsoft.Reporting.WebForms.ReportParameter[3];

    RptParameters[0] =

    new Microsoft.Reporting.WebForms.ReportParameter("ToDay", txtToDay.Text);
    RptParameters[1] =
    new Microsoft.Reporting.WebForms.ReportParameter("WeeksBack", txtWeeksBack.Text);
    RptParameters[2] =
    new Microsoft.Reporting.WebForms.ReportParameter("TopN", txtTopN.Text);
    ReportViewer1.ServerReport.SetParameters(RptParameters);
    ReportViewer1.ServerReport.Refresh();





    But i keep getting:

    • The stream cannot be found. The stream identifier that is provided to an operation cannot be located in the report server database. (rsStreamNotFound)

    Monday, October 6, 2008 9:05 PM