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

Build error with Telerik ReportViewer control

1 Answer 88 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael Kniskern
Top achievements
Rank 1
Michael Kniskern asked on 17 Sep 2012, 08:29 PM
I am getting the following error when I try to build an ASP.NET web forms application in my solution with the Telerik ReportViewer control:

The type 'Telerik.ReportViewer.WebForms.ReportViewer' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\appdevcenter\94dab5a4\8ccebc39\assembly\dl3\aa719e0f\0c7fc604_7790cd01\Telerik.ReportViewer.WebForms.DLL' and 'c:\Windows\assembly\GAC_MSIL\Telerik.ReportViewer.WebForms\6.1.12.820__a9d7983dfcc261be\Telerik.ReportViewer.WebForms.dll' C:\inetpub\wwwroot\LearningCenter\appDevCenter\Reports\TrainingHistory.aspx

How do I resolve this error?

1 Answer, 1 is accepted

Sort by
0
Elian
Telerik team
answered on 20 Sep 2012, 12:11 PM
Hi Michael,

The error you have received usually means that there is a version mismatch. Did you uninstall any previous version of Telerik Reporting on your machine? If not, most likely you still have reference to an older version or if you have copied manually assemblies in your bin folder - make sure you delete them to avoid such problems. Running the Upgrade Wizard would make sure all Telerik Reporting references have been updated to the version you have specified.
 
Greetings,
Elian
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
Michael Kniskern
Top achievements
Rank 1
Answers by
Elian
Telerik team
Share this question
or