BUG: You receive an "error reading comm device" error message when you try to read from a COM port that is on a remote computer by using the MSComm control in Visual Basic 6.0 (841700)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Learning Edition for Windows 6.0, when used with:
- the operating system: Microsoft Windows Server 2003
SYMPTOMSWhen you try to perform a read operation on a COM port by using the MSComm control
in Microsoft Visual Basic 6.0, you receive the following error message: Run-time error '8020':
Error reading comm device
Note This problem occurs only if the following conditions are true: - You have connected to a terminal server by using Remote Desktop Protocol (RDP) 5.2 for port redirection.
- The terminal server is running Microsoft Windows Server 2003.
CAUSEThe MSComm control uses the "return quickly" feature of the Windows COM port driver. If you use RDP 5.2 for port redirection, the status of the "return quickly" feature is set to pending. This setting affects the functionality of the MSComm control. STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.REFERENCES
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
838291
Some applications cannot access the serial port in Windows Server 2003
318784 MSComm.Input returns comReadError (8020) with some serial ports
For more information, visit the following Microsoft Developer Network (MSDN) Web sites:
Modification Type: | Major | Last Reviewed: | 6/27/2004 |
---|
Keywords: | kbwizard kbSerial kbCommPort kberrmsg kbWindowsForms kbbug KB841700 kbAudDeveloper |
---|
|