Reputation: 1192
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
Upvotes: 1
Views: 1160
Reputation: 46
It looks like you haven't installed Report Viewer on the client system. Here is the download link for Report Viewer.
Upvotes: 1