Article ID:
K00000309
Last Reviewed:
23 November 2009
Symptoms
When you edit a script that uses a Windows Script Host language such as VBScript or JScript, the adTempus Console gives the following error when you try to save or test the script:
Retrieving the COM class factory for component with CLSID {0E59F1D5-1FBE-11D0-8FF2-00A0D10038BC} failed due to the following error: 80040154.
.NET scripts (VB.NET, C#) are not affected, and execute properly.
The problem occurs only on 64-bit versions of Windows.
Cause
When you save the script, adTempus tries to validate the script.
To execute or validate VBScript or JScript scripts, adTempus uses a scripting engine component that is part of the Windows operating system. Microsoft has not created a 64-bit version of this component, and the adTempus Console (which runs as a 64-bit process) is not able to load the 32-bit scripting component and therefore fails with the error above.
At execution time, adTempus avoids this issue by hosting the script within a 32-bit process.
Workaround
You may ignore the error. The script save and execute correctly. If the script contains syntax or logic errors, the script will fail when the job is run, and the error details will be reported in the Job Log.
Alternatively, consider converting your script to VB.NET, which is a more robust language, and which is fully supported on both 32- and 64-bit platforms.
Status
This problem is due to limitations with the Windows Scripting Host and may be accommodated by a future version of the adTempus Console.