it report error when open a virtual Serial device(COM17). the serial port named as “Oray virtual serial device(COM17)” that we could see on the Device Manager.
error as follow:
2020-08-06 19:26:35 Open serial port COM17
2020-08-06 19:26:35 Error starting communication channel: Error opening serial port: 给定的端口名称未以 COM/com 开头或未解析为有效的串行端口。
I had exactly the same problem. I found that I had a windows printer setup to use the same port. As soon as I changed the port in the printers settings, the SerialPort.Open() worked.