Error: Run Time Error: Automation error. Unspecified error.

Error Message

Using the Select method on an IFeatureClass object causes a runtime error. For example, the following line would cause an error:

Set theSelection = pFeatureClass.Select(pQueryFilter, esriSelectionTypeIDSet, esriSelectionOptionNormal, pFeatureWorkspace)


This is a known issue.

Solution or Workaround

This issue has been resolved for ArcGIS 8.1 and above.