dc motor/servo

why when pluging the servo in the motor shield the dc motors stops working and the servo keeps turning from 0 to 180 degree!? and when in unplug it from the motor shield the dc motors works again!

plz any help?

That would be the wire that's the wrong colour.

I would honestly suggest that you go here first.
Read it and then come back to this post to fill in the many missing factors that might be the cause.

well this is my circuit!
my program works properly until i plug the servo in the motor shield, dc motors stops working.and when i plug in the servo and unplug the dc motors the servo program works also properly.

And the rest of the missing information please.

From the Adafruit page https://learn.adafruit.com/adafruit-motor-shield-v2-for-arduino

"HELP! My motor doesnt work! - HELP! My motor doesnt work!...But the servos work FINE!
Is the power LED lit? The Stepper and DC motor connections will not work if the onboard green Power LED is not lit brightly!"