2012-04-10 66 views

回答

1

是的,您確實需要將您的報告發布到報告管理器。

報告發布後,您可以使用組件訪問並在頁面上顯示它們。 事情是這樣的:

<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" Height="100%" InteractiveDeviceInfos="(Collection)" ProcessingMode="Remote" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="100%"> 
    <ServerReport ReportServerUrl="http://localhost:8080/ReportServer" Timeout="-1" /> 
</rsweb:ReportViewer> 
+0

的問題是,我要報告發布到Web託管和SQL Server共享,並通過大量的用戶使用,所以主機管理員告訴我,他不能爲我提供publishinp流程所需的用戶名和密碼。有沒有辦法在VS2010中添加報表並在那裏使用ReportViewer? – 2012-04-10 16:07:50

+0

您需要將報告發布到您的SSRS報告管理器,否則您將無法運行它 – Diego 2012-04-10 16:17:43