Regarding Upgrading to Latest Version

4 posts, 1 answers
  1. A2H
    A2H avatar
    177 posts
    Member since:
    Mar 2010

    Posted 08 Oct 2013 Link to this post

    Hi,
    I am trying to upgrade the Telerik dll in a project from version(2010.3.1317.40) to version(2013.1.417.40).
    I have removed the older version dll and then I have added the latest version dll.
    But when I run the project after building the prioject I am getting an exception like given below
    "Could not load file or assembly 'Telerik.Web.UI, Version=2013.1.417.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference".

    I have googled on this and got the below links
    http://www.telerik.com/help/aspnet-ajax/introduction-troubleshooting.html
    http://www.telerik.com/support/kb/aspnet-ajax/editor/error-could-not-load-file-or-assembly-telerik-web-ui-version-xxxxx-x-xxxx-x-culture-neutral-publickeytoken-xxxx-or-one-of-its-dependencies.aspx
    http://www.telerik.com/help/aspnet-ajax/introduction-upgrading.html

    I have followed exactly what Telerik Experts mentioned in these links. But still I am getting exception.

    On further investigation I found out that there is another dll namely "RadTreeview.Net2.dll" in my solution.

    Will this have any effect for this issue.?

    Please suggest me a work around for this issue
  2. A2H
    A2H avatar
    177 posts
    Member since:
    Mar 2010

    Posted 09 Oct 2013 Link to this post

    Any suggestions please?

    Thanks,
    A2H
  3. Answer
    Marin Bratanov
    Admin
    Marin Bratanov avatar
    4931 posts

    Posted 11 Oct 2013 Link to this post

    Hi,

    The error means that the references to the assembly are not correct. I advise that you remove them again, copy over the correct versions (from the Bin40 folder for .NET 4.0 for example) and make sure that all our assemblies are the same version. Then, just add references to them in the project. Generally, when upgrading a project I would advise that you follow these guidelines
    http://blogs.telerik.com/aspnet-ajax/posts/12-12-21/upgrade-the-version-of-your-telerik-asp.net-controls-in-6-easy-steps
    You also need to look for Register directives (in pages, user controls or in the web.config) that use the fully qualified assembly name, because there may be a mistake in one of them that can be causing such a problem during compilation.
    You may also find this post useful because it treats VS assembly references in some more details: http://blogs.telerik.com/aspnet-ajax/posts/13-09-19/working-with-assemblies-in-the-global-assembly-cache.

    The RadTreeview.Net2.dll is a very old assembly from the RadControls for ASP Classic line that has been discontinued for quite some time. I advise that you remove it.


    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.
  4. A2H
    A2H avatar
    177 posts
    Member since:
    Mar 2010

    Posted 11 Oct 2013 Link to this post

    Hi Marin,

    Thank you for your response. 
    The first link which you provided help me to resolve the problem.
Back to Top