Make sure the SATA connector engages the system board -- if it doesn't, the drive won't be detected.  
The laptop stopped working. It was not giv8ng bad HD message, but was not detecting it. So I replaced it. But even then it does not recognize the new HD. What else could be wrong? Should I check for any connectors? I ran the diagnostics from bios  no other issues except hard drive. Any ideas? Thanks in advance. I get no hard drive message when I try to install windows 10 from a ISB drive. I did reset the settings in BIOS.
Inspiron 15R5521