Upgrade Compile Error

4 posts, 0 answers
  1. Ambu
    Ambu avatar
    18 posts
    Member since:
    Jan 2008

    Posted 28 Feb 2012 Link to this post

    .Net 4

    Trying to change the Telerik version from 2010 to 2011.2.915.40.

    I am getting the following error when trying to compile:

    Error 11 Could not load file or assembly 'file:///C:\Program Files\\Application Libraries\Bin6.5\Telerik 2011\Telerik.Web.UI.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) C:\abc\Branch\SGEN abc

    Tried adding the following web.config key, but no change in build error:



       <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2011.2.915.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />   

    Any help will be appreciated.

  2. Rumen
    Rumen avatar
    14276 posts

    Posted 02 Mar 2012 Link to this post


    The Telerik.Web.UI.dll needs to be unblocked by right clicking and selecting the unblock checkbox. The problem is also discussed in the following article:
    Visual Studio Project Sample Loading Error: Assembly could not be loaded and will be ignored. Could not load file or assembly or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515).

    Kind regards,
    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.
  3. Mark Kucera
    Mark Kucera avatar
    84 posts
    Member since:
    Sep 2009

    Posted 22 Mar 2012 Link to this post

    Perfect!  This fixed my problem!
  4. Flemming
    Flemming avatar
    15 posts
    Member since:
    Aug 2015

    Posted 28 Sep 2017 Link to this post

    Fixed my problem too. I had compressed it with Winrar and forgot to unblock it before unpacking.
Back to Top