Solution #00007455
Scope:
ArchiveOne Enterprise, all versions
Answer:
SYMPTOMS
When running a script using the ArchiveOne SDK to, for example, populate the Mailbox Manager, you see the following Windows Script Host error:
'ActiveX component can't create object: C2CSystems.ArchiveOne.Policy.MailboxManager'
ROOT CAUSE
You are running on a 64-bit environment and are not invoking the script in 32-bit mode.
RESOLUTION
Explicitly launch the script in 32-bit from the command line, by running: C:\Windows\SysWOW64\cscript.exe <FolderPathToScript>
e.g. C:\Windows\SysWOW64\cscript.exe E:\Scripts\PopulateMBM.vbs