title: Could not load file or assembly 'AjaxMin, Version=4.97.4951.28478, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f' or one of its dependencies
body: <p>Get this error when I try to view my project in browser on localhost.</p>
  
  <p>Verified that AjaxControlToolkit is setup in references in my project.</p>
  
  <p>AjaxControlToolkit.dll is in the directory listed in the reference.</p>
  
  <p>I re-installed AjaxControlToolkit to make sure that was not the issue.</p>
  
  <p>The project I am working on is a project emailed to me by a colleague and is not something I created from the ground up. Not sure if that is the problem and the project is looking at an old reference?</p>
  
  <p>On a related note, I have another test project in a separate solution and I added an AjaxControlToolkit control to test that (CalendarExtender) and it worked just fine.</p>
  
  <p>Posting my code:</p>
  
  <p>web config:</p>
  
  <pre><code> &lt;?xml version="1.0"?&gt;
      &lt;configuration&gt;
        &lt;connectionStrings&gt;
          &lt;add name="TESTConnectionString" connectionString="Data Source=(localdb)\v11.0;Initial Catalog=TEST;Integrated Security=True" providerName="System.Data.SqlClient"/&gt;
          &lt;add name="TESTConnectionString2" connectionString="Data Source=(localdb)\v11.0;Initial Catalog=TEST;Integrated Security=True" providerName="System.Data.SqlClient"/&gt;
        &lt;/connectionStrings&gt;
        &lt;system.web&gt;
          &lt;httpRuntime targetFramework="4.5" /&gt;
          &lt;compilation debug="true" targetFramework="4.5"&gt;
  
            &lt;assemblies&gt;
              &lt;add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/&gt;
              &lt;add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;
              &lt;add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/&gt;
  
  
  
            &lt;/assemblies&gt;
  
  
  
         &lt;/compilation&gt;
  
          &lt;!--&lt;pages&gt;--&gt;
            &lt;!--&lt;controls&gt;
  
              &lt;add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=4.97.4951.28478, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f" /&gt;
              &lt;add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="asp" /&gt;
  
              --&gt;&lt;!--&lt;add namespace="AjaxControlToolkit, Version=4.97.4951.28478, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f"/&gt;
              &lt;add tagPrefix="asp" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit, Version=4.97.4951.28478, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f"/&gt;--&gt;&lt;!--
            &lt;/controls&gt;
          &lt;/pages&gt;--&gt;
  
        &lt;/system.web&gt;
      &lt;/configuration&gt;
  </code></pre>
  
  <p>master page:</p>
  
  <pre><code> &lt;%@ Master Language="C#" %&gt;
  
  
  
      &lt;!DOCTYPE html&gt;
      &lt;html lang="en" xmlns="http://www.w3.org/1999/xhtml"&gt;
      &lt;head runat="server"&gt;
      &lt;meta charset="utf-8" /&gt;    
          &lt;title&gt;&lt;/title&gt;
          &lt;asp:ContentPlaceHolder id="head" runat="server" /&gt;
  
      &lt;/head&gt;
      &lt;body&gt;
          &lt;form id="form1" runat="server"&gt;
          &lt;div&gt;
              &lt;%--&lt;asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"&gt;
  &lt;/asp:ToolkitScriptManager&gt;--%&gt;
  
              &lt;%--&lt;asp:ScriptManager ID="ScriptManager1" runat="server"&gt;
  &lt;/asp:ScriptManager&gt;--%&gt;
              &lt;asp:ContentPlaceHolder id="Content2" runat="server" /&gt;
              &lt;asp:UpdatePanel ID="UpdatePanel1" runat="server" /&gt;
  
          &lt;/div&gt;
          &lt;/form&gt;
      &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>top of the main .aspx page through the toolkitscriptmanager tag:</p>
  
  <pre><code>  &lt;%@ Page Title="" Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" CodeFile="MAIN.aspx.cs" Inherits="admin_Payments" %&gt;
  
  
      &lt;%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix ="asp" %&gt;
  
  
      &lt;asp:Content  ContentPlaceHolderID="head" runat="Server"&gt;
  
  
  
  
          &lt;style type="text/css"&gt;
              .auto-style1 {
                  text-align: left;
                  font-size: medium;
              }
  
              .auto-style2 {
                  font-size: medium;
              }
  
              .auto-style3 {
                  height: 577px;
              }
          &lt;/style&gt;
      &lt;/asp:Content&gt;
  
      &lt;asp:Content contentplaceholderid="Content2" runat="Server"&gt;
  
          &lt;asp:UpdatePanel ID="UpdatePanel1" runat="server"&gt;
  
          &lt;ContentTemplate&gt;
  
              &lt;asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"&gt;
      &lt;/asp:ToolkitScriptManager&gt;
  </code></pre>
  
  <p>..................</p>