Hi JC
I received timeout error messege, too. And I asked it here. There are
lots of questions here about timeout error messege. I think this is a
Microsoft bug, I am not sure. But I solved this problem to add the
code below in my project.
Add this code in the Reference.vb file of the web reference you added
your project. I hope this code helps you.
Protected Overrides Function GetWebRequest(ByVal uri As Uri) As
WebRequest
Dim webRequest As HttpWebRequest =
CType(MyBase.GetWebRequest(uri), HttpWebRequest)
webRequest.KeepAlive = False
Return webRequest
End Function
Protected Shadows Function Invoke(ByVal methodName As String,
ByVal parameters As Object()) As Object()
Const MAX_CONNECTION_ATTEMPTS As Integer = 6
Dim connectionAttempts As Integer = 0
Dim connectionSucceeded As Boolean = False
Dim invokeReturn As Object() = Nothing
While ((connectionAttempts <= MAX_CONNECTION_ATTEMPTS)
AndAlso (Not connectionSucceeded))
Try
connectionAttempts += 1
invokeReturn = MyBase.Invoke(methodName,
parameters)
connectionSucceeded = True
Catch ex As WebException
'Put the thread to sleep for 10 seconds and try
again.
'This might help to get around some of the
various
'connection issues experienced such as '502 Bad
Gateways'
System.Threading.Thread.Sleep(10000)
If (connectionAttempts = MAX_CONNECTION_ATTEMPTS)
Then Throw ex
End Try
End While
Return invokeReturn
End Function
> ICSharpCode.SharpZipLib.Zip.Compression.Streams.InflaterInputStream.Read(By-te[]