• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 565
  • Last Modified:

Parser Error : Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.

I installed a Ajax Control Tool Kit  and wrote a simple code it works fine in local host but when i upload the application on the server i am getting an parser error like:

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 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.

Source Error:


Line 1:  <%@ Control Language="C#" AutoEventWireup="true" CodeFile="Featuredhotels.ascx.cs" Inherits="Featuredhotels" %>
Line 2:  <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
Line 3:  <style type="text/css">
Line 4:  
 
Source File: /ajaxchains/Featuredhotels.ascx    Line: 2

Assembly Load Trace: The following information can be helpful to determine why the assembly 'AjaxControlToolkit' 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.3082; ASP.NET Version:2.0.50727.3082

 I have:
Installed Visual Studio 2008 on my PC
Installed .NET Framework 3.5 on the Web Server
Installed AJAX Control Toolkit on my PC

What is the problem?
0
PhaniSrinivas
Asked:
PhaniSrinivas
  • 2
  • 2
1 Solution
 
Haris VCommented:
0
 
PhaniSrinivasAuthor Commented:
How can we find Asp.net Ajax is installed on server?
0
 
PhaniSrinivasAuthor Commented:
How can i check ajax is installed on my server?
0
 
jaynirCommented:
0
 
jaynirCommented:
here are the steps described in http://confusement.wordpress.com/category/aspnet/


   1. Unsinstall the AjaxExtentions if you have it installed on your system. Youll see this in the add/remove programs under Microsoft ASP.NET 2.0 AJAX Extensions 1.03 or something very close to it.
   2. Download the new extension from here: http://asp.net/ajax/downloads/
   3. Install the extensions
   4. Download the AJAX Toolkit, you can find the link in the same place as mentioned above.
   5. Install them
   6. If youre starting a project or website from scratch, youre good to go now. If you already have a project that needs to be updated keep reading.
   7. In your project add a reference to System.Web.Extensions and System.Web.Extensions.Design
   8. Remove references to Microsoft.Web.Extensions and Microsoft.Web.Extensions.Design (if you have any)
   9. Remove references to AjaxControlToolkit (if you have it)
  10. Add a reference to AjaxControlToolkit (make sure youre referencing the newly downloaded one)
  11. Go through your code and replace references to Microsoft.Web.Extensions with System.Web.Extensions
  12. Build and pray

If you still have issues, drop me a line, I might be able to help, but Im not promising anything.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now