title: Crystal Reports Export Access Denied
body: <p>I am maintaining some code that uses CR to create a report and write it to disk.</p>
  
  <pre><code>var report = new ReportDocument();
  ....
  report.Export();
  </code></pre>
  
  <p>On our live server this is resulting in the following error:</p>
  
  <pre><code>Error in File E:\TEMP\temp_cb1a18c2-b4e6-46b8-901b-a7a028a43b79.rpt: Access to report file denied. Another program may be using it. 
  </code></pre>
  
  <p>The app is running as Network Service and has full control of the e:\temp diretory so it seems strange to be getting an access denied message.</p>
  
  <p>Anyone encountered this before?</p>