English

Error: Opening feature class. General function failure

Error Message

After adding a shapefile into ArcMap, the following message appears and the layer does not draw:

"Error opening feature class. General function failure"

Cause

AppLockMgr.exe is not registered. ArcMap and ArcCatalog need this helper application for working with shapefiles.

Solution or Workaround

Register AppLockMgr.exe.

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.
  1. Close ArcMap and ArcCatalog.
  2. Open the Command Prompt window: Start > Programs > Command Prompt.
  3. Browse to the ArcGIS bin folder.
    Code:
    cd c:\arcgis\arcexe81\bin
    Note:
    In the case of ArcGIS 9, the bin folder is located under C:\Program Files\ArcGIS, so the syntax would be as follows:
    Code:
    cd c:\Progra~1\ArcGIS\Bin
  4. Type:
    Code:
    regsvr32 aflockmgr.dll
  5. Type:
    Code:
    applockmgr.exe /regserver
  6. Close the Command Prompt window.
  7. Start ArcMap, and add the shapefile data.