I too have suffered the same problem but, thanks entirely to Kooky Guy's help and advice, I've managed to cure it, the "Gearbox Fault" message no longer appears on the dash and the rangie no longer randomly down-shifts.
In our cases the fault was caused by water/oil ingress in a connector, in...