Click here to Skip to main content
15,922,145 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am use the Visual Studio 2005 and use Ajax in to my Website.
I face following Error when i Run the Application.

Error Assembly 'AjaxControlToolkit, Version=3.0.30512.19519, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

For the resolving this Error I install the ASPAJAXExtSetup.msi software but still give Same above Error.
Its Greatful for me if anybody give me Exact Solution

Thanks in Advanced
Ravi Sharma
Posted

The solution worked for me is...
1) I changed target framework to 3.5 in all the projects in my solution
2) Clean all the projects in the solution
3) Rebuild the full solution
4) Open the web.config file and remove the content
HTML
<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>

and save.
5) Now close the Visual Studio and open again, clean the full solution and rebuild
 
Share this answer
 
v2
Hi,


I think you encounter an error cause you installed Version=3.5.0.0
as indicated on your error. Advised you to install the AjaxControlToolkit with exact version that is Version=3.0.30512.19519. You may also try Version=3.0.20229.0

This maybe cause of using the visual studio 2005 which is lower version...

You may google it specifying the version you want to download...

AjaxControlToolkit.dll Version=3.0.30512.19519

In your client code you must register it...
as example:
C#
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>


Hope this could help...

Regards,
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900