AjaxFileUpload -- UploadComplete event not firing on test server
<p>I can upload files in my development environment -- VS2013 VB.Net -- but when I move it to either test or production server the <code>UploadComplete</code> event doesn't fire. I updated the <code>&lt;handlers&gt;</code> and <code>&lt;httpHandlers&gt;</code> sections in both Web.config files. I can tell the method isn't invoked because I have it write to a log file when it does. I have assigned read/write permissions to my destination upload directory. I am using AjaxControlToolkit v16.1.0.0 My Test server is Windows Server 2012 R2, Production server: Windows Server 2008 R2</p>

<p>Any ideas what to try next? </p>

<p><strong>EDIT:</strong> Sorry, it was not my intention to project an air of mystery. I didn't append code because the code works here on my PC in the Dev Env, so I figured it wasn't the issue -- more likely an IIS or Server thing... But the ASPX file has this: </p>

<pre><code>&lt;%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxToolkit" %&gt;

&lt;ajaxToolkit:AjaxFileUpload ID="AjaxFileUpload1" runat="server"
    AllowedFileTypes="xlsx,xls" OnClientUploadComplete="uploadComplete"
    MaximumNumberOfFiles="1" IsInFileUploadPostBack="false"
    ClearFileListAfterUpload="true" /&gt; 
</code></pre>

<p>The server-side event handler, not being invoked, is declared as:</p>

<pre><code>Private Sub AjaxFileUpload1_UploadComplete(sender As Object, e As AjaxFileUploadEventArgs) Handles AjaxFileUpload1.UploadComplete
</code></pre>

<p>And the Web.config contains handlers:</p>

<pre><code>&lt;handlers&gt;
  &lt;remove name="ChartImageHandler"/&gt;
  &lt;add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/&gt;
  &lt;add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/&gt;
  &lt;add name="AjaxFileUploadHandler" verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit"/&gt;
&lt;/handlers&gt;
</code></pre>

<p>and</p>

<pre><code>&lt;httpHandlers&gt;
  &lt;add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/&gt;
  &lt;add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" validate="false"/&gt;
  &lt;add verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit"/&gt;
&lt;/httpHandlers&gt;
</code></pre>