Known Issue - Attendance Letter to Parents Report - Letters may generate an error "An item with the same key has already been added"

In some instances, when a school has the "Use Staff in Sections" option enabled, the Attendance Letter to Parents report may error out.  An email is sent to the user with the following information:

Error Dump:
The report specified could not be created!
Report: PrintAttendanceLetterToParent
Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at AeriesLib.SSE_Functions.GetSectionPrimaryTeacherDictionary(Int32 SC, String ConnectionString, Boolean ShortName) in D:\a\1\s\Src\AeriesLib\Tables\Scheduling_Tables\SSE_Table.vb:line 570
at AeriesReporting.PrintAttendanceLetterToParent..ctor(ReportOptions o) in D:\a\1\s\Src\AeriesReporting\Reports\ATT\PrintAttendanceLetterToParent.vb:line 1053

Programming is working on a fix for this issue.

Login to post a comment