0
我想在我的網頁使用現有SSRS報告(ASP.net)嵌入SSRS在我的網頁
我在我的網頁和設置服務器報告使用的ReportViewer和報表路徑
的這份報告不顯示並獲取此錯誤
項目'/ TEST/Financial/WIP + Account'的路徑無效。完整路徑長度不得超過260個字符;其他限制適用。如果報表服務器處於純模式,則路徑必須以斜線開頭。 (rsInvalidItemPath)
我看着這個
how to set Reportviewer controls report server Url and report path properties in asp.net
,但仍然沒有工作
這裏是我的代碼
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Main.aspx.cs" Inherits="DeployRep.Main" %>
<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<div>
</div>
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Width="1239px" ProcessingMode="Remote" Font-Names="Verdana" Font-Size="8pt" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt">
<ServerReport ReportServerUrl="http://mySSRSServ/reportserver" ReportPath="/TEST/Financial/WIP+Account"/>
</rsweb:ReportViewer>
</form>
</body>
</html>