English

Error: aiimage20.dll failed to register

Error Message

The following error may occur during the deployment of a MapObjects application:

aiimage20.dll failed to register

Cause

This error often occurs because all image components (DLLs) were not deployed into the same directory. The MapObjects documentation recommends that all image components be installed into the Common Files\ESRI folder.

Some of the image DLLs are versioned and some are not. By default, the Visual Basic Package & Deployment Wizard will install versioned image components into Common Files\ESRI and will install non-versioned image components into the application's path (AppPath).

Solution or Workaround

Warning:
The instructions below include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary.

Esri cannot guarantee results from incorrect modifications while following these instructions; therefore, use caution and proceed at your own risk.
Deploy all of the following files into the Common Files\ESRI folder:
aiimage20.dll (versioned)
mobase.dll (versioned)
mofeat.dll (versioned)
mogridio.dll (versioned)
dforrt.dll (versioned)
elib.dll (versioned)

libtiff.dll (not versioned)
efileio.dll (not versioned)
ergxlib.dll (not versioned)
ethrlib.dll (not versioned)
ISO8211.dll (not versioned)