Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0

I just got a new machine at work with Windows 7 on it. I installed Visual Studio 2005 with Service Pack 3 and the other service pack I needed to install so Visual Stuido 2005 will run on Windows 7.

When I open an existing project, make some updates, and publish to my production server, I get that System.Web.Extensions error.

I have NO REFERENCE to System.Web.Extensions version 3.5.0.0 ANYWHERE in my web.config file, so I don't know why it's even looking for it in the first place.

This is extremly urgent (and not to mention frustrating). Please advise how to fix this. I'd give you 1000 points if I could.

Thanks in advance.
infotechelgAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

13598Commented:
Look in your project references to see if maybe you have it there as a reference. If so, remove it and rebuild it..
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
13598Commented:
And you could check your bin folder and see if it is there.
0
infotechelgAuthor Commented:
Forgive my ignorance, but how do I do this? I see no place to do this in Solution Explorer. I see how to "Add Reference" if I right click on the Web Site (it's a Web site, not a project), but don't see how to edit or delete references. Again, I can't remove the assembly from the web.config file because it doesn't exist. Again, this error only happens when I publish to production.
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

infotechelgAuthor Commented:
Another thing that's interesting is since I've opened and updated these projects on my new Windows 7 box, all of these assemblies have been added to the web.config file that i've never seen before. Things like System.Data.Linq (Version 3.5.0.0) and things like that. I try to delete them out because they're unnecessary, but every time I bulid the solution, they automatically get added back into the web.config file.
0
13598Commented:
In solution explorer right click on the website and select Property Pages
0
13598Commented:
It sounds like you must have installed .net framework 3.5.
0
infotechelgAuthor Commented:
I did not find any references to Extensions v. 3.5.0.0 but I did see all of the other 3.0 and 3.5 references and deleted those. That prevented the unnecessary assembly references from coming back in the web.config file! I published to production and that seemed to do the trick (even though I didn't see an reference to Extensions 3.5.0.0 to begin with). So, for now anyway, it seems that did the trick. Thanks!
0
13598Commented:
The assembly name is asp.net ajax so if you removed that one it would have removed extensions. I'm glad it worked. If you don't need .net framework 3.5 you may want to delete it and re-install 2.0 after uninstalling 3.5. 3.5 automatically adds these references.
0
infotechelgAuthor Commented:
i'll try that. Thanks, 13598.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.