Arduino with servo motor

Hey guys,

When my servo motor is connected to Arduino UNO, if I try to upload a modified program I'm getting this error message -

avrdude: ser_send(): write error: sorry no info avail

As far as I know, we can upload the program to the UNO board even when connections are done.

Please help me out.

Thanks in advance.