Mostly the power supply may be the problem. check that the power supply works on similarly PC of same form factor or use another one.
open