Can't upload my code on Arduino DUE due to port issue

Hi,

I'm trying to upload my code onto my DUE board but it keeps giving me the following error:

Sketch uses 22,124 bytes (4%) of program storage space. Maximum is 524,288 bytes.
No device found on COM6
An error occurred while uploading the sketch

This issue keeps occurring even though I have it connected to COM6 and the COM6 port is selected under tools. I then tried to upload the Blink code to my board as a test and am getting the same error message. Does anyone have any ideas?

Any kind of help would be appreciated. Thanks.

dcparduino