1
Answer

Works on local machine, not on server: Could not load file

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: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Line 5: <html xmlns="http://www.w3.org/1999/xhtml">
Answers (1)