i am still recieving the following error - WeOnlyDo Discussion board

i am still recieving the following error (General questions)

by phonehax, Monday, July 07, 2008, 04:05 (5983 days ago)

The current connection has been aborted by the network or intermediate services

it is something to do with the proxies i am using like the proxies are failing in the middle of the packets is there some type of hotfix or something i can do to go to next proxy and resume rather than having my whole project end because of the error?

Re: i am still recieving the following error

by woddrazen, Monday, July 07, 2008, 09:34 (5983 days ago) @ phonehax

Hi,


I think you are using VB6. You can use in VB6 On Error Resume Next and procedure with next proxy server when this error is received.

Can you try that and let us know how it goes?


Drazen

Re: i am still recieving the following error

by phonehax, Monday, July 07, 2008, 09:50 (5983 days ago) @ woddrazen

i've done this still the same problem i know other people have posted with the same issue

Re: i am still recieving the following error

by woddrazen, Monday, July 07, 2008, 10:03 (5983 days ago) @ phonehax

Hi,


When On Error resume Next is used you can receive error in LastError Property. When error is received you can procedure with new request using new proxy server.

More help for LastError Property you can find here:
http://www.weonlydo.com/HttpDLX/Help/wodHttpDLXLib~wodHttpDLX~LastError.html

Can you try that?


Drazen

Re: i am still recieving the following error

by phonehax, Tuesday, July 08, 2008, 06:21 (5982 days ago) @ woddrazen

give me an example snippet

Re: i am still recieving the following error

by wodDamir, Tuesday, July 08, 2008, 09:11 (5982 days ago) @ phonehax

Hi,

I believe what Drazen means was to try something like this:

[code]On Error GoTo ErrorHandler
some code goes here...[/code]

ErrorHandler:
wodHttp1.ProxyType = proxy type
wodhttp1.HostName = proxy address
...
[/code]

Hope this helps.

Regards,
Damba