I have setup our moodle 1.8.2 to work with external database, We are using a MSSQL database (SCT PowerCampus). We have written a couple of Views to extract the data we need for enrolment and class creation.
I am getting this error on a few classes when it tries to create them.
"Creating Course AFA2350.01-SP01...
User enrolled to course AFA2350.01-SP01, but there is more than one course with that value in the enrolment database (in field CourseID)"
When I check the database mdl_course there is no class with that idnumber.
Where does this error come from and How can I begin to track it down?