I know this error message has appeared on this site elsewhere, but I haven't seen anything related to the specific instance of this annoying error. I inherited this and would rather not use it, but can't do much about it at this point.I am receiving a 'Microsoft JScript runtime error: Automation server can't create object?' when trying to run a javascript file that gets called by cscript.exe from within a batch file. The code that it appears to fail on is here (specifically, the very last line):\[code\] if (WScript.Arguments.length < 3) { WScript.Echo("usage: transform.js xml_file xsl_file out_file [debug]"); WScript.Quit(1);}if (WScript.Arguments.length < 4) { var mydebug = "none"} else { var mydebug = WScript.Arguments(3);}var out_file=WScript.Arguments(2);// Load xml documentvar source = new ActiveXObject("Msxml2.DOMDocument.4.0");\[/code\]The only suggestions I have seen elsewhere to resolve this are to change security within the Java control panel applet (Network Settings -> select 'Direct connection' instead of 'Use browser settings'), and to change security settings in IE (which I don't think is applicable in this case, but I tried it anyway). I am using Windows 7 64-bit. Any advice or help would be appreciated.