As a follow up, I solved the problem using the debug variable. When I turned it on, it gave a message indicating that I was missing an assignment type. When I installed that assignment type, the courses could be deleted.
Backup and restore
unable to delete a restored course
This discussion has been locked so you can no longer reply to it.