The source of the report definition has not been specified
I'm using the following code trying to SetParametr : var report = new ReportParameter[1]; report[0] = new ReportParameter("MyName", "Raha"); var reportDataSource1 = new ReportDataSource { Name = "WpfApplication17_User", Value = _users }; _reportViewer.LocalReport.DataSources.Add(reportDataSource1); _reportViewer.ServerReport.SetParameters(report); _reportViewer.LocalReport.ReportPath = "../../Report1.rdlc"; _reportViewer.RefreshReport(); error : The source of the report definition has not been specified Why wrong? I've created a report parameter , Parameter name is 'MyName' UPDATE : I'm using