Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Problem with huge RDLC report

Problem with huge RDLC report

Scheduled Pinned Locked Moved .NET (Core and Framework)
graphicsperformancehelptutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Simon Minich
    wrote on last edited by
    #1

    I have a report that needs printing, it's over 6000 pages (A4) from a dataset built in memory. I'm using the "normal" reportviewer control, and the generation of the report to the viewer seems fine, however when the report is sent to the printer it crashes after about 2000 pages, sometimes throwing an exception in GDI, sometimes (I'm not sure why) silently (ie stops sending pages to the printer). Having watched the memory usage on the machine that this is running on I discovered that it's not running out of memory (as I first assumed). Does anyone have A. Any idea what is going on and how to get around it, or B. A reporting tool that's better suited to printing (not saving to file) very large reports. Thanks Simon

    RaviBeeR 1 Reply Last reply
    0
    • S Simon Minich

      I have a report that needs printing, it's over 6000 pages (A4) from a dataset built in memory. I'm using the "normal" reportviewer control, and the generation of the report to the viewer seems fine, however when the report is sent to the printer it crashes after about 2000 pages, sometimes throwing an exception in GDI, sometimes (I'm not sure why) silently (ie stops sending pages to the printer). Having watched the memory usage on the machine that this is running on I discovered that it's not running out of memory (as I first assumed). Does anyone have A. Any idea what is going on and how to get around it, or B. A reporting tool that's better suited to printing (not saving to file) very large reports. Thanks Simon

      RaviBeeR Offline
      RaviBeeR Offline
      RaviBee
      wrote on last edited by
      #2

      Simon Minich wrote:

      sometimes throwing an exception in GDI,

      It seems the printer driver is having problems handling the volume of data. Sorry if I'm stating the obvious, but it seems there's little you can do to work around this other than printing the report in chunks. /ravi

      My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

      S 1 Reply Last reply
      0
      • RaviBeeR RaviBee

        Simon Minich wrote:

        sometimes throwing an exception in GDI,

        It seems the printer driver is having problems handling the volume of data. Sorry if I'm stating the obvious, but it seems there's little you can do to work around this other than printing the report in chunks. /ravi

        My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

        S Offline
        S Offline
        Simon Minich
        wrote on last edited by
        #3

        I've kind of come to that conclusion and implemented a solution to do that, thanks for the reply. Simon Minich

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups