I\'m using the following code trying to SetParametr :
var report = new ReportParameter[1]; report[0] = new ReportParameter(\"MyName\", \"Raha\");
I had the same problem today, in my case the reason "copy-paste" issue. Just replacing ServerReport with LocalReport in the code below solved the problem. Change
_reportViewer.LocalReport.DataSources.Add(reportDataSource1);
to
_reportViewer.ServerReport.SetParameters(report);