PASSPORT Knowledge Base
Macros

Date Published: July 12, 2002
Date Updated: June 10, 2011

Title

Passport Macro Engine Creation Failed Error

Product

PASSPORT PC to Host, PASSPORT Web to Host

Emulation Types

TN3270, TN5250, VT, SCO ANSI, Wyse 60

Issue

When choosing the Macro®Run menu command and selecting a macro to run, I am getting the error: "Passport Macro Engine creation failed.  Macro support will be disabled for this session." (see below).   What should I do?

 

Solution

This error generally occurs when the passmac.dll file required to run the macro scripting engine is missing or has not been registered properly on your system.  Please follow the steps below to resolve:

 

For PC to Host:

  1. Perform a search to make sure the passmac.dll file exists on your system.  This file normally resides in the C:\Program Files\PASSPORT\ or installed directory.  If it is missing, copy it from a working system, or reinstall PASSPORT PC to Host to restore the file.
  2. At the Run command line (from the Start Menu), type in:

    regsvr32 "C:\Program Files\PASSPORT\passmac.dll". This will register the passmac.dll with the operating system.
For Web to Host:
 
  Remove the ActiveX document and re-download it from the server

More Information

Keywords

macro, engine creation failed, support, passmac.dll, error