Ticket #9960 (closed defect: worksforme)

Opened 6 years ago

Last modified 6 years ago

error while adding serial port

Reported by: bond0020 Owned by:
Priority: major Component: other
Version: VirtualBox 4.1.6 Keywords:
Cc: Guest type: Windows
Host type: Windows


I want to add a serial port to virtual box

attached you find the log file and a sreenshot of the setting

is this a bug or did I configure not correct?

Thanks in advance Samuel

Für die virtuelle Maschine 7_64_new konnte keine neue Sitzung eröffnet werden.

Cannot open host device 'COM1' for read/write access. Check the permissions of that device (VERR_ACCESS_DENIED).

Fehlercode:E_FAIL (0x80004005) Komponente:Console Interface:IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb}

Attachments Download (48.4 KB) - added by bond0020 6 years ago.

Change History

Changed 6 years ago by bond0020

comment:1 Changed 6 years ago by misha

Could it be that your serial port is already in use by some other app? Try connecting to it, e.g with putty to check whether it succeeds.

comment:2 Changed 6 years ago by misha

You can also find who owns the serial device via  process explorer +  WinObj tools.
First run winobj and see the device name for your COM1: select GLOBAL?? in the left pane and locate COM1 on the right. The "symlink" panel should display a device name, this would typically be \Device\Serial0.
Now run the process explorer and open the search dialog (<ctrl>+f), type the serial device name (e.g. \Device\Serial0) and press "Search".
As a result the file owner should be displayed.

comment:3 Changed 6 years ago by bond0020

Hi Misha,

thanks a lot for your help you are right, the problem was that the port was in use.... you can close this ticket.

Maybe you can add the result to the community forums cause I looked there before I wrote to you but I didn't found a solution. But I found out that more persons have this problem... In the User manual I didn't found a solution too.

kind regards Samuel

comment:4 Changed 6 years ago by misha

  • Status changed from new to closed
  • Resolution set to worksforme

Thanks for the feedback. Not sure this needs to go to manual. The info will be kept here so others can search/find it.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use