If the RAM worked in the past and works on another PC, it's much more likely to be a motherboard issue than a RAM issue. In that case replacing the motherboard (and depending on how old it is, also the CPU and the RAM, which amounts to a totally new PC) would be the solution.