Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello
I had created an ssrs report but while viewing it on browser I am Getting an following Error..

The item '/Report' cannot be found. (rsItemNotFound)

My source file
XML
<div>
       <asp:ScriptManager ID="ScriptManager1" runat="server">
       </asp:ScriptManager>
       <div style="margin-left: 50px;">
           <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt"
               Height="2000px" Width="1200px">
           </rsweb:ReportViewer>
           &nbsp;</div>
   </div>



my code behind

C#
protected void Page_Load(object sender, EventArgs e)
   {
       ShowReport();
   }
   protected void ShowReport()
   {
       if (Request.QueryString["Dprint"] != null)
       {
           string DonorInfoCode = Request.QueryString["Dprint"].ToString();

           ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
           ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://localhost/ReportServer");
           ReportViewer1.ServerReport.ReportPath = "/Report";
           ReportParameter[] reportpara = new ReportParameter[1];
           reportpara[0] = new ReportParameter(DonorInfoCode);
           ReportViewer1.ServerReport.SetParameters(reportpara);
           ReportViewer1.ServerReport.Refresh();
       }
   }


Please help would i able to resolve this.
Posted
Updated 10-Apr-19 1:35am
Comments
[no name] 28-Oct-13 8:45am    
You must have configured your local Report server before doing this so there can be a problem with the "/Report" report path as i had faced the same problem last year in my case report path was the problem..

Moreover if the Report URL is correct then only report path is the parameter required for deploying the SSRS Report..
Remember the "/Report" should be the folder on your report server http://localhost/ReportServer and then check the path you are providing..

Just noticed this question still without answer, check it out this
Report cannot be Found[^]
 
Share this answer
 
use sqlserver authentication than window authentication in sql

change From: ReportViewer1.ServerReport.ReportPath = "/Report";
To : ReportViewer1.ServerReport.ReportPath = "/Report/Report1";

if more details use below url
http://jpmaheta.blogspot.in/search?q=rsitem[^]
 
Share this answer
 
v2
You need to set the Full path

an example of which you can see in your Reportserver database
and table Catalog

select Path from ReportServer.dbo.Catalog where Name='Report1'
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900