cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

I created my second Crystal Reports application and I am having issues getting it to work on a clients PC. Based on what I learned from my first application, I know that I needed to install the runtime on the clients PC, which I did. When I run the app, nothing happens. No exception is thrown or anything. I see the mouse wait cursor come up (the spinning windows cursor) for about 5 seconds and then nothing happens. The odd thing is that I am able to run the code from my PC just fine when I use the msi setup file I created. I have no idea where to look to figure this out... Any help would be appreciated.

Thanks,

Chris Kretman

0 Likes
View Entire Topic
Former Member
0 Likes

Hi,

I rebuilt my app yesterday and copied the code over. I am targeting the 64 bit cpu, using a 64 bit installer and using the 64 bit runtime. I believe this other issue has been solved. In my new app I am now seeing this error when trying to print. Also seeing the error in the picture when showing the viewer.

There was an error Processing PickSlipPrint. Error: CrystalDecisions.CrystalReports.Engine.DataSourceException: Error in File OM_Picking_Slip - Copy 17844_21380_{4EC228C2-7902-4EE2-AD41-6C510DED6447}.rpt:

Failed to load database information. ---> System.Runtime.InteropServices.COMException: Error in File OM_Picking_Slip - Copy 17844_21380_{4EC228C2-7902-4EE2-AD41-6C510DED6447}.rpt:

Failed to load database information.
at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.GetLastPageNumber(RequestContext pRequestContext)
at CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext)
--- End of inner exception stack trace ---
at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
at CrystalDecisions.ReportSource.EromReportSourceBase.HandleException(Exception exception)
at CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)

at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)

at PickSlipPrint.Form1.Form1_Load(Object sender, EventArgs e) in C:\Users\chris.kretman\source\repos\PickSlipPrint\PickSlipPrint\Form1.vb:line 134

Also seeing the error in the picture when showing the viewer