本文介绍了无法找到“/报告”项。 (rsItemNotFound)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 您好 我创建了一个ssrs报告,但在浏览器上查看时出现以下错误.. 项目无法找到'/ Report'。 (rsItemNotFound) 我的源文件 < div > < ; asp:ScriptManager ID = ScriptManager1 runat = server > < / asp:ScriptManager > < div style = margin-left:50px; > < rsweb:ReportViewer ID = ReportViewer1 runat = 服务器 字体名称 = Verdana 字体大小 = 8pt 高度 = 2000px 宽度 = 1200px > < / rsweb:ReportViewer > & nbsp; < / div > < / div > 我的代码落后 受保护 void Page_Load( object sender,EventArgs e) { ShowReport(); } 受保护 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://本地主机/的ReportServer); ReportViewer1.ServerReport.ReportPath = / Report; ReportParameter [] reportpara = new ReportParameter [ 1 ]; reportpara [ 0 ] = new ReportParameter(DonorInfoCode); ReportViewer1.ServerReport.SetParameters(reportpara); ReportViewer1.ServerReport.Refresh(); } } 请帮助我能解决这个问题。解决方案 刚刚注意到这个问题仍然没有答案,请查看这个 无法找到报告 [ ^ ] 使用sqlserver身份验证而不是sql中的窗口身份验证 更改来自:ReportViewer1 .ServerReport.ReportPath =/ Report; To:ReportViewer1.ServerReport.ReportPath =/ Report / Report1; 如果有更多详细信息,请使用以下网址 http ://jpmaheta.blogspot.in/search?q = rsitem [ ^ ] 您需要设置完整路径 您可以在Reportserver数据库中看到的示例 和表目录 从ReportServer.dbo.Catalog中选择路径,其中Name ='Report1' HelloI 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<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 behindprotected 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. 解决方案 Just noticed this question still without answer, check it out thisReport cannot be Found[^]use sqlserver authentication than window authentication in sqlchange From: ReportViewer1.ServerReport.ReportPath = "/Report"; To : ReportViewer1.ServerReport.ReportPath = "/Report/Report1";if more details use below urlhttp://jpmaheta.blogspot.in/search?q=rsitem[^]You need to set the Full pathan example of which you can see in your Reportserver databaseand table Catalogselect Path from ReportServer.dbo.Catalog where Name='Report1' 这篇关于无法找到“/报告”项。 (rsItemNotFound)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-27 12:30