Solved

AjaxControlToolkit.ToolkitScriptManager version problem

Posted on 2009-04-09
6
1,170 Views
Last Modified: 2012-05-06
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?
0
Comment
Question by:sybe
  • 3
  • 3
6 Comments
 
LVL 22

Expert Comment

by:prairiedog
ID: 24118332
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.
0
 
LVL 28

Author Comment

by:sybe
ID: 24118535
Thanks.

What is GAC?
0
 
LVL 22

Accepted Solution

by:
prairiedog earned 500 total points
ID: 24118584
Global Assembly Cache.
Start->Control Panel->Administrative Tools->Microsoft .NET Framework 2.0 Configuration, then click Manage the Assembly Cache, then click View List of Assemblies in the Assembly Cache, what version(s) of 'AjaxControlToolkit do you see?
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 28

Author Comment

by:sybe
ID: 24118616
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.

0
 
LVL 22

Expert Comment

by:prairiedog
ID: 24118739
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
0
 
LVL 28

Author Closing Comment

by:sybe
ID: 31568569
Thanks, your remarks were essential to help me figure this out.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now