English

Error: Class not registered

Error Message

This error occurs sometimes when trying to access the MapObjects property page (right-clicking the Map Control and selecting Properties):

"Class not registered. Looking for Object with CLSID:{0BE35201-8F91-11CE-9DE3-00AA004BB851}"

The property page cannot be accessed once this happens.

Cause

This error occurs if the MFC42.dll, located in the system(32) directory, has become un-registered. This DLL may become unregistered when installing other software, when Visual Basic crashes, etc.

Solution or Workaround

Follow one of these methods to re-register the offending DLL:

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.
  • Run the RegisterinMenu.reg utility and right-click the MFC42.dll.
  • Drag the MFC42.dll and drop it onto the RegSvr32.EXE icon.
  • Run RegSvr32.exe on the MFC42.dll at a Command prompt.