https://XXX/.xml Error:800C000E

HTTPS中用XMLHTTP对象访问XML时报错,解决方案如下:
try{ var Req = Server.CreateObject("Msxml2.ServerXMLHTTP.4.0"); var URL = "https://someserver/a.xml"; Req.open("GET", URL, false); Req.setOption(2) = 13056 Req.send(); Response.Write("<BR>Status = " + Req.status); . . . . . . . . } catch(e){ Response.Write( "Exception!!<BR>"); Response.Write(e.number + "<BR>"); Response.Write(e.description + "<BR>"); } 注意必须是4.0的XMLHTTP才有setOption函数;
原文地址:https://www.cnblogs.com/margiex/p/140477.html