@Daniele:
Check the IDE connector on the motherboard. One pin should be labelled 1. Now check the cable, one line should be marked red. Connect the 44pin connector at the end of the cable to the motherboard with the red line towards pin 1. Make absolutely sure that the red line points towards pin 1 and that the connector is not displaced by one or more pins.
The connector in the middle should have 44 pins, too. Make absolutely sure that you connect the red marked line to pin 1 of the HDD. If you connect it wrongly, the HDD and the motherboard will be fried !
The last connector should be a little bit bigger but has only 40 pins. This one connects to the CD-ROM drive. Again make sure that the red marked line is connected to pin 1, although it is not as dangerous as with the 44pin connector if you connect it wrong.
The 4 spare lines of the 44 pin connectors hold power. So if you connect them to some of the data pins, your devices get fried. Make absolutely sure that you connect everything correctly and don't use "trial and error" methods when it comes to cable positions.
Bye,
Thomas