Popular Articles
Last viewed:
- C# Download File with Progress Bar
- GridView ObjectDataSource LINQ Paging and Sorting
- Disable Button on Submit (Prevent multiple submits)
- Change Password Policy on Windows 2003 Server
- Export GridView or Other Data as Microsoft Excel (CSV) File with C#
- Clustered Index vs. Non-Clustered Index in SQL Server
Recent comments
- Awsome!!
7 hours 32 min ago - C# insert image
22 hours 24 min ago - jkll
3 days 10 hours ago - Thank You
4 days 10 hours ago - Another approach
6 days 11 hours ago - Issue
1 week 51 min ago - thanks
1 week 11 hours ago - Calendar date time
1 week 17 hours ago - Nice Explanation
1 week 21 hours ago - ramya
1 week 3 days ago

the code works, but half the
the code works, but half the time it does one of the 2 things:
1) throws "Unable to read data from the transport connection: The connection was closed." at the line "iByteSize = streamRemote.Read(byteBuffer, 0, byteBuffer.Length);"
2) background worker seems to freeze, and eventually throw the same error.
If i go one line at a time via debug, it works like a charm... it works if display a messagebox... it waits for a while intull the user cliks ok, and the code works, but if it runs at full speed... it rarely finishes.
what should i do ?