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

Hi. i am using arduino UNO for my project. I am doing a project on LCD interfacing with Arduino UNO. My operating system is Windows10. while upoading the arduino sketch to my arduino UNO board i get the following error:
avrdude: ser_open(): can't open device "\.\COM14": Access is denied.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
I went to the arduino site but i got no tracking solution the above error. I was able to program my arduino uno with same sketch while ago but i have started receiving the above error. can you please tell me the possible reason for this error.

Hi @demijmorg. That troubleshooting URL is a little bit outdated. It used to link to a section of a troubleshooting guide specifically about upload problems but due to the changed structure of the Arduino website it now only points to the Help Center home page. The section of the Help Center that is more focused on this sort of thing is here:
https://support.arduino.cc/hc/en-us/sections/360003198300-Upload

Work is in progress now to update the URL in that message.


Now to your specific error:

The "Access is denied" error happens when the port is open in another application. I'll share some techniques for troubleshooting this error:


Make sure you have selected the port of your Arduino board from the Tools > Port menu.

Sometimes the port will be labeled with the board name in the menu. Other times it will not. If you don't know which port is your Arduino board, you can find it by doing this:

  1. Unplug your Arduino board from the computer.
  2. Select Tools > Port from the Arduino IDE menus.
  3. Note the ports, if any, listed in the menu.
  4. Close the Tools menu.
    The ports list is only updated when the Tools menu is re-opened, so this step is essential.
  5. Plug your Arduino board into the computer.
  6. Select Tools > Port from the Arduino IDE menus.
    The new port listed in the menu is the one for your Arduino board.

Make sure you don't have any other applications running that might have the port open. Only one application can have a serial port open at a time.


Try restarting your computer. Sometimes a glitch causes the port to get stuck open, producing the "Access is denied" error. Restarting the computer restores the port to the correct state.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.