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

Upgraded project from Visual Studio 2005 to 2008

1 Answer 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 03 Mar 2009, 10:19 PM
Hi there,

I have a web application project that I upgraded from Visual Studio 2005 to Visual Studio 2008.
Now, on every page that I have a telerik tooltip, I get this error:

Error 1 Value of type 'System.Web.UI.UpdatePanel' cannot be converted to 'System.Web.UI.UpdatePanel'. Type mismatch could be due to mixing a file reference to 'C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025\System.Web.Extensions.dll' in project '1_Mobile_MobileExpenseEdit.aspx' with a file reference to 'C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Web.Extensions.dll' in project 'Webvantage'. If both assemblies are identical, try replacing these references so both references are from the same location. C:\Visual Studio 2005\Projects\Webvantage.3.00.0\Webvantage\BillingApproval_Approval.aspx.vb 219 38 Webvantage

 

Protected Sub OnAjaxUpdate(ByVal sender As Object, ByVal args As ToolTipUpdateEventArgs)

 

 

Me.UpdateToolTip(args.Value, args.UpdatePanel)

 

 

End Sub

 


The "args.UpdatePanel" is what throws the error.
I don't have any references to System.Web.Extensions that isn't version 3.5.0.0 in the project references.
And the the upgrade process put this in the web.config:

<

 

runtime>

 

<

 

assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

 

<

 

dependentAssembly>

 

<

 

assemblyIdentity name="System.Web.Extensions"

 

 

 

publicKeyToken="31bf3856ad364e35"/>

 

<

 

bindingRedirect oldVersion="1.0.0.0-1.1.0.0"

 

 

 

newVersion="3.5.0.0"/>

 

</

 

dependentAssembly>

 

<

 

dependentAssembly>

 

<

 

assemblyIdentity name="System.Web.Extensions.Design"

 

 

 

publicKeyToken="31bf3856ad364e35"/>

 

<

 

bindingRedirect oldVersion="1.0.0.0-1.1.0.0"

 

 

 

newVersion="3.5.0.0"/>

 

</

 

dependentAssembly>

 

</

 

assemblyBinding>

 

</

 

runtime>


So where does it think that v1.0.61025 is being referenced?
I'm using other telerik ajax controls, and it seems only the tooltip is throwing errors....

 

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 06 Mar 2009, 02:20 PM
Hi Sam,

As far as I can see the problem is not in the RadControls or the RadToolTip but to the AJAX and AJAX extensions. Would you please make sure that you do not have any references to the AJAX extensions dll and also check whether by any  chance your dll is in the mentioned in the error message location? If you are using .NET 3.5 you have AJAX built in and you do not need the extensions. Note, also, that you should use the Telerik.Web.UI.dll from the Bin35 folder and not the one from the Bin folder of the installation zip archive.


Greetings,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Sam
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or