Ticket T660373
Visible to All Users

XtraReport ExportToPdf

created 7 years ago

Hi,
I am creating XtraReport  on the fly it is working great. when i am using ExportToPdf function i have some reports that ExportToPdf it is now working and no answer return or error it is happening on the production.
how can i get the error it is not fall into exception or event viewer

Please help

Show previous comments (1)
Yaroslav (DevExpress Support) 7 years ago

    Hi,
    >>I understand the problem very big files  fail when exported to csv or pdf, what is the limit size
    We do not explicitly set any limits — everything pretty much depends on your PC capabilities. You mention that you're working with large files. How large are your reports (in the number of pages)? And am I right that by "fails" you actually mean that your application runs out of the available server memory and you face the "OutOfMemory" exception? If I'm correct in my assumption, I'd say that PdfStreamingExporter is exactly what you need as this tool was specifically designed with the idea of reduced memory consumption in comparison to the standard in-memory mode.
    Would you mind giving it a try and let us know of your results?

    Regards,
    Yaroslav

      Hi
      Thx for the answer. the problem is that i get no error it just does not proceed and i have no feed back
      for example dataset of 300,000 rows 10 rows each page is not  producing any pdf or csv or xls
      but on 20000 rows it is working
      How can i see the error?
      who catch it?

      Yaroslav (DevExpress Support) 7 years ago

        >>the problem is that i get no error it just does not proceed and i have no feed back
        Most likely, your web application crashes with the OutOfMemory exception, but it's swallowed so you don't see any response on the client's side. Or, it may appear that, for some reason, the report generation itself is extremely slow. Do you have any kind of exceptions logging module and/or performance logging module in production? I'm sure this would clarify the situation.
        By the way, did you have a chance to try that PdfStreamingExporter class I suggested above? Does it make any difference for you? If you happen to have a demo project where 300K rows are not exported (even if you try that using that PDF exporter), please share this project with us. We'll do our best to research it and provide you with an appropriate solution.

        Regards,
        Yaroslav

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.