PASSPORT Knowledge Base
Error Messages

Date Published: October 21, 2008

Title

An error occurred on line XXX, position 0, of the script.  Error: (10095) ActiveX Automation: server could not be found

Product

PASSPORT PC to Host, PASSPORT Web to Host

Emulation Types

TN3270, TN5250, VT, SCO ANSI, Wyse 60

Issue

After applying the new PassObj.dll patch to my PC, I can't run any of the .zam (macro using the PASSPORT Object Interface) macro?  How can I resolve this?

Solution

This problem can be resolved by re-registering the PassObj.dll.  Use the command below (or comparable) at the RUN command line:

 

regsvr32 "C:\Program Files\PASSPORT\PASSOBJ.dll"

More Information

Macros with .ZAM file extension is written to work with the PASSPORT Object Interface.  This interface is an ActiveX COM object called PASSOBJ.DLL. There is an hierarchy of objects used for host access which includes Sessions, Session, Screen, OIA, Area, Toolbars, Toolbar, QuickPads and QuickPad. The COM object can be used with any programming language that can use ActiveX COM objects, including C++, Visual Basic, VB Script and Java Script. The PASSPORT Object Toolkit provides a sample VB Script application and source code.  For more information, click on the link below:

http://www.zephyrcorp.com/api/object-interface.htm

Keywords

.ZAM macros, Passobj.dll, error, activeX, automation