English

Error: Error getting a list of oids from the table

Error Message

When opening the attribute table for a feature class from a map document containing a geodatabase created from a Unified Modeling Language (UML) diagram using Visio and computer-aided software engineering (CASE) tools, the following error displays:

"Error getting a list of oids from the table
general function failure [substations]
too few parameters expected."

Cause

The ObjectID field is not primary.

Solution or Workaround

Follow the steps below:

  1. Set the ObjectID field as the primary key in Access.
  2. Remove the existing feature class from the map document and add it back in.