Discussion:
HttpEndRequest Function errorcode 12152
(too old to reply)
yphuan
2006-09-12 15:16:13 UTC
Permalink
Hi,
I have two troubles with wininet.

1) I use HttpSendRequestEx to post data,but HttpEndRequest always
returns error 12152.
But the data are really sent out.Why?

2) I want to pass proxy (isa 2004 ,NTLM authentication needed)
transparently by using wininet function .when the current logined user
can be passed the NTLM, then GET requests can be completed successfully
without any errordlg for username and password,but the POST requests
always fail.Why?

Any reply will be appreciated.

yphuan
Vladimir Scherbina
2006-09-14 07:48:29 UTC
Permalink
Hello yphuan,

"yphuan" <***@gmail.com> wrote in message news:***@i42g2000cwa.googlegroups.com...

[...]
Post by yphuan
1) I use HttpSendRequestEx to post data,but HttpEndRequest always
returns error 12152.
But the data are really sent out.Why?
Error 12152 indicates that server sent wrong response. To get any response
one should send something to server.
Post by yphuan
2) I want to pass proxy (isa 2004 ,NTLM authentication needed)
transparently by using wininet function .when the current logined user
can be passed the NTLM, then GET requests can be completed successfully
without any errordlg for username and password,but the POST requests
always fail.Why?
What errors do you obtain? Any code sample will be good to see.
--
Vladimir
Loading...