471,354 Members | 1,212 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

Problems With Serial Ports in Windows Server 2003

Ive used the New Serial Port Namespace in Net Framework 2 to write a Serial
Port Monitoring Application. Basically the program opens the serial port and
listens for any data that is received. It then added it to a Rich Text Box
showing the data in either Hex or Text as well as any control characters.

The program works perfectly on Windows XP but when I transfer it to a
machine running Windows Server 2003, nothing happens. By that I mean that no
data shown in the Text Box. I added some logging to the prorgam which just
writes data to a text file. The Serial Port is being opened successfully,
but the method which is called when data is waiting in the buffer never seems
to be called even though the serial device is definitely sending data.

For testing Im using the following Code :-
port.DataReceived += new SerialDataReceivedEventHandle (port_DataReceived);
private void port_DataReceived(object sender,
SerialDataReceivedEventArgs e)
// Show all the incoming data in the port's buffer

On the Server I have installed the Net Framework 2.

Can anyone provide any assistance?

Jan 8 '06 #1
0 1333

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Ramakant Kasar | last post: by
13 posts views Thread by Al the programmer | last post: by
1 post views Thread by henrycortezwu | last post: by
3 posts views Thread by Tom Brown | last post: by
2 posts views Thread by Nasif | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.