Index must be within the bounds of the list. Parameter name: index.

3 posts, 0 answers
  1. Ciaran Ronayne
    Ciaran Ronayne avatar
    2 posts
    Member since:
    Mar 2019

    Posted 14 Feb Link to this post

    Ticket :1453373

    Report shows all records in Visual Studio when I Preview it in the preview page but when running the winform application from the IDE (and as a stand alone app) the viewer stops when record count ~> 220 records showing the above error. When I capture the error event and display said error in a messagebox the first page is displayed. On it I can see that pages are calculated (as my first page displays page 1 of 75) so I can conclude that the records are definitely getting retrieved, just not displayed. I say that the record count is ~> 220 because when I narrow the parameters to display < 220 records the report is generated fine: adding 10 more records to the report causes the error.
    As I said, the report previews perfectly.

    I call the report using

    Dim TR As MaserNET.ReportViewerForm1 = New MaserNET.ReportViewerForm1
    TR.ReportName = "Maserrep.DDRegister, Maserrep, Version=, Culture=neutral, PublicKeyToken=null"


    and the viewer shows the report using


    Dim typeReportSource = New Telerik.Reporting.TypeReportSource()
    Dim connectionStringHandler = New ReportConnectionStringManager(GlobalConnection.ConnectionString)
    typeReportSource.TypeName = ReportName
    Dim reportSource = connectionStringHandler.UpdateReportSource(typeReportSource) Me.ReportViewer1.ReportSource = reportSource Me.ReportViewer1.RefreshReport()

    What am I missing????

  2. Ciaran Ronayne
    Ciaran Ronayne avatar
    2 posts
    Member since:
    Mar 2019

    Posted 16 Feb Link to this post

  3. Katia
    Katia avatar
    714 posts

    Posted 19 Feb Link to this post


    Based on our discussion in the support ticket, the issue seems to be connected to the fact that the report viewer and the Reporting engine are used from a dll which is not a known issue. We would need to investigate a sample that reproduces the problem in order to suggest what might be the cause.


    Progress Telerik

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top