Issue
Server error is displayed when attempting to use the Mass Change Attendance Codes function.
Error message: Index and length must refer to a location within the string.
Parameter name: length
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
Environment
- Scheduling Type: schools using traditional scheduling
- Secondary
- Elementary w/MST
Cause
There is an invalid value in MST.DY for at least one Section in the Master Schedule
Resolution
Correct the MST.DY value to a valid value - it should either be listed in the dropdown or correspond with selections in MST.MM through MST.MS with the first letter of the day representing the class meets that day, or a hyphen (-) indicating the class does not meet that day.
- To find Sections that may be affected, run this query: LIST MST SC SE DY BY DY ^ and locate any Sections that do not have each day and and dashes for non-meeting days defined.
- Example: Split Term shows TWTF with NO dash for Monday