分享你我的心得.
共乘一片美好网络.

服务XmlHttp组件支持情况与微信支付缺失组件

服务XmlHttp组件支持情况:

Msxml2.ServerXMLHTTP.6.0
Msxml2.ServerXMLHTTP.5.0
Msxml2.ServerXMLHTTP.4.0
Msxml2.ServerXMLHTTP.3.0
Msxml2.ServerXMLHTTP
Msxml2.XMLHTTP.6.0
Msxml2.XMLHTTP.5.0
Msxml2.XMLHTTP.4.0
Msxml2.XMLHTTP.3.0
Msxml2.XMLHTTP

 

组件检测代码如下:


<%
On Error Resume Next
Response.Write "<h3>服务XmlHttp组件支持情况:</h3>"
oxml=array("Msxml2.ServerXMLHTTP.6.0","Msxml2.ServerXMLHTTP.5.0","Msxml2.ServerXMLHTTP.4.0","Msxml2.ServerXMLHTTP.3.0","Msxml2.ServerXMLHTTP","Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.4.0","Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP")
for i=0 to ubound(oxml)
Set getxmlhttp = Server.CreateObject(oxml(i))
If Err Then
Err.Clear
Response.Write oxml(i)&"不支持<br/>"
else
Response.Write oxml(i)&" 支持<br/>"
end if
next
%>

微信中付款需要用到的一部分代码有时候会出现

msxml3.dll 错误 ‘800c0005’ 系统错误: -2146697211

大约是下面这部分代码

Set xmlhttp = server.CreateObject(“Msxml2.XMLHTTP”)

这就是xml组件缺失的问题,下面是2个组件

MSXML_3.0_SP7.msi

MSXML_4.0_SP2.msi

KB832414_MSXML4.0_x86.exe

赞(0)
未经允许不得转载:小叶白龙博客 » 服务XmlHttp组件支持情况与微信支付缺失组件
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址