Serial port issue in VS2008 RRS feed

  • Question

  • This is the situation.

    I need to get the RF Code reader data for every one minutes. If i connect the reader very first time it connects and get the data, after that the exception raised.

    The Exception is
    System.InvalidOperationException.The port is closed.
       at System.IO.Ports.SerialPort.Write(String text)
       at System.IO.Ports.SerialPort.WriteLine(String text)
       at QTrak.Configure.DeviceSetup.Readers.Readers.Local_Reader_Process(Object sender, EventArgs e) in E:\dev\QTrakWeb\QTrak\QTrak\Configure\DeviceSetup\Readers\Readers.aspx.cs:line 375

    Note :  but in this process works well in windows based application.
    Tuesday, September 1, 2009 6:54 AM