title: Access Denied Opening DocX File
body: <p>I have a class, and in the same folder I have a .docx file.</p>
  
  <p>The below code is producing a yellow screen of death, claiming access is denied on the document (but in the System32 folder). I have added ASPNET and Network Service as users with modify permissions on the document, in the project's folder (NOT system32).</p>
  
  <pre><code>using (WordprocessingDocument myDoc = WordprocessingDocument.Open("FileName.docx", true)) {}
  </code></pre>
  
  <p>I'm sure this is something simple and common, but I'm not turning up anything on Google.</p>
  
  <p>Running IIs 7 and .Net 4.</p>
  
  <p>Cheers</p>