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

Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies.

1 Answer 275 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 21 Jan 2011, 11:30 PM
I installed Telerik.Web.UI_2010_3_1317_Trial and Telerik_AJAK_controls_2010_3_1317_for_SharePoint_2010_Trial. I have a Visual Web Part Project with a reference to Telerik.Web.UI for .NET 3.5 and some controls. When I debug this project and I try to add the web part to a page, I get this parse error:

Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.
Line 9:  <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
I've checked Windows/assembly for the dll's and they're present. I was also getting this error before I ran the SP installer.

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 27 Jan 2011, 08:55 AM
Hello Rob,

You need to use fully qualified name for the assemblies.
e.g.
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI"
Assembly="Telerik.Web.UI, Version=x.x.x.x, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %>  


Note that the version of the assembly is specified in the Assembly attribute. If deploying a different version of RadControls for ASP.NET Ajax, ensure that the version number is correct here.

I hope this helps.

Regards,
Georgi Tunev
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
General Discussions
Asked by
Rob
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or