R – Why does Crystal Reports for VS 2008 throw “Load report Failed. COMException: The Report Application Server failed” when sending report to printer

64-bitcrystal-reportsvisual-studio-2008windows-server-2003windows-services

I have a .NET Windows service that has a crystal report viewer on it. when it polls the db and finds live orders, it will send a report to a printer on the network. this is Windows2003 server 64bit. I have installed the msi on the 64bit server found in my Visual Studio install:

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5\CRRedist2008_x64.msi.

I get this error too much, sometimes 3-4 times per day. I do have to admit it was a project originally coded in VB6 and cr8.5. I finally upgraded to vs2003 and eventually 64bit .net 2.0 and it's failing all over the place. With each upgrade it gets worse.

  1. Should I create a new windows service rather than using the project that went through the upgrade wizard to vs2008??

  2. Do you think there is conflict with the msi from the 32bit version of crystal running on the same server for my 1.1 web applications? yes, iis6 is running in 32 bit mode temporarily… it is an old report, but I did upgrade it to 10.5. help!

Here's the stack dump:

Default Exception:CrystalDecisions.Shared.CrystalReportsException: Load report failed. —> System.Runtime.InteropServices.COMException (0x80004005): The Report Application Server failed
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
— End of inner exception stack trace —
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)
at PickTicketServer.PickTicketServer.PrintPickTicket(Int64 INlngOrderID, Boolean INblnPickOrPack, Int64 INlngCompanyID)

Best Answer

Does the user that you are running under have access privileges to the printer? That could cause this error.

Related Topic