Check your Master/Slave settings on the hardware in Question, if this doesnt help, Start from the basic and only set 1 thing on at a time. If you can see that itÂ´s the same ide controller, then thatÂ´s your problem. Make sure that the pins are not bent also on in the IDE cable. Go into your BIOS and set it to default settings.
Remember that DVD/CD drives can not be connected to SATA controllers. You didnt mention anything about your motherboard type.