Monthly Attendance Report gives an error that indicates "Exception has been thrown by the target of an invocation" 


Environment

  • Scheduling type-Flex
  • Attendance type-Daily
  • Track Primary Classes


Cause


This error occurs when there is at least one student with the Attendance Audit Error of "AM: Student is enrolled in multiple primary classes"


Resolution


Clear the errors from the Attendance Audit Report of the "AM: Student is enrolled in multiple primary classes."  Edit the student's Classes (or Course Attendance if it is a class that is no longer current), and remove one of the classes marked as Primary.