English

Error: shape20.dll failed to register

Error Message

The following error message may occur when attempting to deploy a MapObjects application:

shape20.dll failed to register

Cause

One or more Microsoft DLLs have been omitted from the deployment package for MapObjects. The shape20.dll file requires several system DLLs in order to Self Register.

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.
You must include the following Microsoft system DLLs in the deployment package:
    mfc42.dll
    msvcp60.dll
    msvcrt.dll
    msvcrt40.dll
    oleaut32.dll
    olepro32.dll
    stdole2.tlb 

The msvcirt.dll file may also be required on some Windows 95 and Windows 98 platforms.