<%
set http = Server.CreateObject( "Microsoft.XMLHTTP ")
http.Open "GET ", "http://www.china-sms.com/send/readsms.asp?name=**&pwd=**** ", false
http.setRequestHeader "Content-type: ", "text/xml;charset=GB2312 "
'http.setRequestHeader "Charset ", "GB2312 "
http.Send
msg=http.ResponseText
set http = nothing
response.write msg
%>
msxml3.dll (0xC00CE514)
系统错误: -1072896748。
/q/12.asp, 第 7 行
------解决方案--------------------
set http = Server.CreateObject( "MSXML2.ServerXMLHTTP ") '这样试试
------解决方案--------------------
应该是缺少相应XMLHTTP库 上网找个msxml3.0 安装就可以了
最好是用楼上的方法 用 "MSXML2.ServerXMLHTTP "的方式来创建
因为这个一般操作系统都有
------解决方案--------------------
觉得最好自己弄个循环,看看哪个好使,类似这样:
var xmlHttpVersions = [
"MSXML2.XMLHTTP.5.0 ",
"Microsoft.XMLHTTP ",
"MSXML2.XMLHTTP ",
"MSXML2.XMLHTTP.3.0 ",
"MSXML2.XMLHTTP.4.0 "
];
for (var i = 0; i < xmlHttpVersions.length; i++)
{
try
{
msxml_http_request = new ActiveXObject(xmlHttpVersions[i]);
break;
} catch (oError) {}
}
------解决方案--------------------
我正想问呢,谢谢楼主,学习