Upgrade Compile Error

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

    Posted 28 Feb 2012 Link to this post

    VS2010
    .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:

     

     

    <system.webServer>
      <handlers>
       <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" />   
      </handlers>
     </system.webServer>

    Any help will be appreciated.

    Allan
  2. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 02 Mar 2012 Link to this post

    Hello,

    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,
    Rumen
    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mark Kucera
    Mark Kucera avatar
    84 posts
    Member since:
    Sep 2009

    Posted 22 Mar 2012 Link to this post

    Perfect!  This fixed my problem!
    -Mark
Back to Top