Open-AudIT
https://www.open-audit.org/phpBB3/

MSXML Error on Windows 2008 R2 audit.vbs
https://www.open-audit.org/phpBB3/viewtopic.php?f=10&t=5965
Page 1 of 1

Author:  pdufresne [ Wed Nov 07, 2012 12:14 pm ]
Post subject:  MSXML Error on Windows 2008 R2 audit.vbs

Hi there

I've updated to 2009.12.23 (we had an old version running just fine and now updated to this version) and I'm getting an error on line 115 of audit.vbs when it attempts to in instaniate an XML object. It complains that it cannot find MSXML3.dll. Now I've tried to modify to use MSXML4 which is supported under Win2K8R2 but no dice.

what do I need to do to make this work?

Offending line of codes
' Now we open the web page where the remote config lives
Set WshShell = WScript.CreateObject("WScript.Shell")

'Set http = CreateObject("Microsoft.XmlHttp")
Set http = CreateObject("MSXML2.DOMDocument.4.0") <-- code modification
' ...and we grab it..
http.open "GET",this_config_url, FALSE
http.send ""

Author:  jpa [ Wed Nov 07, 2012 2:13 pm ]
Post subject:  Re: MSXML Error on Windows 2008 R2 audit.vbs

Try "MSXML2.ServerXMLHTTP.3.0" or "MSXML2.XMLHTTP" as found later in the code used to post the data. The code you're having trouble with only runs when it can't find an audit.config file and so it pulls a standard config from the OA server. You can work around it completely by creating an audit.config file along side your audit.vbs.

As long as you're updating you should get the [url=http://open-audit.svn.sourceforge.net/viewvc/open-audit/trunk/?view=tar]latest from SVN[/url]. It's still ancient but it's not as old as what you have.

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/