[英]ActiveX component can't create object: 'MSXML2.ServerXMLHTTP.4.0'
I'm getting an error: 我收到一个错误:
ActiveX component can't create object: 'MSXML2.ServerXMLHTTP.4.0'
ActiveX组件无法创建对象:“ MSXML2.ServerXMLHTTP.4.0”
With this line of code: 使用以下代码行:
Set objHTTP = CreateObject("MSXML2.ServerXMLHTTP.6.0")
I'm very naive when it comes to IIS. 对于IIS,我非常幼稚。 Is this an IIS configuration issue or something up with the code?
这是IIS配置问题还是代码问题?
How can I solve this. 我该如何解决。
Try Server.CreateObject instead of CreateObject 试试Server.CreateObject而不是CreateObject
CreateObject (without the Server. bit) is for client side vbscript CreateObject(无Server位)用于客户端vbscript
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.