Error at line 360: Impossible to load module 'nimmacro'
search cancel

Error at line 360: Impossible to load module 'nimmacro'

book

Article ID: 67491

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM)

Issue/Introduction

Error at line xxx: Impossible to load module 'nimmacro'

Environment

  • Release: UIM 9.x or higher
  • Component: e2e_appmon, e2e_appmon_dev
  • Nimrecorder 7.1.2
  • Nimrecorder 3.01

Resolution

Common problems and workarounds include:
  1. The .dll does not exist
    Obtain a copy from another machine where e2e was installed. nimmacro.dll file should be present in the e2e scripts directory.

  2. There are conflicting versions of the file
    Check the file system to make sure that there is only one copy.

  3. The .dll is not in the SYSTEM Path
    Locate the .dll, then make sure that the full location of the .dll is included in the PATH environment variable.

  4. Location
    Make sure that the file nimmacro.dll is in the same directory as NimBUS-functions.src.
    Note that depending on the version of e2e_appmon, the NimBUS-functions.src may need to be specified using the absolute path in the script, e.g., in e2e_appmon v2.60 BETA.
    Include "NimBUS-functions.src" - there was no requirement to specify the absolute PATH in past versions. For example, you can specify this in the script if necessary->

       Include "C:\Program Files (x86)\NimSoft\e2e_scripting\Scripts\NimBUS-functions.src"

      5. If none of the above resolves the error:
          You may have to copy nimmacro.dll and NimBUS-functions.src into /probes/application/e2e_appmon/.

           The e2e scripts should then be able to find the files.

       6. ​Make sure that the nimmacro.dll is copied into the working directory where the scripts are located and run from.
           ​'msgbox(CurDir$()) - ​​identifies the current directory where the e2e script is located.
           'Copy the nimmacro.dll file in​to​ the working directory of the scripts to avoid ​'Impossible to load module : nimmacro.' errors 

Additional Information

Related notes regarding e2e probe version 2.0 GA installation:

  • In e2e_appmon 2.0, Nimrecorder 4.0 32-bit version by default gets installed at %NIM_ROOT% (this value is defined in the robot environment) during the installation of e2e_appmon_dev probe and creates a folder with the name 'e2e_scripting' and other folders exist in the same folder.

  • In case the probe doesn't install the Nimrecorder, the installation path can be set using the custom option and PATH should be configured to whatever the NIM_ROOT environment is set to and all files will automatically be transferred accordingly to the right folder.

  • Note that you can install nimrecorder at any location as per your requirement but the absolute path should be configured accordingly in the probe as well

Related notes regarding e2e_appmon probe version 3.01 GA:

In v3.01 GA the nimmacro.dll size was 1069KB (not 1059 as in the 2.51 and 2.52 versions) but for 3.01 GA that seemed to be fine since all other scripts on other e2e workstations upgraded to e2e_appmon 3.01 were functioning without error. 

If the 'Impossible to load module error line 360' occurs, make sure to execute a cold start (Deactivate-Activate) of the e2e_appmon probe and the error should subside.

Attachments

nimmacro_1689011073576.dll get_app