cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Load Report Failed - Report Application Server Failed error at runtime

Former Member
0 Likes
699

Hello, I'm pretty new to Crystal Reports so please bear with me.

I just installed CR 2008 on my development box, which is running VS2005 .NET 2.0. I changed over all of my assembly references in my web.config to the new version:

<add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, 
PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.Enterprise.Viewing.ReportSource, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

Also the webpage that is displaying the ReportViewer object has this reference as well:

<%@ Register Assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

Now, in my code behind I am simply trying to open a pre-built crystal report that came in the sample pack

When I try and do this in our already built website I get an error:

"Load report failed"

With the inner exception saying:

"The Report Application Server failed"

This same piece of code works perfectly if I build a new website, however when I try and impliment this into our existing code base I get the error shown above. Also the samples I've used all use .NET 3.5 and the website is in 2.0. I'm not sure if that is a factor or not but that is also another piece of information that could be useful.

Any help on this matter would be greatly appreciated. Thank you for you're time.

Chris McMahan

Edited by: Arithal on Aug 4, 2009 8:36 PM

View Entire Topic
Former Member
0 Likes

Considering I believe it was ignoring my line breaks and posting everything together earlier when I had my cs file and stack trace on the same post, I will just post those seperately:

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;

public partial class Report_Viewer_Crystal_CrystalView : System.Web.UI.Page
{
    private ReportDocument reportDoc;
    private void Page_Init(object sender, EventArgs e)
    {
         if (!IsPostBack) ConfigureCrystalReports();
    }
    private void ConfigureCrystalReports()
    {
        reportDoc = new ReportDocument();
        reportDoc.Load(@"C:\CorrectFilePath\SampleReport.rpt");
        crystalReportViewer.ReportSource = reportDoc;
     }
}

Edited by: Arithal on Aug 4, 2009 8:42 PM