title: Win2k8 Server 64bit | Crystal Repor 2005 - Exception: Load report failed
body: <p>We are migrating to <strong>Windows Server 2008 R2 x64</strong> from <strong>Windows Server 2003 x86</strong></p>
  
  <p>We usually have a fully documented setups and procedures on migrations which <strong>proven &amp; working on windows Server 2003 x86</strong> since we already done more 5x in less than 3 years in a roll.</p>
  
  <p>But now on <strong>Win2k8 Server R2 x64</strong>, we still followed the above, the only additional/new procedure is to install:</p>
  
  <ul>
  <li>vcredist_x86 (since the usual VS2005_CR installer is failing, need to installed this first, then the usual VS2005_CR installer).</li>
  </ul>
  
  <p>We also tried to installed (hoping below problem will be fixed):</p>
  
  <ul>
  <li>CRRedist2005_X64</li>
  </ul>
  
  <p>Crystal Report, Create a pdf files on a certain directory and we have a form that streams the pdf. (take note access right to this directory (whole application path "\kiss") is set FULL to EVERYONE)</p>
  
  <p><strong>but still no avail, We still  have below issue:</strong></p>
  
  <p><strong>Attempted to read or write protected memory. This is often an indication that other memory is corrupt.</strong> </p>
  
  <p><strong>Description:</strong> An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. </p>
  
  <p><strong>Exception Details:</strong> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.</p>
  
  <p><strong>Stack Trace:</strong> </p>
  
  <pre><code>[AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.]
     CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object&amp; DocumentPath, Int32 Options) +0
     CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object&amp; DocumentPath, Int32 Options) +65
     CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +195
  
  [Exception: Load report failed.]
     CompanyMatrix.Page_Load(Object sender, EventArgs e) in c:\www\kiss\Matrixes\CompanyMatrix.aspx.cs:134
     System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
     System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
     System.Web.UI.Control.OnLoad(EventArgs e) +99
     OSM.kiss.Web.BaseWebUI.OnLoad(EventArgs e) +40
     System.Web.UI.Control.LoadRecursive() +50
     System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
  </code></pre>
  
  <p><strong>Additional Info:</strong>
  We can exclude the possibility of Folder Access Rights, since the App can generate xls, docs and .txt on the folder it self.</p>