We implemented the AjaxControlToolkit in development, added some widgets and everything works fine.
The local machine is a win7 64-bit machine.
When we deploy the web application on our server (win server 2003, 32 bit) to IIS 5 we get the following exception:
Works on local machine, not on server: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.
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 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default"
Line 2: Debug="true" %>
Line 3: <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
Line 4:
Line 5:
Works on local machine, not on server: Could not load file
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Javeed M ShaikhRank #839 · 2.7K reputationPosted Apr 30, 2013, 8:02 AM EDT
1. The assembly (AjaxControlToolkit.dll) needs to be deployed to the Global Assembly Cache (GAC) or put in the \BIN folder of the site's folder.
2. Check your IIS and ASP.NET set-up, and make sure that everything is running on the same version as you developed you application in.