I am using C#'s SerialPort class to communicate over a USB COM port. The SerialPort opens fine and works fine until an exception occurs. After the exception when I try to use the port through my application I get another exception: "The port 'COM6' does not exist." I keep on getting the exception after closing the application, restarting Visual Studio, etc. The only way to get the port back is to restart the computer.
Has anyone seen this problem and know a way around it? I need this to be more durable.