Dynamically adding multiple sub reports to a rdlc throw an out of range exception RRS feed

  • Question

  • Guys, any help would be appreciated.


    I am dynamically adding many sub reports by calling LoadReportDefinition and LoadSubreportDefinition  however after adding 538 sub reports I get the below exception. I seem to have something to do with the physical length of the pdf (Multiple Page). After 455in I get the exception. Is the a way to remove or increase the max range. Looks like by default it 455 inches


    Microsoft.Reporting.DefinitionInvalidException: The definition of the report '' is invalid. ---> Microsoft.ReportingServices.ReportProcessing.ReportPublishingException: The value of the Top property for the subreport ?ChildSubReport539? is ?455.107559999996in?, which is out of range. It must be between 0in and 455in.





    Friday, January 20, 2012 3:00 PM