title: Unable to generate a report with SAP Crystal report
body: <p>I am facing one issue with Crystal reports that I am using to generate a report for my orders in WPF application.</p>
  
  <p>My work station configuration is Windows 7 (Ultimate) 64-bit, Visual Studio 2010.</p>
  
  <p>I have not installed any of the Crystal Report engines but I have copied all the necessary dll's to my project (Created a folder and then referenced in my project).</p>
  
  <p>But when I click the button (button which generates a report), I am getting an exception in the report constructor (different exceptions are coming for different run's).</p>
  
  <p>The main exception says </p>
  
  <blockquote>
    <p>"The type initializer for
    'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an
    exception."</p>
  </blockquote>
  
  <p>When I dig into inner exceptions, I got to know this.</p>
  
  <blockquote>
    <p>"Could not load file or assembly
    'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0,
    Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its
    dependencies. The system cannot find the file
    specified.":"CrystalDecisions.ReportAppServer.CommLayer,
    Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"</p>
  </blockquote>
  
  <p>Here is the screen shot of my error,</p>
  
  <p>I have googled it and got to know that I need to install CR for Vstudio 2010, but if I install my development machine, how can I make an installer to deploy in client machine and I don't want to install the CR in all machines (Where I going to deploy to many of my customer's).</p>
  
  <p>I really need an help in solving this, what can I do for this to resolve my issue?</p>
  
  <p>Any help highly appreciated. </p>