Link to home
Start Free TrialLog in
Avatar of sybe
sybe

asked on

AjaxControlToolkit.ToolkitScriptManager version problem

Indirect reference is being made to assembly System.Web.Extensions version 3.5.0.0, which contains 'AjaxControlToolkit.ToolkitScriptManager'. This Project references a prior version of System.Web.Extensions version 1.0.61025.0. To use 'AjaxControlToolkit.ToolkitScriptManager', you must replace the reference to System.Web.Extensions with version 3.5.0.0 or higher.

This is the error I get when I run open a page in an application on my localhost. On another machine the code runs fine.

I understand that it is something about a version. Visual Studio (2005) only has the option to "Add Reference" (from the menu item "Website"), but not "Change Refererence". And besides, what if I chzange the reference, will the site then stop working after being uploaded to the live site? Because there it is working fine.

And what difference does it make anyway? The site works with an older version, I copied everything, including the Bin directory. It should work then, shouldn't it?
Avatar of prairiedog
prairiedog
Flag of United States of America image

To change reference in web site project:
Right-click your web site and select Property Page, then on the left you will see References node, then you can remove the current reference and add a new one.
>>>The site works with an older version, I copied everything, including the Bin directory. It should work then, shouldn't it?
It seems that you may have 3.5 in your GAC. Check your GAC to see what version you have there.
Avatar of sybe
sybe

ASKER

Thanks.

What is GAC?
ASKER CERTIFIED SOLUTION
Avatar of prairiedog
prairiedog
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sybe

ASKER

Well, actually I am at home now (Europe), and it is Eastern weekend, so I can not check until Tuesday. But it will be the first thing then. But thanks again, I really want to solve this.

Also follow my first comment and post a screen shot of your References, it should like the attached screen shot.
>>>Well, actually I am at home now (Europe), and it is Eastern weekend, so I can not check until Tuesday
Windows has a nice tool called Remote Desktop Connection which will let you connect to your office computer even when you are at home on vacation.
Just kidding, enjoy your weekend and have a Happy Easter.

2009-04-10-145244.jpg
Avatar of sybe

ASKER

Thanks, your remarks were essential to help me figure this out.