Posted By: danzaharia | Jun 26th, 2008 @ 8:01 AM
page 1 of 1
Comments: 4 | Views: 1338

I am a Visual Studio 2008 user, and I recently began working on a project involving System.Web.Extensions.  When I try to test the project, i get an error which reads:

Error 1 Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. C:\Documents and Settings\Dan\Desktop\New Project\Web\Local700\web.config 35 

I have added System.Web.Extensions to my references, and in fact the version in my references is 1.0.61025.0, which is the one the error says is missing.  Also, I had the 3.5 version listed in my references, but I removed it, fearing that the error might have been some sort of conflict.  Does anyone know what might be missing?

evildictaitor
evildictaitor
if( !succeed( try() ) ) { while(true) try(); }
Open up the Solution Explorer and expand the References tab. You should delete System.Web.Extentions and then re-add the file via Add Reference and it'll be in the .NET tab.
wisemx
wisemx
Live it
Did VS2008 add that reference?
(Curious...)

It should have looked like this: System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35
page 1 of 1
Comments: 4 | Views: 1338
Microsoft Communities