Skip to main content

Error: 'Index was outside the bounds of the array'

Steps you can take to resolve the index out of range error that occurs when opening the plan or amending the default shift pattern assignment in Orchestrate.

Written by Arthur Ashdown

You may see the following error message when trying to open the plan or apply changes to the default shift pattern assignment:

An unexpected error occurred. Please report this problem to your system administrator with the following information:
​
System.IndexOutOfRangeException: Index was outside the bounds of the array.


Resolution

Follow the relevant resolution below depending on where the error occurs.

Error occurs when amending the default shift pattern assignment or daily adjustment

Upgrade to Orchestrate version 7.77 hotfix 50 or above to resolve this error.

Error occurs when opening the plan

If the plan does not open due to this error, the database copy has become corrupted. The resolution depends on your version of Orchestrate:

  • If you are on Orchestrate version 7.71 or above, use the Copy Live to Play wizard to restore the database.

  • If you are on a version below 7.71, follow the relevant article to manually copy the live database and restore it with a new name (for example, a play database).

Did this answer your question?