I am using VB.NET and MySql and created a report, the report is working without any error on developer machine. It gives following error when I installed it and running on another machine. I have included Microsoft.ReportViewer.Common.dll, Microsoft.ReportViewer.WinForms.dll
This is my code for loading report
Private Sub frmRptCustomerBal_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim cn As New dbConnection cn.connect() rptCustomerBalTableAdapter.Connection = cn.conn ReportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Local ReportViewer1.LocalReport.ReportPath = "rptCustomerBal.rdlc" Me.rptCustomerBalTableAdapter.Fill(Me.rptCustomerBal._rptCustomerBal) Me.ReportViewer1.RefreshReport() cn.close_conn() End Sub