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

 I developed my asp.net project using VS 2005. My web server is a Windows server 2003 and is installed framework 2.0 and Ajax 1 extension. Everrything works well until I intalled VS 2008 in my development machine.

My website works fine on my development machine. But when I publish it to my web server, it raise a parser error: Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0...

 I used ajax toolkit in my project. First, I found the web.config contained a statement: <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken...>. So I changed it to <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken..>. And also I search through out my project and make sure there is not any where contains <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken...>. And I build my web and publish it to my server again. But the web server still raises the parser error message.

I could not install framework 3.5 on my web server. What can I do to solve such a problem? Thank you. 


Johnson
0
Johnson2007
10/23/2007 5:40:00 AM
asp.net.ajax-discussion 13973 articles. 1 followers. Follow

27 Replies
741 Views

Similar Articles

[PageSpeed] 36

I had this issue with VS2008 beta as well. It seems like it automatically references the latest AJAX assemblies as if an assembly policy was installed or a bindingRedirect specified.

I could not resolve it so I had to uninstall VS2008 along with the .NET3.0/3.5 framework to be able to rebuild my .NET 2.0 web site.

0
jimmy
10/23/2007 7:45:46 AM

hello.

yes, a redirect will solve it for you...


--
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu
0
Luis
10/23/2007 9:24:06 AM

Post your entire web.config (minus any connection strings), if you don't mind. 


Encosia - ASP.NET, AJAX, and more.

Latest article: Using complex types to make calling services less… complex
0
gt1329a
10/23/2007 5:04:45 PM

 Hi all,

Thank all of you for your replay. Here is the content of my web.config file. Thanks. 

 

1    <?xml version="1.0"?>
2    <!-- 
3        Note: As an alternative to hand editing this file you can use the 
4        web admin tool to configure settings for your application. Use
5        the Website->Asp.Net Configuration option in Visual Studio.
6        A full list of settings and comments can be found in 
7        machine.config.comments usually located in 
8        \Windows\Microsoft.Net\Framework\v2.x\Config 
9    -->
10   <configuration>
11   	<appSettings>
12   	</appSettings>
13   	<connectionStrings/>
14   	<system.web>
15   		<!-- 
16               Set compilation debug="true" to insert debugging 
17               symbols into the compiled page. Because this 
18               affects performance, set this value to true only 
19               during development.
20           -->
21   		<httpRuntime maxRequestLength="1048576" executionTimeout="3600"/>
22   		<compilation debug="true">
23   			<assemblies>
24   				<add assembly="System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
25   				<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
26   				<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
27   				<add assembly="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
28   				<add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
29   				<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
30   				<add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies></compilation>
31   		<!--
32               The <authentication> section enables configuration 
33               of the security authentication mode used by 
34               ASP.NET to identify an incoming user. 
35           -->
36   		<authentication mode="Windows"/>
37   		<!--
38               The <customErrors> section enables configuration 
39               of what to do if/when an unhandled error occurs 
40               during the execution of a request. Specifically, 
41               it enables developers to configure html error pages 
42               to be displayed in place of a error stack trace.
43   
44           <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
45               <error statusCode="403" redirect="NoAccess.htm" />
46               <error statusCode="404" redirect="FileNotFound.htm" />
47           </customErrors>
48           -->
49   		<httpHandlers>
50   			<remove verb="*" path="*.asmx"/>
51   			<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
52   			<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
53   			<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
54   		</httpHandlers>
55   		<httpModules>
56   			<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
57   			<add name="OperationModule" type="OperationModule"/>
58   		</httpModules>
59   	</system.web>
60   	<system.webServer>
61   		<validation validateIntegratedModeConfiguration="false"/>
62   		<modules>
63   			<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
64   		</modules>
65   		<handlers>
66   			<remove name="WebServiceHandlerFactory-Integrated"/>
67   			<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
68   			<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
69   			<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
70   		</handlers>
71   	</system.webServer>
72   </configuration>
73   
  
Johnson
0
Johnson2007
10/25/2007 7:27:25 AM

hello.

