serial port disappears when a servo is connected

plzz help me iam new to arduino ...i wanted to control a servo through serial port .the problem is that when the servo is connected i cant use the com port the following error is coming and the port is working after the servo is removed ....

here is the image

Most likely your servo is drawing more then the 500ma max that a usb connection allows. Power your servo with an external regulated +5vdc supply or four AA batteries and see if the problem does not go away. Be sure to also make a wire connection from the external ground to the arduino ground.

tanx @retrolefty i will try it and post the result

thanks again retrolefty the problem is resolved :smiley: