0

I'm trying to load an .rdlc file in SharePoint 2007 but it is not getting loaded and the following error is coming on that Report Page.

Below mentioned is the code which I've used. Kindly help what modifications I should have to do.

   if (!Page.IsPostBack)
    {
        this.EnableViewState = true;

        rptViewer.Reset();
        rptViewer.LocalReport.EnableHyperlinks = true;
        rptViewer.KeepSessionAlive = true;
        rptViewer.EnableViewState = true;
        rptViewer.ProcessingMode = ProcessingMode.Local;
        rptViewer.LocalReport.ReportPath = @"C:\New folder\RDLC\RiskReports\RiskReports\Report1.rdlc";
    }

It would be a great help and appreciation.

Aakash Srivastava
  • 59
  • 1
  • 2
  • 11

0 Answers0