It's the SSD drive, the cable or even the motherboard that's fried. Try the SSD in an external enclosure. If that's fine, order the new cable. If it doesn't work, order both.
Hello.
I have built my first computer a year ago and it has done an amazing job all this year. I had new components in 10+ year old computer case.
Specs:
GPU - Gtx 1060 6GB G1 gaming
CPU - Intel I5 6500
RAM - 8GB 2133
HDD / SSD
PSU - silverstone strider plus 500w bronze rated modular
Etc
So I decided to get a new case and put everything in it.
That's just what I have done.
I have forgot to plug in 4pin CPU connector and started the pc anyways. (Probably has nothing to do with situation)
Heard electricity crackling inside my PC and it shut itself off after few seconds...
Very bad smell was coming from SSD (Samsung 750 evolution 250gb) (burnt electronics) and on the connectors that were connected to ssd, mainly SATA power.
My HDD however doesn't smell at all and PC is working fine. It boots me to BIOS. Says there are no SATA connections even tho HDD is connected. (Windows in HDD)
Tried different ports but nothing.
I'm about to order a new PSU + SATA cable. I can't get the SATA power cable in Lithuania (Silverstone), would cost me more than 30eur just for a wire...
Will order EVGA 600B1 600W.
Any idea what could have caused this? Am I doing the right thing now?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic