imsome1
imsome1

Reputation: 1192

Reportviewer Error

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 Reoprtviewer

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

Answers (1)

Sagar Maher
Sagar Maher

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

Related Questions