LocalReport Render function freezes and fails to return RRS feed

  • Question

  • I am using a WinForm ReportViewer LocalReport object to print out a report from a RDLC file.

    I am using the  Render(format, deviceInfo, CreateStream, out warnings) call to create the report
    and create MemoryStream objects for printing. 

    From time to time this routine just freezes on me and halts the entire application.  I have been unable to find a pattern
    in this.  Sometimes it will freeze two times in a row while other times it will print dozens of times before stopping.  It looks like
    the Render function just goes into a loop and never returns.  There are no errors or exceptions thrown.

    Has anyone encountered this problem and is there a solution?

    Thursday, February 12, 2009 9:08 PM

All replies

  • Can you get a stack trace from the debugger when it is frozen?  That method uses the CreateStream callback into your code.  Can you post your implementation of that callback?  If you implement the callback as simply returning a memory stream, do you still see the issue?

    Sunday, February 15, 2009 7:32 PM