title: Load report failed in Crystal Report
body: <p>I am trying to export crystal report into pdf in Windows Form application.My Crystal Report is getting data from the Mysql Database.Here is my code for the same..</p>
  
  <pre><code>        ReportDocument doc = new ReportDocument();
          doc.Load("CrystalReport1.rpt");
          doc.SetDataSource(dttable);
  
          SaveFileDialog saveas = new SaveFileDialog();
          saveas.Filter = "*.pdf|(PDF File)";
          if (saveas.ShowDialog() == DialogResult.OK)
          {
  
              doc.ExportToDisk(ExportFormatType.PortableDocFormat, saveas.FileName + ".pdf");
              MessageBox.Show("Report Exported !");
  
          }
  </code></pre>
  
  <p>On running the above code. I am getting error </p>
  
  <blockquote>
    <p>'Load report failed' at line <code>doc.Load("CrystalReport1.rpt");</code></p>
  </blockquote>
  
  <p>Please help me resolve this.</p>