error while uploading code to mega 2560

can any one help why this error masseg is?

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
An error occurred while uploading the sketch

uploading to others mega work perfectly …please sort me out

help me some one please even an empty sketch is not uploading to board

Arduino: 1.8.3 (Windows 7), Board: "Arduino Nano, ATmega328"

WARNING: Category 'Real-time clock' in library DS3231 is not valid. Setting to 'Uncategorized' Sketch uses 4070 bytes (13%) of program storage space. Maximum is 30720 bytes. Global variables use 255 bytes (12%) of dynamic memory, leaving 1793 bytes for local variables. Maximum is 2048 bytes. avrdude: ser_open(): can't open device "\.\COM13": Access is denied.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

@ ishtiaq

What is the complete message (copy it all from the bottom console)

@ jvkarthick

Is yours exactly the same issue ? I doubt it ! Same deal the COMPLETE error msg from the bottom console but maybe in a post of your own instead of jumping in to somebody elses.