Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem creating rpt on server and sending them to client via WCF

Hi all,


I have a server which creates a crystal report (with subreport) and sets data into it.

I used 'ExportToStream(ExportFormatType.CrystalReport)' method and got a byte[] which I transfer to client via wcf.

on the client side I save the received byte[] on 1.rpt format, and load it to a ReportDocument object using 'Load()' method.

then I set it as dataSource of crystalViewer.

My bug:

I get the result with missing data.

sometimes crystal generates its own 'dummy' data (Red 1000, green 1500 etc...) and sometimes nothing is shown.

how come it happened? the byte[] size on server side (which created) and on client side (after received) is the same size.

Thank you for your help.



Former Member
Not what you were looking for? View more on this topic or Ask a question