title: Can not display .mht file in IE with IIS 7 when wrong MIME type is sent
body: <p>We have a page in an ASP.NET site with a link to a .MHT file so when the user clicks on the link he should be able to view the MHT file in the browser.</p>
  
  <p>Problem is that it displays blank and the header that IIS sends with it is like this:</p>
  
  <pre><code>HTTP/1.1 200 OK
  Cache-Control: private
  Transfer-Encoding: chunked
  Content-Type: application/octet-stream
  Server: Microsoft-IIS/7.5
  X-AspNet-Version: 2.0.50727
  X-Powered-By: ASP.NET
  Date: Wed, 18 Jan 2012 18:45:19 GMT
  </code></pre>
  
  <p>We have on IIS the MIME-type already configured correctly as per default like this:</p>
  
  <pre><code>.mht    message/rfc822
  </code></pre>
  
  <p>We noticed that if we open the file by the file system in our machine, IE displays it correctly, so the problem is with the header that IIS sends with the file (we assume).</p>
  
  <p>Any idea why IIS is sending this header that prevents us of displaying the MHT file correctly? Any solution?</p>
  
  <p>Thanks a lot!</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>We think of several workarounds now: see answer by me.</p>
  
  <p>*Thanks everyone!</p>