(Microsoft.Reporting.WebForms.ReportViewer) is not compatible with the type of control (Microsoft.Reporting.WebForms.ReportViewer)

I am trying to use ReportViewer 9 in Visual Studio 8 but I get this error when I try to run the page:

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

------------------------

What did work for me was going to the Solution Explorer -> [Project Name] -> References -> delete the Report viewer reference and readd the correct one (Microsoft.Reporting.WebForms.ReportViewer 8.0/9.0).

------------------------

 

------------------------

 

from: http://forums.asp.net/p/1284295/3398317.aspx

posted @ 2010-04-11 22:05  emanlee  阅读(1613)  评论(0编辑  收藏  举报