• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 765
  • Last Modified:

could not load file or assembly 'system.web.extensions, version=1.0.61025.0, culture=neutral on development machine

Hello,
I got a new computer with Windows 7 and I installed Visual Studio 2008 and move all my projects from my old XP machine to the new one and now when I try to run my ASP website I get the error:
could not load file or assembly 'system.web.extensions, version=1.0.61025.0, culture=neutral
I went back and installed the Microsoft ASP>NET AJAX Extensions Source Code and it created the folder
Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025
But it just had the folder  Source and not the System.Web.Extensions.Design.dll and System.Web.Extensions.dll files that ASP was trying to find so I copied them from the old machine but still doesn't work.
I don't know if the problem is that the AJAX 2.0 extensions are not installed correctly or that they don't work the same way in Winodws 7 and XP.
I am also having problems saying updatepanel is not a known element but I think is for the same reason that AJAX is not working.
Any idea on how to fix the problem is really appreciated it
0
ocortes
Asked:
ocortes
  • 3
  • 2
  • 2
  • +1
1 Solution
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
i think its a permissions issue. The asp.net account should have access to the location of the assemblies. if thats not it, im not sure what is.
0
 
ocortesAuthor Commented:
I don't know about permissions. But I didn't configure any special permissions on the xp machine. I really think that the AJAX 2.0 extensions are not configured correctly but I don't know how.
Thanks
0
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
did any of these suggestions work?

http://forums.asp.net/p/1057001/1506704.aspx
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
xav056Commented:
if you are using 2008 then ajax extensions are built into the vs 2008 templates and the .net 3,5
you might want to let vs upgrade your project to .net 3.5 and see how that goes
0
 
ocortesAuthor Commented:
Thanks for the suggestions, I saw the solutions in the article but with my install of the AJAX 2.0 extensions I don't have the file AJAXExtensionsToolbox.dll or the other 2 files. The weird thing is that the project runs great in my xp machine with VS 2008, I just copied the solution on the new machine and it doesn't work. I went to the old machine and the folder
C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025
has the dlls need it but in the new machine the folder
C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025
doesn't have this files instead it has another folder called Source and then more folders inside.
Both machines have the same VS 2008 and I am using the same files that is why I think the problem is with AJAX 2.0 extensions or the configuration of the machine because the project works on the old machine.
0
 
xav056Commented:
Can you create a new test project and test an update panel
if that worked in the test project try to modify your web.config, just let vidual studio create it for you
0
 
13598Commented:
Try removing the reference to the dll, closing the solution, opening it back up and re-adding the references. This will let the solution know where they are (solution seems to have lost that info).
0
 
ocortesAuthor Commented:
Thank you for all the comments, I found the solution. I had to uninstall the ASPAJAXSourceCode.msi and restar the computer then install ASPAJAXExtSetup.msi, copy again the solution from the old machine to the new one and everything works now. The problem was that I installed the wrong version of the AJAX extensions. Sorry for all the trouble I guess I just need to close the question because I found the solution, if you feel it is unfair please let me know.
Thank you
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now