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

Multiple Reference Error - Reporting Project is Used by the Main Project

3 Answers 322 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
CoryFromBPro
Top achievements
Rank 1
CoryFromBPro asked on 28 Jan 2014, 04:55 PM
Hi all, I'd appreciate some help with an error I don't understand.  I'm using Visual Studio.
I have two projects: a web site project and a telerik reports project.  The website project uses the reporting project.  Recently, I upgraded my Telerik reporting tools.

Now, I keep getting this error:
"The project currently contains references to more than one version of Telerik.Reporting, a direct reference to version 7.2.13.1016 and an indirect reference (through <project>.<reportName>) to version 7.2.13.1105. Change the direct reference to use version 7.2.13.1105 (or higher) of Telerik.Reporting."

I can't find version 7.2.13.1105 using either the Telerik Control Panel or Google.  I've used the upgrade wizard on both projects, bringing both to 7.2.13.1016.  As far as I can tell, the string "7.2.13.1105" literally doesn't exist in my solution.

Question 1: Can I use the upgrade wizard to "downgrade" the Telerik version, from 7.2.13.1105 in the case of the reporting project, to 7.2.13.1016?  I've already done this for both, and I was told it was successful, but I could understand how it wouldn't downgrade any existing reports.
Question 2: Where is this reference possibly happening?  It's not in any config files, and even the associated resx files for each report giving me the error has the correct Telerik version listed (7.2.13.1016).
Question 3: How did I get version 7.2.13.1105?  Why can't I find it now?
Question 4: How do I fix the error?

Thank you for your help.

3 Answers, 1 is accepted

Sort by
0
CoryFromBPro
Top achievements
Rank 1
answered on 28 Jan 2014, 05:49 PM
Fixed:

The website project was referencing the DLL created by the Reports project (TelerikReportClassLibrary).  This DLL was not being updated to the "updated" version (using 7.2.13.1016) of the project, because I was referencing the Reports DLL in the bin file of the website project.  So, when I built the Reports project, that DLL wasn't updated--the DLL in the bin folder of the Reporting project (TelerikReportClassLibrary) was.  Once I changed the reference path from the Reporting DLL in the Website Project's bin folder (which wasn't getting updated) to the DLL generated when building the reports project (in the bin folder of the TelerikReportClassLibrary project), all my errors went away.

In case I was unclear:  The issue was not with the actual Telerik.Reporting DLLs; it was with the reference path of the DLL of the TelerikReportClassLibrary project on which the website project was dependent.  Once I changed the Website Project to reference the DLL in the bin folder of the TelerikReportClassLibrary project, everything clicked.


0
Divya
Top achievements
Rank 1
answered on 09 Apr 2014, 09:46 AM
in my website reportlibrary project add multiple reports those all not showing  to call typereportsource in aspx page reportviewer solution for this
0
Stef
Telerik team
answered on 09 Apr 2014, 05:10 PM
Hi Divya,

This question seems to be related to the one in your support ticket #806737 - run the project not showingreport, please refer to my post there.

In the project you provided there, not all hidden report parameters were set, thus the ASP.NET ReportViewer cannot display
the report. Once you provide values for all parameters, the report is rendered in the viewer. You can also change the report, by changing the Report Source object set to the ReportViewer.ReportSource property.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
CoryFromBPro
Top achievements
Rank 1
Answers by
CoryFromBPro
Top achievements
Rank 1
Divya
Top achievements
Rank 1
Stef
Telerik team
Share this question
or