Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Tue Mar 19, 2024 3:17 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
PostPosted: Wed Nov 07, 2012 12:14 pm 
Offline
Newbie

Joined: Tue Oct 30, 2012 5:38 am
Posts: 2
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 ""


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 07, 2012 2:13 pm 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group