The base class includes the field ‘XXX’, but its type is not compatible with the type of control “Microsoft.Reporting.WebForms.ReportViewer”

In this article, I will solve the below issue

The base class includes the field ‘XXX’, but its type is not compatible with the type of control “Microsoft.Reporting.WebForms.ReportViewer”


Scenario

In SharePoint Solution, I have tried to add a “Report Viewer” control to visual web part but, I got the below error

The base class includes the field ‘rv_emp’, but its type (Microsoft.Reporting.WebForms.ReportViewer) is not compatible with the type of control (Microsoft.Reporting.WebForms.ReportViewer)

type is not compatible with the type of control Continue reading The base class includes the field ‘XXX’, but its type is not compatible with the type of control “Microsoft.Reporting.WebForms.ReportViewer”