Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > can't load system.web.extensions - when move to Visual studio 2008

Reply
Thread Tools

can't load system.web.extensions - when move to Visual studio 2008

 
 
WISEMANOFNARNIA
Guest
Posts: n/a
 
      01-25-2009
I had a project at work that uses ajax. I use Visual studio 2005, and
probably an older version of dot net. Then at home I loaded visual
studio 2008 and dot net v3.5. Now my project will not compile on my
home computer. It says "could not load file or assembly
system.web.extensions". Is this an ajax library? Doesn't the latest
Visual studio have ajax without needing a library?
Any help is appreciated.
-- Marvin
 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A Beamer\)
Guest
Posts: n/a
 
      01-26-2009
Open web.config and see if your web.extensions are 3.5 or 1.x. If 1.x, you
will have to update.

I say this with a caveat, however, as you may have to ship the code back to
work. In this case, you need to download the AJAX 1.x bits from www.asp.net
(they are a separate download) and install on your machine. If you ran an
upgrade on the web project, at home, you will have to replace the current
updated web.config with the one from work.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Blog:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"WISEMANOFNARNIA" <> wrote in message
news:c4ad5d28-2917-4739-b02a-...
>I had a project at work that uses ajax. I use Visual studio 2005, and
> probably an older version of dot net. Then at home I loaded visual
> studio 2008 and dot net v3.5. Now my project will not compile on my
> home computer. It says "could not load file or assembly
> system.web.extensions". Is this an ajax library? Doesn't the latest
> Visual studio have ajax without needing a library?
> Any help is appreciated.
> -- Marvin


 
Reply With Quote
 
 
 
 
WISEMANOFNARNIA
Guest
Posts: n/a
 
      02-01-2009
I read your post, but:
Why doesn't the following work: - I load my visual studio 2005 project
into visual studio 2008 (minus the web.config, which I just generate
anew) and then I compile and get the following error:
'could not load file or assembly 'System.Web.Extensions' v1.0....etc.
(this is an ajax library)
So I go to the menu and look at 'references', and find there is a
library called 'System.Web.Extensions v2.0.50727.
My web.config does not have any references to 'System.Web.Extensions'
no matter what version, because I generated it anew. So instead, I
just do a find/replace throughout the code of every 'v1.0.... by
v2.0.50727. All the pages that use ajax have a reference to
'system.web.extensions', and this will replace the v1.0 by the new
version, and they should find the new version and compile.
But what happens is, they don't.
I get the same error again, except for the new version:
'Could not load file or assembly 'System.Web.Extensions'.
I really don't want to go to the asp.net website and load the old
version of Ajax, given the fact that Visual Studio 2008 with Framework
3.5 has it built in. Why go backwards? But what I just tried didn't
work.
Thanks,
Marv



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VWD 2008 express and Visual Studio 2008 Chen ASP .Net 4 10-11-2009 01:18 AM
Visual studio 2008 remote debugger SP1 on Windows Server 2008 Julien ASP .Net 1 05-18-2009 05:38 PM
Enabling browser back button for GridView Paging and Sorting in Ajax1.1 and 3.5 (using Visual Studio 2005/ Visual studio 2008) anil reddy ASP .Net 0 02-11-2009 04:22 PM
Visual Web Express 2008 X Visual Studio Pro 2008 HRsoft Informática ASP .Net 3 06-09-2008 02:07 PM
visual studio .net 2003 verses visual studio .net 2002 wh ASP .Net 2 01-16-2004 04:54 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57