When you make HTTPS requests between Web servers by using the ServerXMLHTTP request object, you may receive the following error message:
"Access is denied" -2147024891 (80070005)
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.
<%@ Language="JScript" %>
<%
Response.Buffer=true ;
var oxmldom = Server.CreateObject("MSXML2.DOMDocument.3.0");
oxmldom.async=false;
oxmldom.loadXML("<msg><id>TargetPage</id></msg>");
Response.Write(oxmldom.xml);
%>
<%@ Language="JScript" %>
<%
try
{
var Req = Server.CreateObject("Msxml2.ServerXMLHTTP.3.0");
var xmlDoc = Server.CreateObject("Msxml2.DOMDocument.3.0");
xmlDoc.async = false;
xmlDoc.loadXML("<msg><id>1</id></msg>");
var URL = "https://targetserver/targetpage.asp";
Req.open("POST", URL, false);
Req.send(xmlDoc);
Response.Write("<BR>Status = " + Req.status);
Response.Write("<BR>responseText = " + Req.responseText);
}
catch( e )
{
Response.Write( "Exception!!<BR>");
Response.Write(e.number + "<BR>");
Response.Write(e.description + "<BR>");
}
%>
Keywords: kbbug, kb