Click here to Skip to main content
15,883,901 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,
I can browse to a ssrs report by the following path:
http://servername:PortNumber/Reports/Pages/Report.aspx?ItemPath=%2fSSRSFolder%2fReportName

Now, I would like to browse to this report via asp.net webform.

1- Added reportviewer
C#
private void PopulateReport(string strReport)
    {
        string strReportServer = ConfigurationManager.AppSettings["ReportServer"];
        this.ReportViewer1.ServerReport.ReportServerUrl = new Uri(@"http://" + strReportServer + @"/ReportServer");
        this.ReportViewer1.ServerReport.ReportPath = @"/SSRSFolder/" + strReport;
    }

the error I get is:
The Report Viewer Web Control requires a System.Web.UI.ScriptManager on the web form.
Any thoughts please?
Thanks
Posted

1 solution

 
Share this answer
 
Comments
arkiboys 16-Jul-12 15:37pm    
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900