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

Regarding Upgrading to Latest Version

3 Answers 81 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
A2H
Top achievements
Rank 1
A2H asked on 08 Oct 2013, 06:40 PM
Hi,
I am trying to upgrade the Telerik dll in a project from version(2010.3.1317.40) to version(2013.1.417.40).
I have removed the older version dll and then I have added the latest version dll.
But when I run the project after building the prioject I am getting an exception like given below
"Could not load file or assembly 'Telerik.Web.UI, Version=2013.1.417.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference".

I have googled on this and got the below links
http://www.telerik.com/help/aspnet-ajax/introduction-troubleshooting.html
http://www.telerik.com/support/kb/aspnet-ajax/editor/error-could-not-load-file-or-assembly-telerik-web-ui-version-xxxxx-x-xxxx-x-culture-neutral-publickeytoken-xxxx-or-one-of-its-dependencies.aspx
http://www.telerik.com/help/aspnet-ajax/introduction-upgrading.html

I have followed exactly what Telerik Experts mentioned in these links. But still I am getting exception.

On further investigation I found out that there is another dll namely "RadTreeview.Net2.dll" in my solution.

Will this have any effect for this issue.?

Please suggest me a work around for this issue

3 Answers, 1 is accepted

Sort by
0
A2H
Top achievements
Rank 1
answered on 09 Oct 2013, 02:53 PM
Any suggestions please?

Thanks,
A2H
0
Accepted
Marin Bratanov
Telerik team
answered on 11 Oct 2013, 07:24 AM
Hi,

The error means that the references to the assembly are not correct. I advise that you remove them again, copy over the correct versions (from the Bin40 folder for .NET 4.0 for example) and make sure that all our assemblies are the same version. Then, just add references to them in the project. Generally, when upgrading a project I would advise that you follow these guidelines
http://blogs.telerik.com/aspnet-ajax/posts/12-12-21/upgrade-the-version-of-your-telerik-asp.net-controls-in-6-easy-steps
You also need to look for Register directives (in pages, user controls or in the web.config) that use the fully qualified assembly name, because there may be a mistake in one of them that can be causing such a problem during compilation.
You may also find this post useful because it treats VS assembly references in some more details: http://blogs.telerik.com/aspnet-ajax/posts/13-09-19/working-with-assemblies-in-the-global-assembly-cache.

The RadTreeview.Net2.dll is a very old assembly from the RadControls for ASP Classic line that has been discontinued for quite some time. I advise that you remove it.


Regards,
Marin Bratanov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
A2H
Top achievements
Rank 1
answered on 12 Oct 2013, 01:44 AM
Hi Marin,

Thank you for your response. 
The first link which you provided help me to resolve the problem.
Tags
General Discussions
Asked by
A2H
Top achievements
Rank 1
Answers by
A2H
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or