简体   繁体   English

ActiveX组件无法创建对象:“ MSXML2.ServerXMLHTTP.4.0”

[英]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.

相关问题 MSXML2.ServerXMLHTTP.6.0的Relitve路径不起作用 - Relitve path for MSXML2.ServerXMLHTTP.6.0 not working 无法在Inventor API中创建ActiveX组件 - Cannot create ActiveX component in inventor api 使用MSXML2.ServerXMLHTTP.6.0对基于https的Web服务进行SOAP发布时出现错误2147012858 - Error 2147012858 when doing a SOAP post to an https-based webservice using MSXML2.ServerXMLHTTP.6.0 如何在网站中部署win32 dll,以便可以在activex对象中使用它? - How to deploy win32 dll in a website so it can be used in a activex object? 在不使用ActiveX对象的情况下获取Windows用户名 - Get windows username without using activex object 如何在Visual Studio 2010 Pro中创建.NET 4.0 Web服务项目? - How can I create a .NET 4.0 web service project in Visual Studio 2010 Pro? 从本地主机无法调用ActiveX控件的HTML TestPage - HTML TestPage that calls a ActiveX control doesn't work from localhost 使用URL中的自定义协议制作ServerXMLHTTP - Making a ServerXMLHTTP with a custom protocol in the URL 无法在Perl中使用mkdir创建文件夹,权限被拒绝? - Can't create folder using mkdir in perl, permission denied? 使用IIS后无法再创建Excel - Can't create Excel anymore after use of IIS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM