Setting different reporting services url via IReportServerConnection RRS feed

  • Question

  • User756353548 posted

    I have a asp.net app that needs to display report. I have problem using more than one reporting services urls via IReportServerConnection.

    Specifically, I need to display report from different report services url on different page via IReportServerConnection. Each page uses report viewer web forms control. The problem is that how to assign different report services url for different page.

    Below is the settings related to IReportServerConnection:

        <add key="ReportViewerServerConnection" value="ReportServer.ReportServerConnection" />
        public class ReportServerConnection : IReportServerConnection {
        public Uri ReportServerUrl { get; set;}

    Below shows report viewer control that is used on different page that needs different reporting services urls:

                <rsweb:ReportViewer ID="reportViewer" runat="server"             
                    <ServerReport  />

    Thanks in advance.           

    Thursday, July 17, 2014 10:06 AM