Almost all modern day psu's as well as mainboard's use a 24 pin connector that only goes on one way. Is either of them very old having a 20 pin connection?
When I put the 24pin connector in the fan and everything will turn on and then off in 2 seconds time I spoke to a technician he told to me to put the metal found in wires in the connector holes and try it but I am not sure