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

Could not load file or assembly "Telerik web.ui"

1 Answer 208 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Venkatesh
Top achievements
Rank 1
Venkatesh asked on 30 Nov 2012, 01:13 PM
Hi,

I downloaded the telerik suite of controls from the below location: RadControls for ASP.NET AJAX Q3 2012
 http://www.telerik.com/products/aspnet-ajax/download.aspx

I have checked this site: http://www.telerik.com/help/aspnet-ajax/moss-deploying-radcontrols.html

I am using SharePoint 2010 and trying to use the RAD Grid. I created a visual web part and added the radgrid and bound the controls.
I have the Telerik.web.ui (version 2012.3.1016.35), Telerik.Web.Design (version 2012.3.1016.35) in GAC. I have added the safecontrols as below:
<SafeControl Assembly="Telerik.Web.UI, Version=2012.3.1016.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" />
      <SafeControl Assembly="Telerik.Web.UI, Version=2012.3.1016.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" />

I have both the dll's added in 14 bin and in the  bin of the website.
I am getting the error as "could not load file or assembly Telerik.web.ui Version 2011.2.712.20,culture=neutral,PublicKeyToken=121fae78165ba3d4 . The located assembly's manifest location does not match the assembly reference.

How to fix this?
Thanks

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 05 Dec 2012, 09:06 AM
Hi,

 The web part is looking for an older version of the controls (2011.2.712). We recommend checking your project for reference to that version anywhere in the code and web.config file and replacing them with the latest version (2012.3.1016). Then rebuilding and redeploying the web part.

Greetings,
Marin
the Telerik team
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 their blog feed now.
Tags
Grid
Asked by
Venkatesh
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or