Solved

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

Posted on 2009-05-08
7
364 Views
Last Modified: 2013-12-29
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
Comment
Question by:PhaniSrinivas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
7 Comments
 
LVL 8

Expert Comment

by:Haris V
ID: 24333741
0
 

Author Comment

by:PhaniSrinivas
ID: 24333831
How can we find Asp.net Ajax is installed on server?
0
 

Author Comment

by:PhaniSrinivas
ID: 24351552
How can i check ajax is installed on my server?
0
 
LVL 13

Expert Comment

by:jaynir
ID: 26119223
0
 
LVL 13

Accepted Solution

by:
jaynir earned 500 total points
ID: 26119251
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I am discussing AJAX problems in IE7 and I bet this will helps many guys out here who have problems with AJAX work. Lets start with the discovery of problem and then we will talk about its different solutions. My last two projects included …
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question