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

Upgrade Compile Error

3 Answers 238 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ambu
Top achievements
Rank 1
Ambu asked on 29 Feb 2012, 02:23 AM
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

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 02 Mar 2012, 07:09 AM
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.
0
Mark Kucera
Top achievements
Rank 1
answered on 22 Mar 2012, 11:09 PM
Perfect!  This fixed my problem!
-Mark
0
Flemming
Top achievements
Rank 1
Veteran
answered on 28 Sep 2017, 12:50 PM
Fixed my problem too. I had compressed it with Winrar and forgot to unblock it before unpacking.
Tags
General Discussions
Asked by
Ambu
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Mark Kucera
Top achievements
Rank 1
Flemming
Top achievements
Rank 1
Veteran
Share this question
or