title: Using EPPlus with a MemoryStream
body: <p>I am using EPPlus to generate an XLSX file in C#. As soon as I instantiate the ExcelPackage with a memory stream - I get the error:</p>
  
  <blockquote>
    <p>"A disk error occurred during a write operation. (Exception from HRESULT: 0x8003001D (STG_E_WRITEFAULT))"</p>
  </blockquote>
  
  <p>Code is:</p>
  
  <pre><code>MemoryStream stream = new MemoryStream();
  
  using (ExcelPackage package = new ExcelPackage(stream))
  {
      ...
  }
  </code></pre>
  
  <p>Has anyone else seen this?</p>