I am transfering data from a client to server via calls to HttpSendRequest.
The server returns success or any errors via XML returned after the
HttpSendRequest call. Usually this has no problems, but our Japanese
customers are encountering sporadic errors and I've traced it down to
HttpSendRequest failing and GetLastError reports ERROR_ALREADY_EXISTS (183).
What could cause HttpSendRequest to return ERROR_ALREADY_EXISTS? I'm also
looking for how to get around it. Our server side components don't seem to
think that there was any problem, so I'm guessing that the call made it to
the server and something caused a problem on the way back. I'm not sure I
can retry the call since as far as the server is concerned, it already
succeeded.
Any help will be appreciated.
John
--
Volodymyr, blog: http://www.shcherbyna.com/
(This posting is provided "AS IS" with no warranties, and confers no
rights)
"John D." <John D.@discussions.microsoft.com> wrote in message
news:9DF24CC5-1ACF-4CB0...@microsoft.com...
There are two things that I'm looking at:
1. Can I do something programatically before the call to ensure that I don't
get the error?
2. If not, then what would the recommended procedure be to handle the errors
when they do occur?
In case of an error, would the best thing be to assume that the entire
request had failed, dump the current hRequest, create a new request with
OpenRequest and retry the HttpSenRequest? Or is there something that can be
done with the current hRequest?
Thanks,
John