In the middle of using my arduino, the USB port lost connection with the board. I tried restarting the program, and then tried restarting the computer, but I keep getting this same error message.
avrdude: ser_open(): can't open device "\.\COM3": The system cannot find the file specified.
[Solved]
I realized that by simply flipping over all of the wiring to the opposite side of the breadboard, the problem was fixed. I have no clue why this made a difference, but it did.
James C4S. I realized that the problem was when I connected the servo motor. The board was disconnected every time I plugged in the servo, and would reconnect as soon as I took it out.
While the servo was in, the Arduino did not show up in the Device Manager, but once the servo was removed, the Arduino would reappear in the Device Manager.
I still do not know how to fix this problem though.