Have you checked that the jumper is set for Master for one of the optical drives and Slave for the other?
It's likely though that the cables are still the problem as it would be very unusual for both drives to pack up.
Surface Pro (2017) vs Surface Pro 4
Where HTML5 is headed next
MacBook Pro v Surface Pro 5
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.