title: Crystal Reports Class Not Registered ReportDocument
body: <p>I have a very similar problem as in this post: <a href="https://stackoverflow.com/questions/6825183/crystal-reports-class-not-registered-wpf">Crystal Reports &quot;Class not registered&quot; WPF</a></p>
  
  <p>I am installing Crystal Reports version 13.0 on a Windows 2008 R2 64bit server and I am getting this error when I try to create a ReportDocument like so when running it on the server:</p>
  
  <pre><code>Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
  </code></pre>
  
  <p>Error Message</p>
  
  <pre><code>Retrieving the COM class factory for component with CLSID 
  {F734A321-8381-4FFD-A614-139E8906DC83} failed due to the following error: 
  80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
  </code></pre>
  
  <p>What I tried that hasn't worked for me:</p>
  
  <ul>
  <li>Made sure my project is x86 </li>
  <li>Installed the Crystal Reports runtime engine for 32 and 64 bit (CRRuntime_32bit_13_0_6.msi and CRRuntime_64bit_13_0_6.msi) on the server
  <a href="http://www.sap.com/campaign/ne/free_trial/crystal_reports_visual_studio/wty_int_crvs.epx?Level=1&amp;FormResultID=ef699e2c-" rel="nofollow noreferrer">http://www.sap.com/campaign/ne/free_trial/crystal_reports_visual_studio/wty_int_crvs.epx?Level=1&amp;FormResultID=ef699e2c-</a></li>
  <li>Checked the registry entry on the server for {F734A321-8381-4FFD-A614-139E8906DC83} and it points to C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\clientdoc.dll </li>
  </ul>
  
  <p>It runs from my Windows 7 32bit machine without a problem.</p>
  
  <p>Any other things I can try?</p>