This is a migrated thread and some comments may be shown as answers.

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

1 Answer 726 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Karl Wilkens
Top achievements
Rank 1
Karl Wilkens asked on 02 Mar 2012, 08:45 PM
Hi,

I moved to a new machine, and all is well except for reporting. I have removed and re-added the DLLs and References to no avail. 
The installer for reporting ran fine. I am running Visual Studio 2008, .net Framework 3.5, and the web.config entries for reporting are 

 <system.webServer>

....

 <handlers>

 ....

      <add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode,runtimeVersionv2.0" />

    </handlers>


This project worked on another machine fine, so I am guessing there is some subtle missing piece here. all other telerik products such as RadChart, grid, etc. work fine. Thanks.

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 05 Mar 2012, 09:58 AM
Hello Karl,

Such error can occur when there is an assembly mismatch, in your case with
Telerik.ReportViewer.WebForms.ReportViewer assembly. If you have upgraded to a later version of Telerik Reporting your project may still reference older assemblies. Please close all opened reports, run the Upgrade Wizard manually from the Telerik Reporting menu in Visual Studio and let it upgrade your project. Rebuild the project and run it again.

All the best,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
Tags
General Discussions
Asked by
Karl Wilkens
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or