Port currently owned by unknown windows application
Hello,
Let me explain the situation in the shortest way possible:
I have a Java program that is supposed to recover from a bar code reader the value of the barcode read.
The bar code reader is connected via a serial port.
However, when I launch the application, the program raises this exception:
"Port currently owned by unknown windows application ".
But even when I remove the bar code reader, the same exception is raised.
My question is simple:
I want to know the COM1 port using by which application and how to unregistered it?
Thank you.
Re: Port currently owned by unknown windows application
Here the link which will give you all the Info you want:
http://support.microsoft.com/kb/q92447/
Re: Port currently owned by unknown windows application
Normally COM ports are being used by modems. It is possible there's a conflict with your modem and the port you're trying to use for your program.
Try disabling your modem under Hardware Devices, and try again.
Re: Port currently owned by unknown windows application
Get Sysinternals ProcessExplorer
http://www.sysinternals.com/Utilitie...sExplorer.html
Go to 'Find'->'Find Handle' and enter
serial1 and click 'Search'.