I've had this problem before with my CD drive. Basically when your putting the IDE cable in, you are putting it in the wrong way round.
Flip it around horizontally and put it in again. You'll find it should now operate.
Its some kind of safety feature because some IDE cables go in both ways
Hope this helps