Hi and Welcome,
normally, such an error indicates a bad IDE cable. Even if you already replaced it, replace it again (80wired, 18"(46cm), flat ribbon). Also make sure, no pins are bent, and that the drive is connected to the end of the cable (provided, it’s the only drive on the cable). Don’t forget to check the jumper settings.
If the problem persists, try the drive with another computer.