“Error: Automation server can't create object” for Msxml2.ServerXmlHttp in Windows Server 2008

StackOverflow https://stackoverflow.com/questions/10545453

  •  07-06-2021
  •  | 
  •  

Question

I am getting this error: "Error: Automation server can't create object"

when I tried to create an object of Msxml2.ServerXmlHttp using java script in Windows Server 2008.

This error goes away if I make this IE setting change "Initialize and script ActiveX control not marked as safe."

but why is this IE setting change required? the same works without any setting change in Windows 7.

Thanks Venkatesh

Was it helpful?

Solution

This is happend because this particular ActiveX control has been tagged as 'Unsafe for scripting'.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top