Visual Studio Development Bookmark and Share   
 index > Visual Studio Report Controls > LocalReport Render function freezes and fails to return
 

LocalReport Render function freezes and fails to return

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?



PeterKozlowski  Thursday, February 12, 2009 9:08 PM

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?

Brian Hartman - MSFT  Sunday, February 15, 2009 7:32 PM

You can use google to search for other answers

Custom Search

More Threads

• Why my report can't display data ? Please help me !
• Report pagination and headers/footers (fields aren't showing up)
• RDLC file template to give Visual Formatting to a Table
• ReportViewer.refreshreport method missing!
• How to generate report from dynamically generated dataset?
• LocalReport TimeOut DataSet
• why won't my list page break - ever???
• Interactive Sort Causes Dropdown List to Disappear
• ReportViewer: AJAX and Export Formats
• 3 Bugs