HDD needs two cables, power from PSU and data cable from the MB.
With Sata cables it is hard to reverase or select the wrong cable.
You did plug in the 6 or 8 pin pci-e connector to the back of the Video card?
it is possible that the bios got reset and the Bios setting for the HDD is incorrect, Normally should be set to AHCI. The choice between using IDE or AHCI, or SATA is dependent on what it was set to when Windows was installed. Normally this gives a "No operating system Found" error mesage.