title: Response.ContentType application/vnd.ms-excel xls stopped working
body: <p>I've done some pretty deep searching on this issue with no luck.  It seems that in the past couple of days the output to XLS from HTML has stopped working on many legacy (read: Classic ASP) systems I support.  I've been able reproduce this on multiple servers, multiple independent source code from Office 2010 through Office 2016.  I've looked at everything I can think of without success so I'm curious to know if there is something I might be overlooking.  I'm starting to think this may be a bad Office update that is the culprit.</p>
  
  <p>Sample of what works and has been working for many years:</p>
  
  <pre><code>&lt;%
  
  Response.ContentType = "application/vnd.ms-excel"
  Response.AddHeader "Content-Disposition", "attachment;filename=TestExcel.xls"
  
  %&gt;
  
  &lt;html&gt;
      &lt;body&gt;
          &lt;table&gt;
              &lt;thead&gt;
                  &lt;tr&gt;
                      &lt;th&gt;column 1 header&lt;/th&gt;
                      &lt;th&gt;column 2 header&lt;/th&gt;
                  &lt;/tr&gt;
              &lt;/thead&gt;
  
              &lt;tbody&gt;
                  &lt;tr&gt;
                      &lt;td&gt;column 1 value&lt;/td&gt;
                      &lt;td&gt;column 2 value&lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/tbody&gt;
  
              &lt;tfoot&gt;
                  &lt;tr&gt;
                      &lt;td&gt;Footer 1&lt;/td&gt;
                      &lt;td&gt;Footer 2&lt;/td&gt;
  
                  &lt;/tr&gt;
  
              &lt;/tfoot&gt;
          &lt;/table&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>What is curious is that the XLS file is in fact created but when it is opened Excel opens but not file is present.</p>
  
  <p>Even more curious is that when you open the XLS file with some text editor (notepad for example) and just File->Save As it opens without issue.</p>