I have used this method many times with success, but all of a sudden its not working.

I have a report with two parameters.

I am trying to pass these two with the following code :

Code:
Me.PenalisasieTableAdapter.Fill(Me.LutzvilleDataSet.penalisasie)

        Dim param1 As New ReportParameter("ReportParameterALIASNAAM", KiesVorm.CmbAliasnaam4.SelectedItem.ToString())

        Dim param2 As New ReportParameter("ReportParameterPENALISASIE", KiesVorm.GepenaliseerComboBox.SelectedItem.ToString())

        Me.ReportViewer1.LocalReport.SetParameters(New ReportParameter() {param1, param2})

        Me.ReportViewer1.Show()
        Me.ReportViewer1.RefreshReport()
I get the following error : : 'Unable to cast object of type 'Microsoft.Reporting.WebForms.ReportParameter[]' to type 'System.Collections.Generic.IEnumerable`1[Microsoft.Reporting.WinForms.ReportParameter]'.'

I have searched in vain to get a solution. Please can someone help me, before I go mad.

Regards