Solved

AjaxControlToolkit.ToolkitScriptManager version problem

Posted on 2009-04-09
6
1,177 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 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