Click to See Complete Forum and Search --> : xmlhttp problem


Andrew Luit
August 10th, 2001, 11:07 AM
I plan to send xml to an ASP using xmlhttp. the code is like this(javascript):
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
xmlhttp.Open("POST", "LoadSome.asp", false);
xmlhttp.Send(xmlCmdDoc);
xmlDoc.load(xmlhttp.responseXML);

The problem is SOMETIMES I got an error message:unspecified error and the error indicates the line xmlhttp.Open("POST", "LoadSome.asp", false);
Any one can help me? The thing is this error dosn't happen all the time, only some times.
Thanks in advance.

vinod kadam
October 22nd, 2001, 09:52 AM
Use Microsoft.XMLHTTP instead of Msxml2.XMLHTTP