title: My Website not Working with ajaxcontroltoolkit 3.5 IIS 7.5
body: <p>I have a website with asp.net C# when  hosted locally works fine.
  When Used with IIS 7.5 and Windows Server 2008 ajax control tool kit does not work properly. Can anyone help me please.</p>
  
  <p>Error shown in FireBug: </p>
  
  <pre><code> NetworkError: 404 Not Found - http://www.acmeinfovision.com/Settings/ClientSalaryHeadSetting.aspx?_TSM_HiddenField_=ctl00_ToolkitScriptManager1_HiddenField&amp;_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d3.5.60501.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a61715ba4-0922-4e75-a2be-d80670612837%3af2c8e708%3ade1feab2%3a720a52bf%3af9cec9bc%3a589eaa30%3aa67c2700%3aab09e3fe%3a87104b7c%3a8613aea7%3a3202a5a2%3abe6fb298%3aaf404b5%3a698129cf%3abb25728f%3a289e72ab"
  Client...89e72ab
  Sys.Extended is undefined
  [Break On This Error]   ...tl00_DropPanel"),"dynamicServicePath":"/Settings/ClientSalaryHeadSetting.aspx","...
  </code></pre>
  
  <hr>
  
  <p>Master Page Code Looks Like this</p>
  
  <pre><code>&lt;%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.master.cs" Inherits="AcmePayRoll.Site" %&gt;
  
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
      &lt;meta http-equiv="Page-Enter" content="blendTrans(Duration=0)" /&gt;
      &lt;meta http-equiv="Page-Exit" content="blendTrans(Duration=0)" /&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;link href='&lt;%# this.ResolveCSS("~/css/Stylesheet_mini.css")%&gt;' rel='stylesheet'
          type='text/css' /&gt;
      &lt;link href='&lt;%# this.ResolveCSS("~/css/ui-Redmond/jquery-ui_mini.css")%&gt;' rel='stylesheet'
          type='text/css' /&gt;
      &lt;link href='&lt;%# this.ResolveCSS("~/css/demo_table_jui_mini.css") %&gt;' rel='stylesheet'
          type='text/css' /&gt;
      &lt;link href='&lt;%# this.ResolveCSS("~/css/ColVis_mini.css")%&gt;' rel='stylesheet' type='text/css' /&gt;
      &lt;link href='&lt;%# this.ResolveCSS("~/css/TableTools_mini.css") %&gt;' rel='stylesheet'
          type='text/css' /&gt;
      &lt;link href='&lt;%# this.ResolveCSS("~/css/TableTools_JUI_mini.css")%&gt;' rel='stylesheet'
          type='text/css' /&gt;
      &lt;link href='&lt;%# this.ResolveCSS("~/css/ColReorder_mini.css")%&gt;' rel='stylesheet'
          type='text/css' /&gt;
  
      &lt;script src='&lt;%# this.ResolveJS("~/js/jquery-1.7.1.min.js") %&gt;' type='text/javascript'&gt;&lt;/script&gt;
  
      &lt;script src='&lt;%# this.ResolveJS("~/js/jquery-ui-1.8.17.custom.min.js") %&gt;' type='text/javascript'&gt;&lt;/script&gt;
  
      &lt;script src='&lt;%# this.ResolveJS("~/js/Themeswither/TmemeSwither_mini.js") %&gt;' type='text/javascript'&gt;&lt;/script&gt;
  
      &lt;script src='&lt;%# this.ResolveJS("~/js/ScrollableGrid_mini.js") %&gt;' type='text/javascript'&gt;&lt;/script&gt;
  
      &lt;script src='&lt;%# this.ResolveJS("~/js/PayrollCommon_mini.js") %&gt;' type='text/javascript'&gt;&lt;/script&gt;
  
      &lt;script src='&lt;%# this.ResolveJS("~/js/jquery.table_navigation_mini.js")%&gt;' type='text/javascript'&gt;&lt;/script&gt;
  
      &lt;link rel='SHORTCUT ICON' href='&lt;%# this.ResolveUrl("~/Images/Acme-Logo.ICO")%&gt;' /&gt;
  
      &lt;script type="text/javascript"&gt;
  
       document.write("&lt;div id='loading'&gt;&lt;img id='pic1' src='&lt;%#  this.ResolveUrl("~/Images/15.gif") %&gt;' /&gt;&lt;br&gt;Please Wait...&lt;/div&gt;");
  
          $(document).ready(function() { 
          var url='&lt;%#  this.ResolveUrl("~/") %&gt;';
  
              AddThemeSwither("ThemeSwither",url);
              ApplyCommonStyles();
              scrlsts();
              $("#contentdiv").height($(window).height());
              $("#contentdiv").width($(window).width());
          });
  
          function check()
          {
              var grid = $("&lt;%# grid_clients.ClientID %&gt;");
              $(grid).Scrollable({ ScrollHeight: 70 });
          }
           function help_click(e) { 
                var helpurl= $(e.parentNode).find("input[type='hidden']");  
                var val=helpurl.val();
                if(val!="")
                { 
                    window.open(val,'win');
                } 
          }
      &lt;/script&gt;
  
      &lt;asp:ContentPlaceHolder ID="head" runat="server"&gt;
      &lt;/asp:ContentPlaceHolder&gt;
      &lt;style type="text/css"&gt;
          #ThemeSwither
          {
              width: 200px;
              position: absolute;
              margin-left: auto;
              overflow: inherit;
              top: 5px;
              left: 15px;
          }
      &lt;/style&gt;
  &lt;/head&gt;
  &lt;body style="margin: 0; background-color: #FDF8FF;" &gt;
      &lt;div style="vertical-align: top; width: 100%; height: 144px; top: 0; margin: 0;"&gt;
          &lt;form id="form1" runat="server"&gt;
          &lt;div id="contentdiv" style="width: 100%; border-bottom-color: Black"&gt;
              &lt;ajaxtoolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" ScriptMode ="Release"  EnablePageMethods ="true" CompositeScript-ScriptMode ="Release"  LoadScriptsBeforeUI="false"&gt;
              &lt;/ajaxtoolkit:ToolkitScriptManager&gt;
              &lt;%--&lt;asp:ScriptManager ID ="ScriptManager1" runat ="server" &gt;
              &lt;/asp:ScriptManager&gt;--%&gt;
              &lt;table width="100%" style="height: 100%" border="0" cellpadding="0" cellspacing="0"&gt;
                  &lt;tr class="ui-state-hover" style="vertical-align: top; height: 8%"&gt;
                      &lt;td style="width: 20%"&gt;
                          &lt;div id="ThemeSwither"&gt;
                          &lt;/div&gt;
                          &lt;asp:ImageButton ID="btnDashboard" runat="server" BorderStyle="None" Style="position: absolute;
                              margin-left: auto; overflow: inherit; top: 65px; left: 15px;" ImageUrl="~/Images/Dashboard48.png"
                              ToolTip="Dashboard" AlternateText="Dashboard" DescriptionUrl="~/Dashboard/Dashboard.aspx"
                              OnClick="btnDashboard_Click" /&gt;
                      &lt;/td&gt;
                      &lt;td colspan="2" style="text-align: right"&gt;
                          &lt;table width="100%"&gt;
                              &lt;tr style="vertical-align: top"&gt;
                                  &lt;td colspan="2" align="right"&gt;
                                      &lt;asp:Label ID="lbluserid" runat="server" CssClass="ui-state-hover" Text="User Id"
                                          Style="border: 0px; position: static; font-family: Cambria; font-size: medium"&gt;&lt;/asp:Label&gt;
                                  &lt;/td&gt;
                                  &lt;td style="width: 10%; vertical-align: top" align="right"&gt;
                                      &lt;a href="" runat="server" id="cmdSignOut" style="font-family: Cambria; font-size: 15px;
                                          vertical-align: top"&gt;SignOut&lt;/a&gt;
                                      &lt;input type="hidden" id="hidden_help_url" runat="server" /&gt;
                                      &lt;asp:ImageButton ID="helpbutton" runat="server" ImageUrl="~/Images/help-icon.png"
                                          Height="20px" Width="20px" ToolTip="Help" OnClientClick="help_click(this); return false;" /&gt;
                                  &lt;/td&gt;
                              &lt;/tr&gt;
                              &lt;tr&gt;
                                  &lt;td align="center"&gt;
                                      &lt;asp:UpdatePanel ID="UpdatePanel2" runat="server"&gt;
                                          &lt;ContentTemplate&gt;
                                              &lt;asp:Image ID="clientlogo" runat="server" Height="35px" Width="31px" ImageAlign="Bottom" /&gt;
                                              &lt;asp:Label ID="lblclientid" runat="server" CssClass="ui-state-hover" Text="Client Id"
                                                  Style="border: 0px; font-family: Cambria; font-size: larger"&gt;&lt;/asp:Label&gt;
                                          &lt;/ContentTemplate&gt;
                                      &lt;/asp:UpdatePanel&gt;
                                  &lt;/td&gt;
                                  &lt;td&gt;
                                      &amp;nbsp;
                                  &lt;/td&gt;
                                  &lt;td align="right"&gt;
                                      &lt;table&gt;
                                          &lt;tr&gt;
                                              &lt;td&gt;
                                                  &lt;asp:UpdatePanel ID="UpdatePanel3" runat="server"&gt;
                                                      &lt;ContentTemplate&gt;
                                                          &lt;ajaxtoolkit:ModalPopupExtender ID="DropDownExtender2" runat="server" TargetControlID="lblclient"
                                                              PopupControlID="Panel1" BackgroundCssClass="modalBackground" DropShadow="true"
                                                              CancelControlID="CancelSubmitCompanies" /&gt;
                                                          &lt;asp:ImageButton ID="lblclient" runat="server" ToolTip="Client List" Height="40px"
                                                              OnClientClick="check()" Width="40px" ImageUrl="~/Images/apartment-icon.png" Visible="false"
                                                              AccessKey="c" /&gt;
                                                      &lt;/ContentTemplate&gt;
                                                  &lt;/asp:UpdatePanel&gt;
                                              &lt;/td&gt;
                                              &lt;td&gt;
                                                  &lt;asp:Panel ID="DropPanel" Style="display: none" runat="server" Width="200px" BackColor="#f4f4f4"
                                                      BorderStyle="Solid"&gt;
                                                  &lt;/asp:Panel&gt;
                                                  &lt;asp:UpdatePanel ID="UpdatePanel1" runat="server"&gt;
                                                      &lt;ContentTemplate&gt;
                                                          &lt;ajaxtoolkit:DropDownExtender ID="DropDownExtender1" runat="server" TargetControlID="lblSelect"
                                                              DropDownControlID="DropPanel"&gt;
                                                          &lt;/ajaxtoolkit:DropDownExtender&gt;
                                                          &lt;asp:ImageButton ID="lblSelect" runat="server" ToolTip="Financial Year List" Height="35px"
                                                              Width="35px" ImageUrl="~/Images/Calendar-icon.png" OnClick="lblSelect_Click"
                                                              AccessKey="y" /&gt;
                                                      &lt;/ContentTemplate&gt;
                                                  &lt;/asp:UpdatePanel&gt;
                                              &lt;/td&gt;
                                          &lt;/tr&gt;
                                      &lt;/table&gt;
                                  &lt;/td&gt;
                              &lt;/tr&gt;
                          &lt;/table&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td colspan="3"&gt;
                          &lt;div&gt;
                              &lt;asp:ContentPlaceHolder ID="MainContent" runat="server"&gt;
                              &lt;/asp:ContentPlaceHolder&gt;
                          &lt;/div&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr style="height: 83%; vertical-align: top"&gt;
                      &lt;td colspan="3"&gt;
                          &lt;div class="ui-widget-header" id="nav-menu"&gt;
                              &lt;asp:Menu ID="MnuSiteMenus" runat="server" Orientation="Horizontal" DynamicHoverStyle-CssClass="dmenuHover"
                                  Font-Bold="false" AccessKey="n" Font-Names="Cambria" DynamicMenuStyle-CssClass="ui-state-hover"
                                  DynamicBottomSeparatorImageUrl="~/Images/LineSeparator.png" StaticItemFormatString="&amp;amp;nbsp &amp;amp;nbsp {0}"&gt;
                              &lt;/asp:Menu&gt;
                          &lt;/div&gt;
                          &lt;div style="text-align: center" class="ui-state-hover"&gt;
                              &lt;asp:Label ID="mainlabel" runat="server" Text="" Font-Size="X-Large" Font-Names="cambria"&gt;&lt;/asp:Label&gt;
                          &lt;/div&gt;
                          &lt;div style="border-left-width: 30px; border-left-style: solid; border-left-color: #FDF8FF;
                              border-right-width: 30px; border-right-style: solid; border-right-color: #FDF8FF"&gt;
                              &lt;asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"&gt;
                              &lt;/asp:ContentPlaceHolder&gt;
                          &lt;/div&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr class="ui-state-hover" style="vertical-align: top; background-color: #FFEFDB;
                      height: 4%"&gt;
                      &lt;td colspan="3" style="text-align: right"&gt;
                          &lt;div&gt;
                              &lt;p style="text-align: right; font-size: small; font-family: Cambria;"&gt;
                                  &lt;marquee behavior="alternate" scrollamount="2" width="100%"&gt;Copyright &amp;copy; 2012 Acme Infovision Systems Pvt. Ltd. All Rights Reserved.&lt;/marquee&gt;
                              &lt;/p&gt;
                          &lt;/div&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/table&gt;
          &lt;/div&gt;
          &lt;asp:Panel ID="Panel1" runat="server" BackColor="#f4f4f4" Style="display: none; overflow: hidden;"
              Visible="false" BorderStyle="Solid"&gt;
              &lt;asp:UpdatePanel ID="UpdatePanelrptClientList" runat="server"&gt;
                  &lt;ContentTemplate&gt;
                      &lt;div style="text-align: center; font-size: large"&gt;
                          &lt;asp:Label ID="grid_label" runat="server" Text="List of Clients" CssClass="all_inputs_labels"&gt;&lt;/asp:Label&gt;
                      &lt;/div&gt;
                      &lt;div style="height: 220px; overflow: scroll"&gt;
                          &lt;grid:MyGridView ID="grid_clients" ScrollWidthInpx="400" Width="600px" runat="server"
                              AllowSorting="true" AutoGenerateColumns="false" SelectedIndex="0" Font-Size="17px"
                              MouseHoverRowHighlightEnabled="true" CssClass="all_labels_inputs" ColumnNoToTrace="0"&gt;
                              &lt;Columns&gt;
                                  &lt;asp:BoundField DataField="ClientName" HeaderStyle-HorizontalAlign="Left" HeaderText="ClientName"&gt;
                                      &lt;HeaderStyle HorizontalAlign="Left" /&gt;
                                  &lt;/asp:BoundField&gt;
                                  &lt;asp:TemplateField HeaderText="Client Name"&gt;
                                      &lt;ItemTemplate&gt;
                                          &lt;asp:LinkButton ID="lb" Text='&lt;%# Eval("ClientName")%&gt;' runat="server" OnClick="lbtn1_Click" /&gt;
                                      &lt;/ItemTemplate&gt;
                                  &lt;/asp:TemplateField&gt;
                                  &lt;asp:BoundField DataField="Contact" HeaderStyle-HorizontalAlign="Left" HeaderText="Contact"&gt;
                                      &lt;HeaderStyle HorizontalAlign="Left" /&gt;
                                  &lt;/asp:BoundField&gt;
                                  &lt;asp:BoundField DataField="ClientId" HeaderStyle-HorizontalAlign="Left" HeaderText="ClientId"&gt;
                                      &lt;HeaderStyle HorizontalAlign="Left" /&gt;
                                  &lt;/asp:BoundField&gt;
                              &lt;/Columns&gt;
                              &lt;FooterStyle BackColor="#3B4990" Font-Bold="True" ForeColor="White" /&gt;
                              &lt;PagerStyle CssClass="ui-state-hover" ForeColor="White" HorizontalAlign="Center" /&gt;
                              &lt;HeaderStyle CssClass="all_labels_inputs ui-state-hover" Font-Bold="True" /&gt;
                          &lt;/grid:MyGridView&gt;
                      &lt;/div&gt;
                      &lt;div style="text-align: center"&gt;
                          &lt;asp:Button ID="CancelSubmitCompanies" runat="server" Text="Cancel" /&gt;
                      &lt;/div&gt;
                  &lt;/ContentTemplate&gt;
              &lt;/asp:UpdatePanel&gt;
          &lt;/asp:Panel&gt;
          &lt;/form&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>