Telerik.Web.UI not loading

2 posts, 0 answers
  1. Philip
    Philip avatar
    1 posts
    Member since:
    Jan 2014

    Posted 15 Jan 2014 Link to this post

    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
  2. Slav
    Admin
    Slav avatar
    1359 posts

    Posted 20 Jan 2014 Link to this post

    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.
Back to Top