Solved

AjaxControlToolkit.ToolkitScriptManager version problem

Posted on 2009-04-09
6
1,173 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

911 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

17 Experts available now in Live!

Get 1:1 Help Now