title: MIME-Type for Excel XML (ASP.NET 3.5)
body: <p>I use CarlosAG-Dll which creates a XML-Excel-file for me (inside a MemoryStream).</p>
  
  <pre><code>Response.ContentType = "application/vnd.ms-excel";
  Response.AppendHeader("content-disposition", "myfile.xml");
  memory.WriteTo(Response.OutputStream);
  </code></pre>
  
  <p>My Problem here is, that I get at client side a myfile.xls (IE) or a myfile.xml.xls (FF) and therefore get an annoying security warning from excel.</p>
  
  <p>I tried it as well with application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (xlsx) but then it won't even open.</p>
  
  <p>So I need to either cut the .xml and send it as vnd.ms-excel (how?) or take another MIME-type (but which one?).
  <hr>
  edit: I found a bug description <a href="http://blogs.msdn.com/b/vsofficedeveloper/archive/2008/03/11/excel-2007-extension-warning.aspx" rel="noreferrer">here</a></p>
  
  <p>I wonder if this is still open and why?</p>