Solved

AjaxControlToolkit.ToolkitScriptManager version problem

Posted on 2009-04-09
6
1,180 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

808 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