Have you tried another IDE cable?
It could also be worth Uninstalling the Secondary IDE Channel in Device Manager and then rebooting; it will be reinstalled.
The rewriter should be the Master and the DVD drive the Slave; you could also Uninstall both from Device Manager and reinstall them on an individual basis (disconnect one the first time), rebooting in between.
The rewriter should eventually be listed as the first drive in alphabetical order (i.e. D if you have one HDD) which ever drive is first reinstalled.