Arduino Due "No device found on COM3"

I am new to arduino, and I just can't figure out what is wrong with uploading my code. I have selected the correct port and board, but the problem still seems to be there. I feel like I have tried everything to upload my code, which is why I am here to ask for help.

Error Code:
No device found on COM3
An error occurred while uploading the sketch

If you do “tools>port” . Is your device there ? It may not be on com port 3 but on a different port .

If it is shown as present , then it might be a driver issue . You need to add a specific driver for this new board.

See guide here :https://www.arduino.cc/en/Guide/ArduinoDue#toc2

Worth a good read as this chip is somewhat different ( esp
Operating voltage) from the chip on the normal beginners choice of a UNO...

I experienced this problem while the Due was running a sketch that utilised the Native USB (SerialUSB object).

The solution was to disconnect the Native USB during update.

The initialisation code

SerialUSB.begin(2000000);    // Initialize Native USB port
while (!SerialUSB);          // Wait until connection is established

then ensures the sketch stalls until the USB is connected.