Error "System.ArgumentOutOfRangeException: Index was out of range" when migrating a dashboard from Console

Version 4



    Service Desk


    Review Date:





    Within the Dashboard Designer component of Console you can take an existing dashboard for use in Console and make it available in Web Access too.  When doing so you could see the following error:


    System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.

    Parameter name: index






    This error will occur if you have a panel on your dashboard that is not associated with a query.  For all panels except Browser and Contact List types you must drag on a query for any content to be shown.  If you had a query selected on a panel and that query has since been deleted this will also cause the issue.


    If you hit this issue please log this with your support provider with problem reference 5976.




    no query.jpg


    On your dashboard check for any panel that reads Drag query here or in the case of gauge and chart panels right-click within the panel and select Panel Properties.  On the properties dialog there is a Query details section which gives the name of the query used - ensure this is not blank.