Reputation: 14246
I'm getting an error:
ActiveX component can't create object: '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. Is this an IIS configuration issue or something up with the code?
How can I solve this.
Upvotes: 0
Views: 4614
Reputation: 4663
Try Server.CreateObject instead of CreateObject
CreateObject (without the Server. bit) is for client side vbscript
Upvotes: 1