higher version than referenced assemblyhttp://forums.asp.net/t/1800348.aspx/1?higher+version+than+referenced+assemblySat, 05 May 2012 18:32:52 -040018003484966601http://forums.asp.net/p/1800348/4966601.aspx/1?higher+version+than+referenced+assemblyhigher version than referenced assembly <p>I downloaded the project from</p> <p>http://code.msdn.microsoft.com/ASPNETKeepAutoCompleteListO-54e16b32</p> <p></p> <p>Mark up</p> <p>&lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; <br> CodeFile=&quot;Default.aspx.cs&quot; Trace=&quot;False&quot;<br> &nbsp;&nbsp;&nbsp; Inherits=&quot;CSASPNETKeepAutoCompleteListOpen._Default&quot; %&gt;<br> <br> &lt;%@ Register Assembly=&quot;AjaxControlToolkit&quot; Namespace=&quot;AjaxControlToolkit&quot; TagPrefix=&quot;AjaxControlToolkit&quot; %&gt;<br> &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br> &lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br> &lt;head id=&quot;Head1&quot; runat=&quot;server&quot;&gt;<br> &nbsp;&nbsp;&nbsp; &lt;title&gt;&lt;/title&gt;<br> &lt;/head&gt;<br> &lt;body&gt;<br> &nbsp;&nbsp;&nbsp; &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;<br> &nbsp;&nbsp;&nbsp; &lt;AjaxControlToolkit:ToolkitScriptManager CombineScripts=&quot;false&quot; runat=&quot;server&quot; EnablePartialRendering=&quot;true&quot;&gt;<br> &nbsp;&nbsp;&nbsp; &lt;/AjaxControlToolkit:ToolkitScriptManager&gt;<br> &nbsp;&nbsp;&nbsp; &lt;div&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;table border=&quot;1&quot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;caption&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Personal information settings<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/caption&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;tr&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td colspan=&quot;4&quot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In the text box on the left fuzzy search of their favorite movies, and then select.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/td&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tr&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;tr&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MovieName:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:TextBox ID=&quot;tbMovies&quot; runat=&quot;server&quot; Text=''&gt;&lt;/asp:TextBox&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/td&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;button&quot; name=&quot;close&quot; value=&quot;Close the Popup&quot; onclick=&quot;hideOptionList();&quot; /&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;AjaxControlToolkit:AutoCompleteExtender ID=&quot;AutoCompleteExtender1&quot; BehaviorID=&quot;ACE&quot;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; runat=&quot;server&quot; TargetControlID=&quot;tbMovies&quot; ServicePath=&quot;AutoComplete.asmx&quot; ServiceMethod=&quot;GetMovies&quot;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MinimumPrefixLength=&quot;1&quot; CompletionInterval=&quot;10&quot; CompletionSetCount=&quot;10&quot; EnableCaching=&quot;true&quot; /&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/td&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:ListBox ID=&quot;ListBox1&quot; runat=&quot;server&quot;&gt;&lt;/asp:ListBox&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/td&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;button&quot; name=&quot;reset&quot; value=&quot;Reset the ListBox&quot; onclick=&quot;resetListBox();&quot; /&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/td&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tr&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/table&gt;<br> &nbsp;&nbsp;&nbsp; &lt;/div&gt;<br> <br> &nbsp;&nbsp;&nbsp; &lt;script src=&quot;AutoComplete.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br> <br> &nbsp;&nbsp;&nbsp; &lt;/form&gt;<br> &lt;/body&gt;<br> &lt;/html&gt;</p> <p>It gives me following error</p> <p>Error&nbsp;&nbsp; &nbsp;1&nbsp;&nbsp; &nbsp;Assembly 'AjaxControlToolkit, Version=4.1.60501.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;</p> <p>My system has ajax 4.0</p> <p></p> 2012-05-05T06:34:46-04:004966606http://forums.asp.net/p/1800348/4966606.aspx/1?Re+higher+version+than+referenced+assemblyRe: higher version than referenced assembly <p>Hi,</p> <p>Include this tag in your web.config file</p> <p>&lt;runtime&gt;<br> &lt;assemblyBinding xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot;&gt;</p> <p>&lt;dependentAssembly&gt;<br> &lt;assemblyIdentity name=&quot;System.Web.Extensions&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; Culture=&quot;neutral&quot;/&gt;</p> <p>&lt;bindingRedirect oldVersion=&quot;3.5.0.0&quot; newVersion=&quot;4.0.0.0&quot;/&gt;<br> &lt;publisherProfile apply=&quot;no&quot;/&gt;</p> <p>&lt;/dependentAssembly&gt;<br> &lt;/assemblyBinding&gt;</p> <p>&lt;/runtime&gt;</p> <p>Regards,</p> <p>Charan</p> 2012-05-05T06:43:02-04:004966620http://forums.asp.net/p/1800348/4966620.aspx/1?Re+higher+version+than+referenced+assemblyRe: higher version than referenced assembly <p>now error message</p> <p>Error&nbsp;&nbsp; &nbsp;1&nbsp;&nbsp; &nbsp;Assembly 'AjaxControlToolkit, Version=4.1.60501.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br> <br> </p> 2012-05-05T06:56:30-04:004966795http://forums.asp.net/p/1800348/4966795.aspx/1?Re+higher+version+than+referenced+assemblyRe: higher version than referenced assembly <p>Two things can be there 1 you don't installed AJAX extension in your system or you are opening Old Ajax version file in newer VS</p> <p>Its surely a version mismatch issue that what you have configured to use and the one which is referenced, could be because of the diffrent versions of the framework used as well</p> <p><a href="http://forums.asp.net/t/1480771.aspx">http://forums.asp.net/t/1480771.aspx</a></p> <p><a href="http://vivekthangaswamy.blogspot.in/2009/08/assembly-ajaxcontroltoolkit.html">http://vivekthangaswamy.blogspot.in/2009/08/assembly-ajaxcontroltoolkit.html</a></p> <p>First, make sure you install the correct version of the AjaxControlToolkit:</p> <p><a href="http://ajaxcontroltoolkit.codeplex.com/releases/view/11121"><span color="#034efa" style="color:#034efa">Version 3.0.20229</span></a> 2008-02-29 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 and Visual Studio 2008.</p> <p><a href="http://ajaxcontroltoolkit.codeplex.com/releases/view/11121"><span color="#034efa" style="color:#034efa">Version 1.0.20229</span></a> You can also download the Toolkit for .NET Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.</p> <p><a href="http://ajaxcontroltoolkit.codeplex.com/releases/view/43475"><span color="#034efa" style="color:#034efa">Version 3.0.40412</span></a></p> <p>April 12, 2010 release of the AJAX Control Toolkit for ASP.NET 3.5 Service Pack 1 and Visual Studio 2008 SP1.</p> 2012-05-05T09:02:24-04:004967088http://forums.asp.net/p/1800348/4967088.aspx/1?Re+higher+version+than+referenced+assemblyRe: higher version than referenced assembly <p>Chetan</p> <p>I uninstalled previous ajax version</p> <p>I am using vs 2010</p> <p>which ajax toolkit should i install 3.5/4.0</p> <p>Thanx</p> <p>Anil Srivastava</p> <p>India</p> 2012-05-05T15:32:52-04:004967195http://forums.asp.net/p/1800348/4967195.aspx/1?Re+higher+version+than+referenced+assemblyRe: higher version than referenced assembly <p>Hi</p> <p>I uninstalled the previous version 4.0(remove dll and delete the tab) again </p> <p>I installed the AjaxControlToolkit.Binary.NET35</p> <p>my problem is solved</p> <p>Tnanks very much Chetan</p> <p>Anil Srivastava</p> <p>pune</p> 2012-05-05T18:32:52-04:00