Solution #00007531
Scope:
ArchiveOne Enterprise, all versions
Answer:
SYMPTOMS
When running a script that interacts and calls function from the Policy/Compliance SDK on a Windows 2008 (or higher) platform, the script fails to run with an error similar to the following:
"Microsoft VBScript runtime error: ActiveX component can't create object: "
ROOT CAUSE
This is caused by Windows 2008 (or higher) using the 64 bit versions of CSCRIPT.EXE or WSCRIPT.EXE by default. Since the Policy/Compliance SDK is 32 bit, these applications have issues when interacting
with the Policy/Compliance SDK.
RESOLUTION
Run the script from a CMD prompt using 32 bit copies of CSCRIPT.EXE or WSCRIPT.EXE located in "C:\WINDOWS\SYSWOW64"
*Example: C:\WINDOWS\SYSWOW64\cscript yourscript.js
Running the csript.exe or wscript.exe from the SYSWOW64 folder will call the 32bit version of the program and you will not receive the error mentioned above.