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

Telerik.Web.UI not loading

1 Answer 165 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Philip
Top achievements
Rank 1
Philip asked on 15 Jan 2014, 04:37 PM
I upgraded my sharepoint solution from the 2008 version of Telerik to the latest 2013 version

i replaced, the old assembly reference w/ the one in the documentation and on other forum posts to remove the version information.
i followed the upgrade instructions that telerik provides.

everything builds properly, and deploys, but when i bring up the page in sharepoint 2013 it displays the message
"Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.
Technical Details


Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: c48e6a9c-9b59-80cf-23a0-53953f3ba395

Date and Time: 1/15/2014 11:32:44 AM
"

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" Version="2013.3.1114.35", Culture="neutral", PublicKeyToken="121fae78165ba3d4" %>

all three DLLs have been placed in the GAC, and included in the package in the sharpoint web solution.

thanks

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 20 Jan 2014, 09:57 AM
Hi Philip,

Please note that SharePoint 2013 uses version 4.5 of the .NET Framework, while the version of the RadControls' assembly that is shown in your Register directive is for .NET 3.5:
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" Version="2013.3.1114.35", Culture="neutral", PublicKeyToken="121fae78165ba3d4" %>

My suggestion is to get the DLLs for .NET 4.5, which are located in the Bin45 folder in your installation of RadControls or in the manual install package and use the gacutil tool in order to install them on your server. Then you need to change the references to the assemblies (Register directives, web.config) so that the new ones are used:
2013.3.1114.45

Note that assemblies in GAC are stored in different location in .NET 4.0 and above, as described in this blog post. In order to check whether you have successfully installed the assemblies, you need to check the %windir%\assembly\ directory.

If you have copied the DLLs in the web solution, you will have to update them there as well in order to ensure that the same files are used everywhere.

Regards,
Slav
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
Philip
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or