CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 29

Threaded View

  1. #1
    Join Date
    Feb 2012
    Location
    Prizren
    Posts
    37

    Post How to solve System.Timeout.Exception on a PBX SMDR Capture app?

    The port connection is successful but when it gets to receive data I get this timeout exception. Got no idea what to do...what to fix. Need help.

    System.TimeoutException: The operation has timed out.
    at System.IO.Ports.SerialStream.Read(Byte[] array, Int32 offset, Int32 count, Int32 timeout)
    at System.IO.Ports.SerialStream.Read(Byte[] array, Int32 offset, Int32 count)
    at System.IO.Ports.SerialPort.InternalRead(Char[] buffer, Int32 offset, Int32 count, Int32 timeout, Boolean countMultiByteCharsAsOne)
    at System.IO.Ports.SerialPort.ReadTo(String value)
    at System.IO.Ports.SerialPort.ReadLine()
    at SMDR_Capture.SerialPortDataReceive.ReadFromCom() in e:\punn\my documents\visual studio 2010\Projects\SMDR Capture\SMDR Capture\SMDR Capture.vb:line 165

    Below you have the Visual Basic.NET 2010 project solution in .doc (word 2003) file.
    Don't know how to put code here in tags thus I had to manage with an attachment if you happen not see any attachment I'll manage another way of uploading a link and post in comment.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured