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

Problem in upgrade to 2012 Q1

4 Answers 174 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
max
Top achievements
Rank 2
max asked on 04 Mar 2012, 01:29 PM
Hi , I have a project with 2011 Q1  , i just upgrade the project to 2012 Q1 but it has a warning :

Assembly Reference "D:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q1 2012\Bin40\Telerik.Web.UI.dll" was not updated properly. This usually happens in Visual Studio 2010 when an assembly exists both in the GAC and in a local folder. Please, use the GAC reference instead.

what should I do ?

4 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 05 Mar 2012, 02:10 PM
Hello,

Could you, please, upgrade the Telerik WebUI VSExtensions package in your Visual Studio to the latest version and try to upgrade once again to Q1 2012?

If the problem remains, my recommendation is to upgrade manually following the instructions provided in the following help article: http://www.telerik.com/help/aspnet-ajax/introduction-upgrading.html.

Best 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
max
Top achievements
Rank 2
answered on 06 Mar 2012, 07:12 AM
Hi
Thanx alot , it has solved , but i have a new problem , after upgrade when i run the project it has an error :

Could not load file or assembly 'Telerik.Web.UI, Version=2011.1.315.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
0
Accepted
Rumen
Telerik team
answered on 06 Mar 2012, 11:41 AM
Hi,

I think the following KB article might help you solve the problem:
Error: Could not load file or assembly 'Telerik.Web.UI, Version=XXXXX.X.XXXX.X, Culture=neutral, PublicKeyToken=XXXX' or one of its dependencies
Open the web.config file and search for fully qualified names that contains 2011.1.315.40 and delete them. The same error could happen if there is reference to this version in the controls declarations in the aspx / ascx file.

Another approach is to use Assembly Binding Redirection in the web.config file as it is described in the following MSDN article: Assembly Binding Redirection, e.g.

<dependentAssembly>
<assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" culture="neutral" />
<bindingRedirect oldVersion="1.0.0.0-2012.1.1205.40" newVersion="2012.1.1205.40" />
</dependentAssembly>



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
max
Top achievements
Rank 2
answered on 06 Mar 2012, 01:22 PM
Hi

thanx alot , I have deleted

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

from ascx files
Tags
General Discussions
Asked by
max
Top achievements
Rank 2
Answers by
Rumen
Telerik team
max
Top achievements
Rank 2
Share this question
or