title: Crystal report: Access to the report file is denied. The file may be used by another program
body: <p>I am creating a crystal report. It works fine on the localhost but when I uploaded it to the server, I got this problem:</p>
  
  <pre><code>Access to the report file is denied. The file may be used by another program.]
     CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open (Object &amp; paper path, Int32 Options) +0
     CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open (Object &amp; paper path, Int32 Options) 159
     CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened () 492
  
  [Crystal Report Exception: Loading the report failed.]
     CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened () 678
     CrystalDecisions.CrystalReports.Engine.ReportDocument.Load (String filename, open report method Open method, Int16 parentJob) 1750
     CrystalDecisions.CrystalReports.Engine.ReportDocument.Load (String filename) 219
     WebPortal.volumeReporting.Page_Load (Object sender, EventArgs e) 95
     System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) +25
     System.Web.Util.CalliEventHandlerDelegateProxy.Callback (Object sender, EventArgs e) 42
     System.Web.UI.Control.OnLoad (EventArgs e) 132
     System.Web.UI.Control.LoadRecursive () 66
     System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 2428
  </code></pre>
  
  <hr>
  
  <pre><code>ReportDocument reportdoc = new ReportDocument();
  
  reportdoc.Load(Server.MapPath("report/wasteReport.rpt"));
  </code></pre>
  
  <p>I already gave the permission "write" for the folder "report".</p>
  
  <hr>
  
  <p>I have installed <a href="http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0_1.zip" rel="nofollow noreferrer">http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0_1.zip</a> on the server</p>