How come my sketch won't upload

I got this after it tried uploading and I have no idea why it won't upload.

Sketch uses 3,256 bytes (10%) of program storage space. Maximum is 32,256 bytes.
Global variables use 192 bytes (9%) of dynamic memory, leaving 1,856 bytes for local variables. Maximum is 2,048 bytes.
avrdude: ser_open(): can't open device "\.\COM3": Access is denied.

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

What's available when you select Tools:Serial Port? Mine shows COM3 with no card selected. Otherwise a 2nd COM port is opened & listed for the device that is plugged in.

Hi,
What version IDE are you using?

Tom.... :slight_smile:

Heh - Windows. Do you need admin rights to open COM port 3?

Hi,

I sometimes get this problem. I usually restart the IDE. Unplugging the Arduino from the computer and unplugging the cable from the computer helps too.

Good Luck and Happy Coding!

When I go through tools and serial ports I get COM3(arduino Uno). I'm using version 1.6.4 which I tried unplugging my arduino and restarting the IDE but nothing has happened. Hope this helps clarify things.