Last post Aug 22, 2014 04:53 AM by Michelle Ge - MSFT
Aug 21, 2014 01:57 PM|ronin47|LINK
[Mod: edited to mask password]
I've created a aspx page containing a ReportViewer Control. The Report I want to display is located on another server which has the SSRS tools installed. I can show all the reports on the browser, if I request them directly (http://myReportserver/reportserver).
But when I use the control, no data is being displayed, the empty report itself is being displayed though.
Here's my code so far:
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" ProcessingMode="Remote" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Height="1060px" Width="1015px" AsyncRendering="False">
<ServerReport ReportPath="/XyzReporting/Report01" ReportServerUrl="http://myReportserver/reportserver" />
Code Behind (for Authentication)
public partial class WebForm1 : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
ReportViewer1.ServerReport.ReportServerCredentials = new ReportServerCredentials("Administrator", "xxxx", "myreportserver");
Any help would be appreciated.
Thanks a lot,
Aug 22, 2014 04:53 AM|Michelle Ge - MSFT|LINK
According to your error message, first we need to check if the report path is correct. Second, we need to check the connection to the server is correct. If we have get the Data as we bind the Data to the Report.
There is a similar thread, please refer to the link below:
Hope it's useful for you.