Drive Mechanisms of Erupting Solar Magnetic Flux Ropes