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

Issue upgrading Telerik RadControls with latest version

1 Answer 211 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jeevan
Top achievements
Rank 1
Jeevan asked on 25 Jun 2013, 02:15 PM
Hi,
I am trying to upgrade our project with the latest version of Telerik RadControls as we are facing some issues with IE10, part of that downloaded the latest Telerik.Web.UI. After installing it on my machine, updated the asp.net project references to this new dll and successfully build. Then deployed the latest project dlls along with Telerik.Web.UI onto the Dev server. When I browse the web page, I am getting the below error.

Could not load file or assembly 'Telerik.Web.UI, Version=2010.3.1317.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Updated the web.config with the settings mentioned here, but no luck.

The latest version of the dll is 2013.2.611.40 but it is still referring to the old dll 2010.3.1317.40.

Any help would be appreciated.

Thanks.

Regards
Jeevan

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 27 Jun 2013, 08:46 AM
Hello Jeevan,

This error means that the project's references were not updated successfully and there is still a reference to the Q3 2010 SP2 release somewhere. It is, most likely, a fully qualified reference in the web.config that tries to access the dll from the GAC. This problem comes from the solution/project and not from the controls.

I would, therefore, recommend, that you follow this blog post when upgrading: http://blogs.telerik.com/aspnet-ajax/posts/12-12-21/upgrade-the-version-of-your-telerik-asp.net-controls-in-6-easy-steps. Removing and re-adding references is a quick operation, yet it helps avoid such errors.

On using a bindingRedirect I would advise taking a look at this article: http://www.telerik.com/help/aspnet-ajax/introduction-web-config-binding-redirects-vs-2008.html. Using a very low number for the old version will ensure all references are forwarded to the new assembly.


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.
Tags
General Discussions
Asked by
Jeevan
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or