Error code 25 (machine beeps 2 times and then 5 times) is a hardware error in most cases. It is caused by an engineering error on the way how control board is designed. It happens due to resistors burning out.
Unfortunately the solution is to replace a control board.