Report Error occurs when running the Monthly Attendance Summary/Continuation Report
Environment
Secondary, Period, Positive
Cause
Calendar Months extend into the next school year
Resolution
Delete the unused Months
Error Message
Error Message: The report specified could not be created!
Report: PrintMonthlyAttendanceSummaryContinuation
Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at AeriesLib.ATT_Functions.InitializeDefaultValues(Int32 SC, Hashtable& DayToDate, Double[]& week_max, Int32[]& week_day, String[]& strHol, Hashtable& week_date, Double DayMax, String ConnectionString) in C:\azagent\_work\1\s\Src\AeriesLib\Tables\Attendance Tables\ATT_Table.vb:line 10926
at AeriesLib.ATT_Functions.ComputeHRS_Continuation(String USR, String SC, Int32 intVocEd, Int32 passMonth, String ConnectionString) in C:\azagent\_work\1\s\Src\AeriesLib\Tables\Attendance Tables\ATT_Table.vb:line 5748
at AeriesReporting.PrintMonthlyAttendanceSummaryContinuation..ctor(ReportOptions o) in C:\azagent\_work\1\s\Src\AeriesReporting\Reports\ATT\PrintMonthlyAttendanceSummaryContinuation.vb:line 108
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at AeriesReporting.Reporting.GetReportByClassName(String passReportClass, Object[] Arguments) in C:\azagent\_work\1\s\Src\AeriesReporting\ReportProcessing\Reporting.vb:line 104
Error Dump:
The report specified could not be created!
Report: PrintMonthlyAttendanceSummaryContinuation
Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at AeriesLib.ATT_Functions.InitializeDefaultValues(Int32 SC, Hashtable& DayToDate, Double[]& week_max, Int32[]& week_day, String[]& strHol, Hashtable& week_date, Double DayMax, String ConnectionString) in C:\azagent\_work\1\s\Src\AeriesLib\Tables\Attendance Tables\ATT_Table.vb:line 10926
at AeriesLib.ATT_Functions.ComputeHRS_Continuation(String USR, String SC, Int32 intVocEd, Int32 passMonth, String ConnectionString) in C:\azagent\_work\1\s\Src\AeriesLib\Tables\Attendance Tables\ATT_Table.vb:line 5748
at AeriesReporting.PrintMonthlyAttendanceSummaryContinuation..ctor(ReportOptions o) in C:\azagent\_work\1\s\Src\AeriesReporting\Reports\ATT\PrintMonthlyAttendanceSummaryContinuation.vb:line 108
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at AeriesReporting.Reporting.GetReportByClassName(String passReportClass, Object[] Arguments) in C:\azagent\_work\1\s\Src\AeriesReporting\ReportProcessing\Reporting.vb:line 104