this is an interesting problem. well, your config seems ok since you're asking for the correct file. anyway, you're not the first to say that you're always getting the wrong file. unfortunately, i'm only running vs 2008 and haven't got the vs 2005 on the machine (which means that i can't reproduce this). anyway, what i'd like to know is if you've configured fusion to see why it is loading the wrong version of the file:

http://blogs.msdn.com/suzcook/archive/2003/05/29/57120.aspx

 


--
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu
0
Luis
10/25/2007 8:28:00 AM

Hi Luis Abreu,

 Thanks. I read the article, but I could not find the [HKLM\Software\Microsoft\Fusion on my server. otherway, the exception seems a assembly loaded by error. The website is developed on a machine which is installed vs2005 and vs2008 beta 2. and the publish environment is only installed framework 2.0.
 

 


Johnson
0
Johnson2007
10/25/2007 9:08:22 AM

hello again.

so, what you're saying is that the server only has .net 2.0 + asp.net ajax, right? this makes things look even stranger because in your config i didn't see any reference to a 3.5 dll....


--
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu
0
Luis
10/25/2007 9:33:16 AM

Hi Luis Abreu,

Thank you again. Yes. The server has .net 2.0 and asp.net Ajax. At the very beginning, My development machine also had VS2005 and Ajax, everything is ok. But now our development machine has vs2008 beta 2 installed. Our web project compiles and runs OK on my development machine and after it is published to the server, it raise the exception as mentioned above.

As I have mentioned, at beginning, I had found the web.config contains the section:<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken...>. So I modified it to <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken...>. But it still did not work. I had to uninstall vs2008 beta 2 from my development machine temporary.

Thanks. 


Johnson
0
Johnson2007
10/25/2007 9:46:16 AM

hello.

one question: do you have any projects that depend on the ajax funcionality and that you're using on your web app? for instance, imagine you've created a class library project where you have your own custom extender. in your development machine, you're compiling everything and the custom extender dll is built against the 3.5 version and its put in your bin folder. then, if you're simply copying your project, you might get that expcetion because that custom extender was built agains version 3.5. in other words, the code of the site will work, but since you have a dll that depends on the 3.5 version, you'll get that kind of exception. this it the only thing i'm remembering that might create that kind of problems....


--
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu
0
Luis
10/25/2007 10:05:40 AM

Hi Luis Abreu,

There is not any class library project using ajax except one of aspx page. In this page I only use a UpdatePanel and AjaxToolkit CalenderExtender control. Today I heart one of my colleagues encounter the same problem.


Johnson
0
Johnson2007
10/25/2007 1:30:24 PM

hello again.

aha, i think that is the problem. i'm almost positive that the toolkit dll you're using was compiled against the 3.5 version of system.web.extensions and not agains the 1.XXX version. it's a similar situation to the one i was mentioning previously but in this case, you're using a 3rd party library. i think that you can easily check this by loading the dll on reflector and seeing its dependencies...


--
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu
0
Luis
10/25/2007 1:36:41 PM

But I do use the AjaxToolkit 1.0 and also toolkit dll is not exists under bin folder.

I tested again. I create a web site that contains only one Default.aspx page on another computer, which has only VS 2005 and ajax 1.0 installed. I build it and publish it to the same computer. All works fine. Then I intalled vs2008 on the computer. Then I compile the website and publish it. The published website works well. Finally, I uninstall the vs2008 and then try to run the published web site, It raise the exception: Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0.... The published web site only contains a empty App_Data folder, Default.aspx, Default.aspx.cs, and web.config files.

Thank you!


Johnson
0
Johnson2007
10/25/2007 2:41:16 PM

hello again.

ok, if you can, please pack that sample and send it to my mail address. I think i have a virtual machine at home and i'll try to run it from there.


--
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu
0
Luis
10/25/2007 7:36:28 PM

 Hi Luis Abreu,

OK. I have sent you my sample. please have a look. Thanks. 


Johnson
0
Johnson2007
10/26/2007 3:34:38 AM

Hello guys.

 After exchanging some emails with Johnson (thanks for providing a small demo app), I was able to understand what was going on. Here's a post that tries to explain on what's happening here:

http://msmvps.com/blogs/luisabreu/archive/2007/10/26/deployment-problems-with-asp-net-ajax-applications.aspx


--
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu
0
Luis
10/26/2007 1:56:17 PM

 With Luis' help. I can solve this problem now.

  • Copy the entire project to the server. and then optionally use aspnet_compiler to compile it on the server.

However, if I happen to reference the System.Web.Extentions namespace in some library classes, I also compiler them on the server. I think it is inconvenient.
 

Because vs2005 has no option to choose the target framework version, so I can not set the target framework version before compile it on development server which has vs2008 installed.

But I think it should be a bug of framework 3.5. Isn't it?

Finally, I appreciate Luis' great help.
 


Johnson
0
Johnson2007
10/29/2007 2:31:18 AM

 Hi, you may find this helps, i have the same problem and am trying it now.

 

http://blog.adrianroman.ro/?year=2007&month=9 

0
davenaylor2000
10/30/2007 10:43:23 PM

 Thank you davenaylor,

I have solved the problem following your method.

I have download the script from Vs2008 download page. and ran the script and all work well now.

Thank you very much. 


Johnson
0
Johnson2007
11/1/2007 3:07:12 AM

I seem to have the same problem as well:

  1. I had been using VS2005 with .NET 2.x., ASP.NET Control Toolkit (version 1.0.11119.0) , NSquared Themed WebParts (version 1.0)
  2. I installed VS2008 (and along with it .NET 3.5).
  3. I opened my VS2005 project, and converted it to VS2008 at the prompt.
  4. I published it to Windows 2003 IIS with .NET 3.5 installed.

I cannot for the life of me seem to get around the following error:

 

Server Error in '/test' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 33: 			<assemblies>
Line 34: <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 35: <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 36: <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 37: <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

Source File: C:\repository\web_sites\promos\malware_radar_challenge\web.config    Line: 35

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


Version Information: Microsoft .NET Framework Version:2.0.50727.1378; ASP.NET Version:2.0.50727.1378

 

 

The following is my web.config file:

 

1    
2    
3    <configuration>
4    
5    
6    	<configSections>
7    		<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
8    			<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
9    				<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
10   				<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
11   					<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
12   					<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
13   					<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
14   					<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
15   				</sectionGroup>
16   			</sectionGroup>
17   		</sectionGroup>
18   	</configSections>
19   
20   
21   	<appSettings/>
22   	<connectionStrings/>
23   
24   	<system.web>
25   		<!-- 
26               Set compilation debug="true" to insert debugging 
27               symbols into the compiled page. Because this 
28               affects performance, set this value to true only 
29               during development.
30           -->
31   		<compilation debug="false">
32   
33   			<assemblies>
34   				<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
35   				<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
36   				<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
37   				<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
38   			</assemblies>
39   
40   		</compilation>
41   		<!--
42               The <authentication> section enables configuration 
43               of the security authentication mode used by 
44               ASP.NET to identify an incoming user. 
45           -->
46   		<authentication mode="Windows" />
47   		<!--
48               The <customErrors> section enables configuration 
49               of what to do if/when an unhandled error occurs 
50               during the execution of a request. Specifically, 
51               it enables developers to configure html error pages 
52               to be displayed in place of a error stack trace.
53   
54           <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
55               <error statusCode="403" redirect="NoAccess.htm" />
56               <error statusCode="404" redirect="FileNotFound.htm" />
57           </customErrors>
58           -->
59   
60   		<pages>
61   			<controls>
62   				<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
63   				<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
64   			</controls>
65   		</pages>
66   
67   		<httpHandlers>
68   			<remove verb="*" path="*.asmx"/>
69   			<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
70   			<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
71   			<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
72   		</httpHandlers>
73   		<httpModules>
74   			<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
75   		</httpModules>
76   
77   	</system.web>
78   
79   	<system.codedom>
80   		<compilers>
81   			<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4"
82   					  type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
83   				<providerOption name="CompilerVersion" value="v3.5"/>
84   				<providerOption name="WarnAsError" value="false"/>
85   			</compiler>
86   		</compilers>
87   	</system.codedom>
88   
89   	<!-- 
90           The system.webServer section is required for running ASP.NET AJAX under Internet
91           Information Services 7.0.  It is not necessary for previous version of IIS.
92       -->
93   	<system.webServer>
94   		<validation validateIntegratedModeConfiguration="false"/>
95   		<modules>
96   			<remove name="ScriptModule" />
97   			<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
98   		</modules>
99   		<handlers>
100  			<remove name="WebServiceHandlerFactory-Integrated"/>
101  			<remove name="ScriptHandlerFactory" />
102  			<remove name="ScriptHandlerFactoryAppServices" />
103  			<remove name="ScriptResource" />
104  			<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
105  				 type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
106  			<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
107  				 type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
108  			<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
109  		</handlers>
110  	</system.webServer>
111  
112  	<runtime>
113  		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
114  			<dependentAssembly>
115  				<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
116  				<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
117  			</dependentAssembly>
118  			<dependentAssembly>
119  				<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
120  				<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
121  			</dependentAssembly>
122  		</assemblyBinding>
123  	</runtime>
124  
125  </configuration>
126  

 I have tried all the various obvious remedies, like running the script described earlier in the post, removing, then re-adding the reference to System.Data.DataSetExtender; it seems all to no avail.

 Any ideas?

Kind Regards,
Mike
 

0
miggl
1/10/2008 5:54:09 PM

Howdy Folks, 

In case it helps someone else, I had what was essentially the same problem (.net 3.5 wasn't installed in my production environment, a windows 2003 server) :

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Data.DataSetExtensions, Version=3.5.0.0   ...

But on my 2003 server, .net 3.5 did not come up as an installable option at windowsupdate - so I went here and installed "manually" : http://www.microsoft.com/downloads/details.aspx?FamilyID=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en

Installing .net 3.5 from that link fixed the problem (for running apps on the server).

As a separate thought, on my development machine, I think I would have kept the 2005 express editions installed, and kept all of my 1.1 and 2.0 apps in there, and worked on 3.5 apps in 2008 exclusively - I think that would have solved a few problems (Including 2008's disabled functionality for connecting to remote db's through the connection wizards).

The 2005 editions look like they're still available here: http://www.microsoft.com/express/2005/download/default.aspx

Darin
 

 

0
darinsee
1/12/2008 3:27:26 PM

I noticed that I had the wrong version of the .NET 3.5 framework installed (it was the preview release). After re-installing with current release, everything worked fine. 

0
miggl
1/15/2008 4:46:10 PM

Thanks darinsee for that link. I was having this problem and now it's fixed. :)

 
 

0
ozmosis
1/23/2008 4:53:57 AM

NeverMind... Problem fixed.

0
VBolton
1/25/2008 8:29:32 PM

Hi Everyone,

   My problem is also related to Web Extensions but a little different. It's about adding the Controls to the Toolbox.
(yes, i did follow the instructions here: http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Walkthrough/Setup.aspx).

  I installed the .Net Framework 3.5 (the webserver is using the same version). The project is an Ajax Web Site.
I added the Ajax Control Toolkit.dll (from the latest Ajax Toolkit download - AjaxControlTollkit-Framework3.5.zip).

   Now, I added a section Ajax Control Toolkit to the Toolbox. I clicked on the empty space below and selected
"Choose Items." Then I click Browse and navigate to where the AjaxControlToolkit.dll is and select that. Press OK.

   Then we have: "Can't load assembly "System.Web.Extensions"..."

  I'm using .Net 3.5 with VWD 2008 and developing for IIS that has .Net3.5. I'm not even refering to the end product
here but simply adding the Ajax Controls to the Toolbox.

   Can someone please help?

  Thanks in advance.

Regards,

Rudi

 

  Below is the web.config for my project:

 

<?xml version="1.0"?>
<configuration>
    <configSections>
        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
                    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/></sectionGroup>
            </sectionGroup>
        </sectionGroup>
    </configSections>
    <system.web>
        <pages>
            <controls>
                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>
                <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></controls>
        </pages>
    <!--
          Set compilation debug="true" to insert debugging
          symbols into the compiled page. Because this
          affects performance, set this value to true only
          during development.
    -->
        <compilation debug="true">
            <assemblies>
                <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies></compilation>

        <httpHandlers>
            <remove verb="*" path="*.asmx"/>
            <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
        </httpHandlers>
        <httpModules>
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        </httpModules>
    </system.web>
    <system.web.extensions>
        <scripting>
            <webServices>
                <!-- Uncomment this line to customize maxJsonLength and add a custom converter -->
                <!--
      <jsonSerialization maxJsonLength="500">
        <converters>
          <add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>
        </converters>
      </jsonSerialization>
      -->
                <!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. -->
                <!--
        <authenticationService enabled="true" requireSSL = "true|false"/>
      -->
                <!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved
           and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and
           writeAccessProperties attributes. -->
                <!--
      <profileService enabled="true"
                      readAccessProperties="propertyname1,propertyname2"
                      writeAccessProperties="propertyname1,propertyname2" />
      -->
            </webServices>
            <!--
      <scriptResourceHandler enableCompression="true" enableCaching="true" />
      -->
        </scripting>
    </system.web.extensions>
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <modules>
            <remove name="ScriptModule"/><add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        </modules>
        <handlers>
            <remove name="ScriptHandlerFactory"/>
            <remove name="ScriptHandlerFactoryAppServices"/>
            <remove name="ScriptResource"/><remove name="WebServiceHandlerFactory-Integrated"/>
            <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        </handlers>
    </system.webServer>
    <system.codedom>
        <compilers>
            <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
                <providerOption name="CompilerVersion" value="v3.5"/>
                <providerOption name="WarnAsError" value="false"/></compiler>
            <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
                <providerOption name="CompilerVersion" value="v3.5"/>
                <providerOption name="OptionInfer" value="true"/>
                <providerOption name="WarnAsError" value="false"/></compiler></compilers></system.codedom>
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/></dependentAssembly>
            <dependentAssembly>
                <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/></dependentAssembly></assemblyBinding></runtime></configuration>

 

 



 


 

0
RDiaz
2/28/2008 5:09:18 PM

 Hi Everyone,

   Nevermind. The problem was that a wrong version of Ajax (2.0) was in the system and being recognized instead of

the 3.5 Ajax Control Toolkit. I deleted it and installed the 3.5 Ajax Control Toolkit in the Windows .Net directory where

the Framework 3.5 is located. Here's the link: http://forums.asp.net/p/1225502/2209246.aspx#2209246

Thanks again

 


 

0
RDiaz
3/3/2008 9:16:23 PM

Hello Everyone,

 I'm having the same issue with the 3.5 error message, however my problem is that the web server where I'm putting my application is only running on Windows 2000 Standard server and I tried installing .NET Framework 3.5 and during the install says it's not supported on that server.  What can I do toget those references out of there or changed over to .NET framework 2.0?  I'm a beginner at this, any help would be very much appreciated.

 

Thanks.

John.

 

Here's my web.config file

<?xml version="1.0"?><!--

Note: As an alternative to hand editing this file you can use the

web admin tool to configure settings for your application. Use

the Website->Asp.Net Configuration option in Visual Studio.

A full list of settings and comments can be found in

machine.config.comments usually located in

\Windows\Microsoft.Net\Framework\v2.x\Config

-->

<
configuration>

<configSections>

<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>

<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

</sectionGroup>

</sectionGroup>

</sectionGroup>

</configSections>

<appSettings/>

<connectionStrings>

<add name="complaintConnectionString2" connectionString="Data Source=WWW;Initial Catalog=complaint;Integrated Security=True"

providerName="System.Data.SqlClient" />

</connectionStrings>

<system.web><!--

Set compilation debug="true" to insert debugging

symbols into the compiled page. Because this

affects performance, set this value to true only

during development.

Visual Basic options:

Set strict="true" to disallow all data type conversions

where data loss can occur.

Set explicit="true" to force declaration of all variables.

-->

<customErrors defaultRedirect="" />

<authorization>

<allow roles="Administrator" />

</authorization>

<roleManager enabled="true" />

<compilation debug="true" strict="false" explicit="true">

<assemblies>

<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

</assemblies>

</compilation>

<pages>

<namespaces>

<clear/>

<add namespace="System"/>

<add namespace="System.Collections"/>

<add namespace="System.Collections.Generic"/>

<add namespace="System.Collections.Specialized"/>

<add namespace="System.Configuration"/>

<add namespace="System.Text"/>

<add namespace="System.Text.RegularExpressions"/>

<add namespace="System.Linq"/>

<add namespace="System.Xml.Linq"/>

<add namespace="System.Web"/>

<add namespace="System.Web.Caching"/>

<add namespace="System.Web.SessionState"/>

<add namespace="System.Web.Security"/>

<add namespace="System.Web.Profile"/>

<add namespace="System.Web.UI"/>

<add namespace="System.Web.UI.WebControls"/>

<add namespace="System.Web.UI.WebControls.WebParts"/>

<add namespace="System.Web.UI.HtmlControls"/>

</namespaces>

<controls>

<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

</controls>

</pages>

<!--

The <authentication> section enables configuration

of the security authentication mode used by

ASP.NET to identify an incoming user.

-->

<authentication mode="Forms" />

<!--

The <customErrors> section enables configuration

of what to do if/when an unhandled error occurs

during the execution of a request. Specifically,

it enables developers to configure html error pages

to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">

<error statusCode="403" redirect="NoAccess.htm" />

<error statusCode="404" redirect="FileNotFound.htm" />

</customErrors>

-->

<httpHandlers>

<remove verb="*" path="*.asmx"/>

<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>

</httpHandlers><!-- <httpModules>

<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

</httpModules> -->

</system.web>

<system.codedom>

<compilers>

<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

<providerOption name="CompilerVersion" value="v3.5"/>

<providerOption name="WarnAsError" value="false"/>

</compiler>

<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

<providerOption name="CompilerVersion" value="v3.5"/>

<providerOption name="OptionInfer" value="true"/>

<providerOption name="WarnAsError" value="false"/>

</compiler>

</compilers>

</system.codedom>

<!--

The system.webServer section is required for running ASP.NET AJAX under Internet

Information Services 7.0. It is not necessary for previous version of IIS.

-->

<system.webServer>

<validation validateIntegratedModeConfiguration="false"/>

<modules>

<remove name="ScriptModule"/>

<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

</modules>

<handlers>

<remove name="WebServiceHandlerFactory-Integrated"/>

<remove name="ScriptHandlerFactory"/>

<remove name="ScriptHandlerFactoryAppServices"/>

<remove name="ScriptResource"/>

<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

</handlers>

</system.webServer>

<runtime>

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

<dependentAssembly>

<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>

<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>

</dependentAssembly>

<dependentAssembly>

<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>

<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>

</dependentAssembly>

</assemblyBinding>

</runtime>

</configuration>

0
deverdits
6/10/2008 3:46:45 AM

I had the same issue ... the problem arose because I had attempted to convert the project to VS 2008 and it "injected" various sections into the config file. Since I had not implemented any 3.5 code all I did was to replace the config from an existing 2.0 (working) site and changed the site specific entries. What this did essentially was remove all lines that referenced System.Web.Extensions, Version=3.5.0.0 alternatively you could delete all of these entries.

 Eventually I did have to delete the entry  <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> since the server didnt like it as well and my site was working again Stick out tongue

 Hope this helps!


Abi
0
agargye
3/17/2009 7:28:14 PM
Reply:

Similar Artilces:

Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does n
Hello All,If this is a repeat of posting that have been created, I sincerely apologize.  I have been looking for a solution for quite some time and although I have run across a lot of different posts offering solutions, nothing seems to be work.  Here is my dilemma:I have created a website with several pages using ASP.NET 2.0 and AJAX Extensions (including the AJAX Control Toolkit).  The pages run fine on my Development machine but on my IIS machine, I continue to recreate a Parser Error in regard to System.Web.Extensions.  Here is what I have done thus far: I have a...

Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
on my localhost, everything is working just fine, developing a few hours... then i publish to another server (windows server 2003)...and suddenly my website is broken. i could track i down to a scriptreference in my scriptmanager - which used to work perfectly.now i don't know where it went wrong - because i developed several things, including the addition of autocomplete textbox with the control toolkitbut even after removing all the code for the autocomplete textbox, the problem wasn't solved. i seem to be the first one to have this problem, because google doesn't return anythi...

coplilation error : Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the fi
I have problem compiling my website on 2 machine(win 2003 server & windows vista). The problematics machines has these components installed: 1.Net framework 3.5 sp1 2.vs 2008 sp1 ver: 9.0.30729.1 sp 3.windows sdk for vs 2008 sp1 It works grate on 3 different machines (xp,2003) that has the same components installed and the Microsoft ASP.NET 3.5 Extension CTP. I can't install the Microsoft ASP.NET 3.5 Extension CTP because I already have the .net 3.5 sp1 installed. Here is my web.config ...

Configuration Error
Hey everyone,I am very very very new to development.  In fact, this is my first website.  I've built the site and it works fine when I test it on my local machine, but when I try to deploy it and type in the URL, I get the following error:  Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Could not load file or assembly &#...

Parser Error Message: Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0
Hi guys. I have created a Web Site on IIS 6.0 on a remote server. I installed .NET 2.0 + configured server side extensions.  I then installed Visual Web Developer 2008 on my local XP machine. This installed .NET 3.5. I created a New Web Site in VWD 2008 (using HTTP). I connect OK to the remote server. However when I try to preview the default.aspx I receive error: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your conf...

Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0 (and etc.) HRESULT 0x8013104
That little HRESULT, as you may know, means exactly what the error says: The assembly wasn't found. I have a Visual Studio 2005 web project I'm publishing into a folder.  When I copy that folder up to it's location on my test server, I get the following message because .NET Framework 3.5 is not installed on that server (nor should it have to be--the AJAX extension DLL is already on that server). I looked though all my Project settings, to see if I was missing something that was telling VS to reference System.Web.Extensions as a .NET 3.5 (instead of an ASP.NE...

Unable to create type 'live:IDLoginStatus'. Could not load file or assembly 'System.Web.Extensions, Version=3.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The s
Hello,  I try to use a windowslive website in visual studio 2008 with framework 3.5 I have installed the framework 3.5 and i get following error although the site is working perfect in localhost: Unable to create type 'live:IDLoginStatus'. Could not load file or assembly 'System.Web.Extensions, Version=3.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.After this i check my gac and i manually (with configuration tool 2.0) installed 3.6 in my gac. I still get the same error. What am i doing ...

mvctoolkit Assembly 'MVCToolkit, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'System.Web.Extensions, Version=3.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a high
I have visual studio 2008 SP 1 .I created a new MVC Web Project and added a reference to the MVCToolkit dll.I tried to build and it shows following exception Error    5    Assembly 'MVCToolkit, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'System.Web.Extensions, Version=3.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'    f:\MVC\MVCProjects\MyFirstMVCApplicati...

Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
Hi, I am using VS2008 and .net 3.5, #. i m trying to access default.aspx in the browser and it shows the error as "Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified."   Also when i use any of the Ajaxcontrol toolkit tools, i m getting the these kind of errors. I hav copied the ajaxcontroltoolkit.dll and .pdb in the bin folder. but i m getting the same error. Please help me.  I will  be grateful if anyone can send me the co...

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.
hello i am getting this error in my application...i used ajax in web site..please help me Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: 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.Source Error: Line 30: <compilation...

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
I have downloaded the Ajax Control Toolkit Website Project. I want to run on Visual Studio 2005. But when I run the project I got the error like  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 . </system.web>     <httpModules>        <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neu...

Could not load file or assembly System.Web.Extensions, Version=3.5.0.0
Hi,   Just created a web site to play with MVC in VWD 2008 SP1 with a template for VWD MVC web sites I found googling. The template adds a reference to System.Web.Extensions, Version=3.6.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35  I have System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35 in my GAC. I guess this 3.5.0.0 is the version that installs with VWD 2008 SP1. So I changed my config file to <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> The web si...

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. #2
Hi, i copied the solution folder   and put this folder to another  computer and i try to run it show the error message " 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." Please guide me very urgent.Regards,Kannandesikan You need to install the ASP.NET AJAX extensions on the web server. ...

Could not load file or assembly 'System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
Dear Sir, I have an issue about using CrystalReport in VS2008 by using target framework as .NET 2.0 with AJAX toolkit enabled. When I have put CrystalReportViewer in ASPX page then run, the top of the page always said "Could not load file or assembly 'System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)" I have tried to use the AssemblyRedirect but it isn't work. Here is the code wha...

Web resources about - Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0 - asp.net.ajax-discussion

Resources last updated: 12/9/2015 3:45:01 PM