Hi,
According to your situation
Violation of UNIQUE KEY constraint:
[StudentID],[Section] is composite primary key and it should be unique.
[SchoolID] should also be unique.
So you are trying to insert values with same ([StudentID],[Section]).
Check this. This is only error in your insert query.
--Amit