(Microsoft.Reporting.WebForms.ReportViewer) is not compatible with the type of control (Microsoft.Reporting.WebForms.ReportViewer)
2010-04-11 22:05
627 查看
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
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
相关文章推荐
- (System.Web.UI.HtmlControls.HtmlIframe) is not compatible with the type of control (System.Web.UI.Ht
- AS.NET2.0 用户控件错误!!The base class includes the field 'MyControl_1', but its type (MyControl) is not compatible with the type of control (ASP.MyControl_ascx).
- The base class includes the field '...', but its type (...) is not compatible with the type of control (...)
- 'Microsoft.Reporting.WebForms.ReportViewer' does not contain a definition for 'Reset'解决方法(转)
- The provider is not compatible with the version of Oracle client
- CS0433: 类型“Microsoft.Reporting.WebForms.ReportViewer”同时存在于“c:/WINDOWS/assembly/GAC_MSIL/Microsoft.ReportViewer.WebForms/8.0.0.0_
- 错误:created a ThreadLocal with key of type ……but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
- CS0433: 类型“Microsoft.Reporting.WebForms.ReportViewer”同时存在于“c:/WINDOWS/assembly/GAC_MSIL/Microsoft.ReportViewer.WebForms/8.0.0.0_ 标签: cassembly
- The provider is not compatible with the version of Oracle client sometimes (提供程序与此版本的 Oracle 客户机不兼容)
- 基类包括字段“ReportViewer1”,但其类型(Microsoft.Reporting.WebForms.ReportViewer)与控件(Microsoft.Reporting.WebForms.ReportViewer)的类型不兼容。
- mvn install Geoserver under ubuntu10.04 时遇到的错误:the API of the mojo scanner is not compatible with this plugin version. 的解决方法
- Java出现No enclosing instance of type ImageViewer is accessible. Must qualify the allocation with an
- The provider is not compatible with the version of Oracle client
- The provider is not compatible with the version of Oracle client
- 使用VS2017新建的Web项目报错:Package Microsoft.Composition 1.0.27 is not compatible with netcoreapp1.1
- The provider is not compatible with the version of Oracle client
- the type List is not generic; it cannot be parameterized with arguments<T>解决办法
- No enclosing instance of type X is accessible. Must qualify the allocation with an enclosing instanc
- 【406错误】 The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers.
- Java出现No enclosing instance of type E is accessible. Must qualify the allocation with an enclosin