cancel
Showing results for 
Search instead for 
Did you mean: 

Load report failed error

Former Member
0 Kudos

I developed a vb console app that loads a report and export to pdf and emails it. It works fantastic on my development system.

Assemblies on my machine are Engine, ReportSource, & Shared all 13.0.2000.0 for x86.

I compiled with target cpu of x86.

On the clients server 2008 machine I installed the code into the programs (x86). I also installed the vs2010 redistributable 32 on their 64 bit server. The SAP Crystal Reports runtime engine for .net Framework 4 (32-bit) has a version of 13.0.0.99.

I get this error every time I try to execute the following vb code: reportDocument.Load(Me.crystalReportSource) where _reportDocument is declared as Private _reportDocument As New ReportDocument and _crystalReportSource is a string.

Load report failed.

at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()

at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)

at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)

I've added Network Service to c:\temp and c:\windows\Temp.

I've tried loading the 64bit runtime and recompiled as 64, (however, the compiler still uses the 32 bit assemblies in the compile).

The client got really desperate and purchased Crystal 11 and installed on the server as well. I noticed those libraries are at 10.x

They are functionally shutdown due to their server being switched to 64bit and Crystal not running due to this problem, (all this worked great on the old 32bit workstation they used as a "server").

Please Help

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Never Mind. After long ado, I found that it was simply.... you guessed it, a permissions issue deep in a share the client setup. After I moved the report to a local directory that I controlled, the report loaded just fine with my installation steps. It may be the unc path vs mapped drive, haven't tested yet. I'll post to keep the thread updated in-case anyone else is in the same boat.

Edited by: GregKowieski on May 12, 2011 7:49 PM

Edited by: GregKowieski on May 12, 2011 7:50 PM

former_member188030
Active Contributor
0 Kudos

Hello,

All the troubleshooting steps for 'Load report failed' are [here|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d02f7cd3-f18b-2d10-55ad-dab2200f68fc].

Also take a look at this search [http://www.sdn.sap.com/irj/scn/advancedsearch?query=loadreportfailed|http://www.sdn.sap.com/irj/scn/advancedsearch?query=loadreportfailed]

Thanks,

Bhushan.

Answers (0)