ServerXMLHttp - Invalid Response

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello All -
I am getting the following error message when I use WinHttp or ServerXMLHttp on Windows 2003 server and do a HTTP post.
"<span style="font-family:"Calibri","sans-serif"; font-size:11pt -2147012744
The server returned invalid or unrecognized response".
It is working in Windows XP professional though. Below is the piece of code in my legacy VB app,
Private mvarWeb As MSXML2.serverXMLHTTP
Set mvarWeb = CreateObject("Msxml2.ServerXMLHTTP")<br/>
mvarBaseUrl = " https://xyz.net:7500 <span style="color:#0066dd https://xyz.net:7500 "<br/>
mvarWeb.Open "POST", mvarBaseUrl, False<br/>
mvarWeb.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded" <br/>
mvarWeb.SetRequestHeader "Connection", "Keep-Alive"<br/>
mvarWeb.Send t_HttpPostBody
r = mvarWeb.ResponseText
Any help appreciated.
thanks!

View the full article
 
Back
Top