Discussion:
Error 0x80072F78
(too old to reply)
Ashoke Biswas
2003-11-27 05:51:07 UTC
Permalink
I m using ServerXMLHTTP40
The waitForResponse method gives exception #0x80072F78 after I sen the my request to server by using send method. The timeout value in waitForResponse is 2000
Could anyone help why i m getting this
Jerry III
2003-11-27 22:37:57 UTC
Permalink
Because the server is returning an invalid response (that's what the error
means). Obviously you didn't even look it up.

Jerry
I m using ServerXMLHTTP40.
The waitForResponse method gives exception #0x80072F78 after I sen the my
request to server by using send method. The timeout value in waitForResponse
is 2000.
Could anyone help why i m getting this ?
Frank Schwieterman [MSFT]
2003-12-09 21:26:09 UTC
Permalink
The errorcode you are seeing, because it comes from the COM component, is
an HRESULT. The 0x8007 indicates that the HRESULT wraps a Win32 error code,
and that error code is 0x2f78. You can find most predefined Win32 error
codes in winerror.h, which is included in the Platform SDK. (do a search
'dir /s winerror.h') WinHttp error codes are in a separate header though,
they're in winhttp.h. They are also listed at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winhttp/http/error_messages.asp.

The WinHttp error codes start at 12000 (decimal). 0x2f78 is 12152, or as
you'll find in winhttp,h:

#define ERROR_WINHTTP_INVALID_SERVER_RESPONSE (WINHTTP_ERROR_BASE +
152)

To find out why the response was rejected, you'll need to look at the
response itself. This can be done by monitoring the network socket (perhaps
using Netmon) or by using WinHttp's trace facility. If you don't see
anything wrong with the response go ahead and post a capture and we may be
able to see the issue.
I m using ServerXMLHTTP40.
The waitForResponse method gives exception #0x80072F78 after I sen the my
request to server by using send method. The timeout value in waitForResponse
is 2000.
Could anyone help why i m getting this ?
Loading...