I keep getting an Access is denied error using msxml4.dll I have seen a
number of posts on other sites mention it and say they fixed it but not one
says how they did.
Here is the code that I am trying to execute (in jscript).
var objSrvHTTP;
var objXMLSend;
var objXMLReceive;
objSrvHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0");
objXMLSend = Server.CreateObject("MSXML2.DOMDocument.4.0");
objXMLReceive = Server.CreateObject("MSXML2.DOMDocument.4.0");
objXMLSend.async = false;
objXMLSend.loadXML (strXMLOUT);
objSrvHTTP.open ("POST",strURL,false);
objSrvHTTP.setRequestHeader("application","x-www-form-urlencoded");
objSrvHTTP.send (objXMLSend);
objXMLReceive = objSrvHTTP.responseXML;
Response.ContentType = "text/xml";
Response.Write (objXMLReceive.xml);
I have had this with any site that I have tried to get a response from so I
am fairly sure it is the new version of msxml since my other 2.0 versions
still work.
On one I can get the content back directly through the browser but not with
this call.