MVC :: Runtime Error: Could Not Load File Or Assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=?
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
Similar Messages:
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
Apr 13, 2010
I just migrated myDocuments folder to a new laptop (windows 7, 64 bit). The visual studio project WAS working on my desktop computer (windows XP pro).
Runtime error is:
ASP.NET runtime error: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f
It references the config file, so I am looking to see if I need to add something in there or what?
View 1 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
Dec 21, 2010
I have a .net web application hosted in Sharepoint 2007. Recently I added a page to launch an application(.exe) from the code behind of a .aspx page. The applicatoin is launched when I test it on my desktop(without Sharepoint). When I deploy the .aspx page and the dll to the Sharpoint, I get an error "Could not load file or assembly 'CheckService, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
View 1 Replies
Mar 2, 2011
I'm working on a project that accesses the Exchange Server. Before I replaced the project to a server, everything went fine. But now I'm getting this error.
View 2 Replies
Jul 19, 2010
I've been using a particular version of a PDF library (PdfSharp), with the dll file in the bin directory (bin/PdfSharp.dll). I use this to prepare, combine, split, and otherwise manipulate PDF files, both those that come from outside my app and those I generate using ReportViewer.
Today I saw there was a new version of the library and naively dropped the new .dll into the bin folder, replacing the old one (I rarely have need to mess with the 2 or 3 dlls in my bin folder and it's been 2 years since I set them up so I wasn't really sure how to proceed and didn't take the time to think too much about it). The PDF generation no longer worked, so I deleted the newer .dll and replaced it with the older one (I have copies in backups, the production server, etc).
Now, although I've confirmed that the dll in the bin folder is the older version (file Properties show correct older version number, file size is older file size, etc), and although the application works correctly, including those parts that call on the library, I can no longer access the data sources for my RDLC files -- when I open an RDLC file in the editor and choose Report->Data Sources, I get this error:
Could not load file or assembly 'PdfSharp, Version=1.2.1269.0, Culture=neutral, PublicKeyToken=f94615aa0424f9eb' or one of its dependencies. The system cannot find the file specified.
I am mystified: I don't understand the connection between a report's data source and this library; I know that the correct version (1.2.1269.0) is in binPdfSharp.dll; and I can find no references to any version of PdfSharp in any file in my application, other than the code that actually calls it (ie, there are no references to it in web.config or the .rdlc files or the dataset .xsd files). I've also been through the registry and find no references to the new version. I've tried deleting the dll and re-adding it using "Add Reference...", and I've tried "Update Reference", all to no avail.
View 1 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
Jul 2, 2010
I develop an ASP.NET 2.0 with VS 2008, VB.NET, and sometime a get this exception when web application is launching.
Message Parser Error: Could not load file or assembly 'AjaxControlToolkit, Version = 3.5.40412.0, Culture = neutral, PublicKeyToken = 28f01b0e84b6d53e' or one of its dependencies.The definition from the assembly manifest does not match the assembly reference. (Exception from HRESULT: 0x80131040)
To solve this problem, I need to regenerate the project. I would like to understand why this error append sometime. I try to check the version referenced in project property, try to check the version attribute on Web.Config :
<pages theme="Formulaires" validateRequest="false" styleSheetTheme="Formulaires" enableEventValidation="false" enableViewStateMac="false">
<controls>
<add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit, Version=3.5.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
<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>
<namespaces>
<clear/>
<add namespace="System"/>
<add namespace="System.Collections"/>
<add namespace="System.Collections.Specialized"/>
<add namespace="System.Configuration"/>
<add namespace="System.Text"/>
<add namespace="System.Text.RegularExpressions"/>
<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>
</pages>
It the correct version... i don't understand about this problem.
View 2 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
Jul 8, 2010
I am getting this error that is related to ReportsViewer. I need to eliminate all references to this library. So where do I need to start deleting the references?
Description: 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 'Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
<add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
View 1 Replies
Jan 30, 2011
<add assembly="Microsoft.AnalysisServices, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
this error message appeared after i transfered the web application into another server and run it
the error row is as follow:
<add assembly="Microsoft.AnalysisServices, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
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
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
Mar 3, 2010
I am using AjaxControlToolkit.dll 1.0.20229. For compiling my code in my DotnetNuke module. When I compile our code and upload it on Server Dotnetnuke application which is having latest 3.x version of AjaxControlToolkit.dll. I get following error. I am not compiling my code to a specific version of AjaxControlToolkit.dll.......................
View 2 Replies
Feb 17, 2010
I have a application in which i have read the mail from outlook. its working fine in local pc . but when i deploy this application on server then it gives me error like: on deploy machine outlook version is office 2007. Could not load file or assembly 'Extensibility, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
View 2 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
Sep 2, 2010
I keep getting this strange error (below) on my local machine on the first time the page loads,
Then if I reload it - it loads correctly...
What is really strange is that it does not happen on the server (same settings)
I'm using AJAXControlToolkit.dll version 4.1.40412.2
and this script manager (if not I get the Common.Common.js error)
[Code]....
View 6 Replies
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
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
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
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
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