Error: Run time error 429 ActiveX Component Cannot Create Object
Error Message
When starting up the ArcExplorer-Java Edition 2.0 application, the following error message is immediately displayed:
"Run time error 429 ActiveX Component Cannot Create Object".
Cause
The cause of this problem is that one or more components that can be registered(OCXs or DLLs), which are required for ArcExplorer-Java Edition to run properly, were not successfully copied onto the machine or were not properly entered into the Windows Registry. By design, the user should not have to do this manually. The setup program should have done this all automatically.
One common cause of this is that the user tried to start ArcExplorer-Java Edition 2.0 immediately after installing the application, instead of first restarting the machine. ArcExplorer-Java Edition requires a reboot after installation so that the components can properly register.
Solution or Workaround
- Reboot the computer, then try starting up ArcExplorer-Java Edition. If no error is displayed, then the problem has been resolved.
- If the error message is still displayed, then register the 'mo20.ocx' file:
A. Navigate to Start > Run. Type cmd and click OK.
B. Type the following command and press return:Code:
regsvr32.exe "C:\Program Files\Common Files\ESRI\mo20.ocx"
If it registers successfully, start ArcExplorer-Java Edition again. If no error is displayed, then the problem has been resolved. - If the error message is still displayed, then register these additional files with 'regsvr32.exe' using the same method above above:
In the \Program Files\Common Files\ESRI folder:
mo20.ocx
aiimage20.dll
cad20.dll
coverage20.dll
momrsid.dll
mosde80.dll
mosde302.dll
shape20.dll
vpf20.dll
In the ArcExplorer 2.0 installation folder:
aeclient.dll
aecommon.dll
aeinet.ocx
aelegend2.ocx
aemo2.dll
aeprint2.dll
inetlegend.ocx
scalebar.ocxNote:
As an alternative method to running the 'regsvr32.exe' from the command prompt and typing each command manually, create a shortcut on the desktop for the 'regsvr32.exe', and one at a time, click-and-drag the above files onto that shortcut icon.
Optionally, some Windows machines are configured to give you access to registering DLLs and OCXs by providing a 'Register' menu item on the context menu, accessible by right-clicking the file name.
Last Published: 5/5/2016
Article ID: 000008489