title: Crystal Reports "Load Report Failed" error running report on the server
body: <p>I am getting error "load report failed" on server, it runs without error on localhost. I am using VS 2008 with .Net 3.5.</p>
  
  <p>This is my code:</p>
  
  <pre><code>ReportDocument reportDocument = new ReportDocument();
      String filePath = @"C:\abcSpaces\abc.com\xyz.com\wwwroot\Order Fulfilment.rpt";//full path
  // I have tried OrderFullfilment.rpt and ~/OrderFullfilment.rpt and /OrderFullfilment.rpt
      try
      {
          reportDocument.Load(filePath);
          CrystalReportViewer1.ReportSource = reportDocument;
      }
      catch(Exception ex){
          Label1.Text = ex.Message;
  }
  </code></pre>
  
  <p>Aspx Page part:</p>
  
  <pre><code>&lt;CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" Height="1291px"
          ReuseParameterValuesOnRefresh="True" Width="1125px" /&gt;
  </code></pre>
  
  <p>^I have tried using </p>
  
  <pre><code>&lt;CR:CrystalReportSource ID="CrystalReportSource1" runat="server"&gt;
          &lt;Report FileName="expenseRep_summary.rpt"&gt;
          &lt;/Report&gt;
  &lt;/CR:CrystalReportSource&gt;
  </code></pre>
  
  <p>with no luck off course...</p>
  
  <p>my web.config section for referencing assemblies:</p>
  
  <pre><code>&lt;compilation debug="true"&gt;
          &lt;assemblies&gt;
              &lt;add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/&gt;
              &lt;add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;
              &lt;add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/&gt;
              &lt;add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/&gt;
              &lt;add assembly="MySql.Data, Version=6.2.4.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/&gt;
              &lt;add assembly="MySql.Data.Entity, Version=6.2.4.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/&gt;
              &lt;add assembly="MySql.Web, Version=6.2.4.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/&gt;
              &lt;add assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/&gt;
              &lt;add assembly="CrystalDecisions.Shared, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/&gt;
              &lt;add assembly="CrystalDecisions.ReportSource, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/&gt;
              &lt;add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/&gt;&lt;add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/&gt;&lt;add assembly="CrystalDecisions.Enterprise.Framework, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/&gt;&lt;add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/&gt;
              &lt;add assembly="CrystalDecisions.Data.AdoDotNetInterop, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/&gt;
              &lt;add assembly="CrystalDecisions.VSDesigner, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/&gt;&lt;/assemblies&gt;
  &lt;/compilation&gt;
  </code></pre>
  
  <p>I have tried all of these solutions posted in stackoverflow:</p>
  
  <p><a href="https://stackoverflow.com/questions/1184309/crystalreport-load-report-failed">CrystalReport Load report failed</a> (no I can't change registry or re-install crystal reports, my site is hosted on external server)</p>
  
  <p><a href="https://stackoverflow.com/questions/5138956/load-report-failed">load report failed</a> (where the hell is objReport??)</p>
  
  <p><a href="https://stackoverflow.com/questions/2916343/i-got-the-problem-in-crystal-report-error-messsageload-report-failed">I got the problem in Crystal Report- Error Messsage:Load report failed</a> (I have no object reffering to Report class :S)</p>
  
  <p><a href="https://stackoverflow.com/questions/3321469/load-report-failed-when-implementing-crystal-report-in-asp-net-3-5">Load report failed when implementing crystal report in asp.net 3.5</a> (I tried this '~' technique + Absolute path and none works)</p>
  
  <p><a href="https://stackoverflow.com/questions/898618/load-report-failed-in-windows-server-2003">Load report failed in Windows server 2003</a> (I have set read write execute permissions to every file)</p>
  
  <p><a href="https://stackoverflow.com/questions/3337185/crystal-report-giving-load-failed-error">https://stackoverflow.com/questions/3337185/crystal-report-giving-load-failed-error</a> (this guy like me, hasn't found the solution yet :P )</p>
  
  <p>So please please please help me! Or my client will eat me alive...</p>