My VB program is using Windows Internet API calls to send data to the web server, using POST method. If server responds in less than 5 seconds, everything is Ok. After 5 seconds I'm getting an error 12002 - timeout.
I tried InternetSetOption() to increase the timeout period, but it's not working.
I tried to change it in the registry:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet Settings\ReceiveTimeout - not working.
I also tried Microsoft Web Browser ActiveX control with same result - less than 5 seconds is Ok, after 5 seconds the control itself shows the message about timeout.
What else can I do?
If you Google "server timeout 12002" you get a bunch of possible solutions.
It looks like it could be your server or firewall.
I would check to see if Internet Explorer does any better. I would also try different API's. I use Indy which is avaliable with Delphi which has alwayed worked for me.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks