Sometimes the overvoltage relay can cause this, but more often than not I have found that after a dead battery and a jump, the control unit will have to be replaced.:-[
You need to have the codes pulled for the fault. IF they will not clear, the control unit is usually at fault. It has been updated so it won't happen again.
ASE CERTIFIED MASTER AUTO TECHNICIAN
LEAD TECHNICIAN FOR 14 BAY FACILITY
MERCEDES SPECIALIST 8 YRS
PARTNER IN MERCEDESSHOP.COM