locked
RE: rsItemNotFound RRS feed

  • Question

  • User770658806 posted

    Hi,

    I have sql reports which are available in server and when try to integrate in .aspx page by adding reportviewer control I am getting rsItemNotFound error.

    proctected void btnresponse_Click()

    {

       reportviewer1.processingmode=processingmode.Remote;
       ReportViewer1.ServerReport.ReportServerUrl = new Uri(@"http://myserver/ReportServer");
       ReportViewer1.ServerReport.ReportPath="/Reports/reportdeployed/1_rti_maden";
       ReportViewer1.ServerReport.Refresh();

    }

    Wednesday, July 22, 2015 9:43 AM

All replies

  • User-1664007096 posted

    rsItemNotFound

    Thanks for your post.

    Can you provide more details about the exception? That will help us reproduce and resolution your issue.
    Otherwise to view reports deployed to a report server or reports that exist on the local file system,
    you can use the WebForms ReportViewer control to render them in a Web application.

    For more information, click here to refer about Using the WebForms ReportViewer Control

    Wednesday, July 22, 2015 11:11 PM
  • User770658806 posted

    Hi Junfeng Dai

    1. I have reports in report server
    2. I want to view reports from my .aspx webpage with the help of reportviewer control
    3. In code behind file I assigned url and path accordingly

    The error is

    The item
    /Reports/reportdeployed/1_rti_maden
    cannot be found. (rsitemNotFound)

    Thursday, July 23, 2015 6:09 AM
  • User-1664007096 posted

    Re: rsItemNotFound

    Thanks for your post.
    You can try like below:

    reportviewer1.processingmode=processingmode.Remote;
    ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://myserver/ReportServer");
    ReportViewer1.ServerReport.ReportPath="/Reports/reportdeployed/1_rti_maden";
    ReportViewer1.ServerReport.Refresh();

    Further any exception, kindly let us know.

    Tuesday, July 28, 2015 9:39 PM