Arduino code not uploading error avrdude: ser_open(): can't open device "\\.\COM

i was making a circuit with my arduino and suddenly both the green light(power) and the orange led light(pin13) lit up. i tried to reset the board but no change occurred as i pressed the button. then i disconnected my arduino and tried uploading bare minimum to it but it did not upload. i have an arduino uno r3 smd edition. i want to know what is the problem with my board and how i can fix it.please help me. thanks in advance

Is anything connected to the Arduino?

What had you connected to it?

When you plug it in, do you see a port appear iin the tools -> ports menu? This is a good sign.

When you plug it in, do you get a "the last device you connected has malfunctioned" message? This is a bad sign.

nothing is currently attached to the arduino. i had accidentally connected the positive terminal of the arduino power pins to the positive terminal of a power source (two 9v battery power source). i was trying out different circuits in which arduino isolates two circuits when this happened. when i connect my arduino it is visible in the device manager as arduino uno and it is also visible in the ports.No, i did not get any 'the last device you connected has malfunctioned

Some suggestions:(Are you using windows?)

  1. Try to disable and re enable the device in the devices menu
  2. Upadte the device driver, Go to device maneger, select the arduino,right click,choose upadte device driver, choose manually/I'll chose what to install,navigate to your arduino install dir, go to drivers folder, choose "dpinst-x86", and follow the process.

@claude407 - you need to respond to the thread, not report the thread to the moderators with your problem.