Link to home
Start Free TrialLog in
Avatar of ocortes
ocortes

asked on

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
Avatar of Big Monty
Big Monty
Flag of United States of America image

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.
Avatar of ocortes
ocortes

ASKER

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
did any of these suggestions work?

http://forums.asp.net/p/1057001/1506704.aspx
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
Avatar of ocortes

ASKER

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.
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
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).
ASKER CERTIFIED SOLUTION
Avatar of ocortes
ocortes

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial