English

Error: Opening an ADO/OLE DB recordset based on an unregistered geodatabase table

Error Message

An error (FDO error -2147467259) is returned when attempting to open an ADO recordset based on an unregistered table using the ESRI OLE DB provider.

Cause

The wrong locktype parameter for the recordset was used when calling the recordset::open method.

Solution or Workaround

Open the recordset with the locktype set to adLockReadOnly. Unregistered tables in a geodatabase cannot be edited using the ESRI OLE DB provider.

Related Information