Error Loading Types From Assembly Ajaxcontroltoolkit.dll
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up ERROR Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies up vote 14 down vote favorite 2 I'm deploying my website on the server. My website is done using asp.net c# 4 and EF 4. I receive this error: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded Any idea how could I fix it? Thanks for your time on this c# asp.net deployment ajaxcontroltoolkit share|improve this question asked Oct 8 '11 at 8:25 GibboK 21.1k68243422 add a comment| 5 Answers 5 active oldest votes up vote 13 down vote accepted It looks like you're trying to run it on a version of ASP.NET which is running CLR v2. It's hard to know exactly what's going on without more information about how you've deployed it, what version of IIS you're running etc (and to be frank I wouldn't be very much help at that point anyway, though others would). But basically, check your IIS and ASP.NET set-up, and make sure that everything is running v4. Check your application pool configuration, etc. share|improve this answer answered Oct 8 '11 at 8:29 Jon Skeet 900k48765327459 Thanks Jon for your answer, hosting company is running for the server IIS 7.5 and Windows Server 2008. could be a problem of the hosting provider that has a pool set to not v4? –GibboK Oct 8 '11 at 8:45 @GibboK: Does the hosting company claim to support ASP.NET v4? They may not even have .NET 4 installed... it sounds like you need to be talki
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign http://stackoverflow.com/questions/7695657/error-could-not-load-file-or-assembly-ajaxcontroltoolkit-or-one-of-its-depende up Parser Error Could not load AjaxControlToolkit up vote 0 down vote favorite Parser Error Message: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified. Yes I've seen the questions before here but I can't find the right answer for me: So here is the error page: (Line 3 is highlighted) Description: An http://stackoverflow.com/questions/24899829/parser-error-could-not-load-ajaxcontroltoolkit 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 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified. Source Error: Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="students.aspx.cs" Inherits="students" %> Line 2: Line 3: <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxControlToolkit" %> Line 4: Line 5: Source File: /aspsite/students.aspx Line: 3 Assembly Load Trace: The following information can be helpful to determine why the assembly 'AjaxControlToolkit' could not be loaded. here is what I checked and tried suggested by other questions: ERROR Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies The hosting server is running on ASP.NET 4.0, 4,5 Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified The ajaxcontroltoolkit.dll is in the /bin folder, allong with all the other packages and stuff (it works in compiler mode in VS though) Here is my web.config file: