The Notorious 'Could Not Load File Or Assembly 'System.Web.Extensions'
Jun 10, 2010
I installed the app http://and when I ran the default page I get the error below:From my research they ask you to copy the DLLs into your bin folder and I did and still would not work.I see the DLLs at C:WINDOWSassembly folder.Where am I supposed to have the DLLs? what is the best practice? The log clearly shows it is looking for LOG: Initial PrivatePath = C:InetpubwwwrootPTIssueTracker2.5in after I enabled the Fusion log registry.i found the DLLs at C:Program FilesReference AssembliesMicrosoftFrameworkv3.5. Below is the error:
Configuration Error
Description:
An error occurred during the processing of a configuration file required to service this request.
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:
[Code]....
Source File: C:InetpubwwwrootPTIssueTracker2.5web.config Line: 80 Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.
[Code]....
If I copy the DLLs from C:Program FilesReference AssembliesMicrosoftFrameworkv3.5
into C:InetpubwwwrootPTIssueTracker2.5in, I get the error below:
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 located assembly's manifest definition does not match the assembly reference.
(Exception from HRESULT: 0x80131040)
View 1 Replies
Similar Messages:
Jul 8, 2010
I purchased a new computer and put all my development software on. Now when I load an asp.net 2.0 project I get the following error:-
Code:
Error3E:RPPResolve-ITASPDotNET2.0HansooKwanDirections.aspx: ASP.NET runtime error: 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. (E:RPPResolve-ITASPDotNET2.0HansooKwanweb.config line 44)E:RPPResolve-ITASPDotNET2.0HansooKwanDirections.aspx11E:...HansooKwan
View 9 Replies
Mar 15, 2011
Server Error in '/IMGcup' 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.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The
system cannot find the file specified.
Source Error:
[Code]....
Source File: C:inetpubwwwrootIMGcupweb.config Line: 24 Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.
[Code]....
View 3 Replies
Mar 15, 2011
Server Error in '/IMGcup' 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.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Source Error: [Code]....
Source File: C:inetpubwwwrootIMGcupweb.config Line: 24 Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.
[Code]....
View 1 Replies
Jan 4, 2010
I'm getting ' 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.' when dragging AJAX Extention to any page.I've been uninstalling and reinstalling VS2005 whole day. Meanwhile there are no AJAX Control Toolkit in Toolbox and AJAX enabled templetes are missing.
View 5 Replies
Jan 28, 2011
I had web application developed in VS 2005 + Sql server 2005 + Ajax 1.0 Extension . (Developed in Windows Server 2005) Now i am migrating to VS 2008.(Windows Server 2008 + Sql server 2008)
After opening and compile my Existing application in VS 2008,i am getting error.
Errors :-
Unable to load file or assembly 'System.web.Extenstions'' version=1.0.61025. (I think it because of AJAX Extension version.So i installed AJAX Extension 1.0 but it will give me ambiguous error so i uninstalled.I am added reference for version=3.5.0 but again unsuccessful.) What i will do now? Also i used 'Microsoft.SqlServer.SmoEnum', Version=9.0.242.0 in VS 2005. (Are i have to change it to version=10.0.0.0? by adding reference to new version.) I also used crystal report.(Is there is anything to do with it?)
View 1 Replies
May 29, 2010
I'm working on my ASP Application 2.0 framework with AJAX Extension 1.0 installed on my pc. I'm getting an error on my CrystalReportViewer: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 already tried some solutions I found in google but it's still im getting the error.:
[URL]Below are the codes for my web.config
[Code]....
Here's my code in the webform
[Code]....
View 2 Replies
Oct 11, 2010
i have installed ajax control kit successfully and all controls already came in toolbar tab named "Ajax Control toolkit"But when i try to design any page using with ajax control toolkit, follow error is coming:
Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Source Error:[Code]....
Stack Trace: [Code]....
[TypeLoadException: Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.]
AjaxControlToolkit.ToolkitScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs e) in [code]...
I am using VIsual Studio 2008 , framework 3.5 but i don't know why in error information version is showing 2.0
i install tool kit according 3.5 framework.also note, framework built-in ajax tags i can use fine and they work properly.
View 1 Replies
Dec 15, 2010
i have installed ajaxtoolkit 3.5 but when i debug i am getting this error Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' even i have changed my tags to
<asp:ToolkitScriptManager
ID="ToolkitScriptManager1"
EnablePartialRendering="true"
runat="server"></asp:ToolkitScriptManager>
View 6 Replies
Mar 18, 2010
I'm having trouble moving a website from one server to another. It seems to be a problem loading multiple versions of System.Web.Extensions. The code uses version 3.5 in most places but a third party control appears to be needing version 1.0.6. I didn't think this was possible but it appears to be working in it's current situation.
Is there a way I can use the GAC version of System.Web.Extensions for the site but import a dll of version 1.0.6 just for these controls?
View 1 Replies
Mar 3, 2011
An error occurred during the processing of a configuration file required to service this request. 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.
View 8 Replies
Jun 30, 2010
I have a rather simple internal ASP.Net Website that has issues loading the Microsoft.Practices.EnterpriseLibrary.Data dll about once a week. Here is the Exception message:
System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied.
File name: 'Microsoft.Practices.EnterpriseLibrary.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'
at foobar.Intranet.Logic.Data.UserDB.SelectByUserName(String userName)
at foobar.Intranet.Logic.Info.User.ValidateUser(String userName) in F:Developmentfoobarfoobarfoobar.Intranet.LogicInfoUser.cs:line 130
at Login.ValidateUser(String username, String password) in e:foobarfoobar.IntranetLogin.aspx.cs:line 32
Pre-bind state information
LOG: User = Unknown
LOG: DisplayName = Microsoft.Practices.EnterpriseLibrary.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file:///E:/foobar/foobar.Intranet/
LOG: Initial PrivatePath = E:foobarfoobar.Intranetin Calling assembly : foobar.Intranet.Logic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
LOG: This bind starts in default load context.
LOG: Using application configuration file: E:foobarfoobar.Intranetweb.config
LOG: Using host configuration file: \?C:WINDOWSMicrosoft.NETFrameworkv2.0.50727aspnet.config
LOG: Using machine configuration file from C:WINDOWSMicrosoft.NETFrameworkv2.0.50727configmachine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/foobar.intranet/668896d8/82d7e51c/Microsoft.Practices.EnterpriseLibrary.Data.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/foobar.intranet/668896d8/82d7e51c/Microsoft.Practices.EnterpriseLibrary.Data/Microsoft.Practices.EnterpriseLibrary.Data.DLL.
LOG: Attempting download of new URL file:///E:/foobar/foobar.Intranet/bin/Microsoft.Practices.EnterpriseLibrary.Data.DLL.
ERR: Failed to complete setup of assembly (hr = 0x80070005). Probing terminated.
Things of note:
A simple IIS Reset fixes the issue. We had the same code running on a single webserver with no problems. We then moved the site to two new, load balanced (using sticky sessions) webservers (all three Windows Server 2003 R2 Standard Edition SP1). Now each of the load balanced webservers throw this exception about once a week just out of the blue.The only major difference I can think of, is I've installed the 4.0 .NET framework on the load balanced servers. The website is still running under ASP.NET 2.0 so I don't see how this would be an issue I've configured the indexing service to not search the "Temporary ASP.NET Files" folder, but it didn't help. We use the Microsoft.Practices.EnterpriseLibrary.Data dll everywhere on our site. Almost every single page uses our logic dll which in turn utilizes the EnterpriseLibrary dlls. While the errors where happening once, I even looked to see what processes were locking the dll in the "Temporary ASP.NET Files" folder, and it wasn't any different than the locks on the server that was working fine. Once the error starts, it errors every single time until an iisreset is performed.
View 1 Replies
Aug 25, 2010
I've tried deploying my asp.net app to a new server and I get this error:
Could not load file or assembly
'System.Web.Entity, Version=3.5.0.0,
Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
Sure enough, System.Web.Entity isn't found in C:WindowsAssembly. However, the server has MS .NET Framework 3.5 installed and also MS ASP.NET 2.0 AJAX Extensions 1.0. Is this something I need to deploy with my app, or something I need to be installed on the server? It's not my own server so xcopy deployment within my app folder would be much better if that's possible.
View 2 Replies
Apr 23, 2010
I have an ASP.NET project and I want to use some AjaxToolKit Extenders on my pages.
The site is created in VS2010, set to Framework 4.0.
This is what I did:
1) Add reference "AjaxToolKit.dll" to my project.
2) Add to the toolbar the same file for the controls
3) Add "ToolkitScriptManager" to the page source.
This adds the declaration to the source as well.
Right after this I get the following error:
Reference required to assembly 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' containing the base class 'System.Web.UI.ScriptManager'. Add one to your project.
View 3 Replies
Jul 27, 2010
Now I have WCF web.config problem. At first, I have parent website .net 2.0 "WebApp" which use "system.web.extensions" assembly.
<configuration>
configSections>
sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
[code]...
View 3 Replies
Mar 4, 2010
I installed Cahrt control of ASP:Net and It works fine on local. I made neccessary changes on web.config but When I deploy it to my site I am getting the error ! It says as below;
Server Error in '/' Application.
Parser Error
Description:An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Source Error:
[Code]....
View 4 Replies
Jan 13, 2010
I am getting this message on my Page element. However my project references C:Program FilesMicrosoft ASP.NETASP.NET MVC 2AssembliesSystem.Web.Mvc.dllwhich is Version 2.0.0.0Furthermore my Web.config contains
<assemblies>
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
This is VS2010.I created the blank project with VS2010 and then copied the code (without Web.config) from the old project.
View 5 Replies
Aug 25, 2010
I have created an application which runs fine in VS2010.Now i am trying to host that application using inetmgr.When i try to browse the page from inetmgr content view then i get the "Parser Error Message: Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified".If i browse the page from VS i am able to do it.I am not able to host the app. may be the reason is the above stated error.
View 1 Replies
Feb 26, 2010
i am gettting the following error on the webpage...
Error Message: Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Error Source:
AjaxControlToolkit
Stack Trace:
at AjaxControlToolkit.ToolkitScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs e)
at System.Web.UI.ScriptManager.RegisterScripts()
at System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e)
at System.Web.UI.Page.OnPreRenderComplete(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
View 1 Replies
May 10, 2010
My application is running fine locally when I deploy it it is giving me the above error saying
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
View 6 Replies
Sep 6, 2010
I'm using Visual Studio 2008 and i downloaded the toolkit from Codeplex,I downloaded the zip file which i've marked red in the below link..This is my code, [Code]....
& this is the error i get," Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' "
I saw this post,http://forums.asp.net/p/1273185/3439540.aspx and
i changed my TOOLSCRIPTMANAGER into SCRIPTMANAGER & now i get this error
http://forums.asp.net/t/1529516.aspx
View 5 Replies
Jun 11, 2010
i m working on AspDontNetStoreFront application (http://www.aspdotnetstorefront.com)
i got the code is working on my pc but when i upload up to server it 's give me error
"System.TypeLoadException: Could not load type 'AspDotNetStorefront.RegisterRoutes' from assembly 'App_Code'."
View 1 Replies
Mar 23, 2011
I am developing the Windows Live@edu SSO integration with asp.net custom code.It uses the DLL called "System.Management.Automation" for executing Windows powershell v2.0 commands for connecting Outlook Live Apps.It works fine in localhost,but during deployment in Windows server 2008 , it shows error called
Could not load type 'System.Management.Automation.Runspaces.PSSession' from assembly 'System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'."
View 2 Replies
Dec 17, 2010
I've add MSChart to a webpage and I'm also using a Survey page I got from 4GuysFromRolla (http://www.4guysfromrolla.com/articles/061604-1.aspx). Both work on my development machine but when I move them to my hosting site there are issues.
With MSChart page the chart is not displayed although it's included the Page Source code:
src="/ClubInformationTracking/ChartImg.axd?i=chart_3d90c53b0f844807a2491a1d79a636a1_0.png&g=75fecf0f14cf4121b623691d383263aa" alt="" style="height:300px;width:700px;border-width:0px;" />
And when I try to open the Survey page I get this:Parser Error Message: Could not load file or assembly 'sstchur.web.survey' or one of its dependencies. The system cannot find the file specified.
Source Error:
<%@ Register TagPrefix = "sstchur" Namespace = "sstchur.web.survey" Assembly = "sstchur.web.survey" %>
<%@ Page Language = "C#" %>
Assembly Load Trace: The following information can be helpful to determine why the assembly 'sstchur.web.survey' could not be loaded.
WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!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 [HKLMSoftwareMicrosoftFusion!EnableLog].
The Hosting site is using Version 4.0 and the dll needed for the survey is in the BIN directory.
When I moved my files to the hosting site I had to change every instance when I referred to a file from:
"~/FileName"
To
"FileName"
I've tried all of the "fixes" I could find for the MSChart that involved changes to the web.config file but because of the error messages associated with the Survey page I'm guessing this is the issue.
View 2 Replies
Jun 18, 2010
I have just upgraded from windows server 2003 to windows server 2008 Web Edition and am having problems with Crystal reports, I keep getting the error
Parser Error Message:" Could not load file or assembly 'CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified."I had the same problem on my windows 2003 server a while back and fixed the problem by running the crystal reports runtime file 'CRRedist2008_x86.msi' but it didn’t fix the problem on the Windows 2008 Web Edition server after running it.
View 3 Replies