SafeGuard API: Calling a SafeGuard Enterprise API script results in error 80040154 (Could not create object named "Utimaco.SafeGuard.AdministrationConsole.Scripting.Base")

  • Article ID: 119618
  • Updated: 24 Jul 2013
Issue

Calling the SafeGuard Enterprise API from the command line or double clicking a SafeGuard Enterprise API script results in an error: 

Error: Could not create object named "Utimaco.SafeGuard.AdministrationConsole.Scripting.Base".
Code: 80040154
Source: WScript.CreateObject / CScript.CreateObject

 

First seen in

SafeGuard Management Center / Local Policy Editor
SafeGuard Enterprise Server

Operating systems
Windows 7 x64
Windows Server 2008 x64
Windows Server 2008 R2 x64

Cause

The SafeGuard Enterprise Scripting API only runs as a 32-bit application. Due to the fact that Win32 base components were not ported to 64 bit, the Scripting API cannot be run as a 64-bit application.

What To Do

Instead of calling cscript.exe / wscript.exe from the command prompt directly, call the scripting API from a 32-bit shell or use %SYSTEMROOT%\SysWOW64\cscript.exe / %SYSTEMROOT%\SysWOW64\cscript.exe instead.

 
If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent

Comments