getmeamartini

Microsoft Jet database engine cannot find the input table or query 'GDB_DataChanges'

Discussion created by getmeamartini on Jun 27, 2012
Latest reply on Mar 28, 2013 by getmeamartini
Hi,

I'm trying to perform an edit operation on a sde10 FeatureClass in a FeatureDataset.  The FeatureDataset is Registered As Versioned. I wish to delete all features in the FeatureClass.  I get this message when running the code below:

The Microsoft Jet database engine cannot find the input table or query 'GDB_DataChanges'
What is the The Microsoft Jet database engine has to do with it?

This is a fresh SDE 10 installation with fresh data...!  The only way I can make it work is by using a FeatureClass not in a FeatureDataset And Without registering de FeatureClass As Versioned And without performing the "Editor.StartEditing(SDEDataset.Workspace)"

Can anyone help me with this?
TIA

This is the code we are using:

      '....Some code
     
      'Gets the SDE FeatureClass from the FocusMap
      Dim FClassSDE As IFeatureClass = General.FindFeatLayerByName("ZZ_Test").FeatureClass

      'Start an editing session
      Dim SDEDataset As IDataset = CType(FClassSDE, IDataset)
      Dim Editor As IEditor3 = Nothing
      Dim MonUID As New UIDClass()
      MonUID.value = "esriEditor.Editor"
      Editor = CType(pGlobal.pApplication.FindExtensionByCLSID(MonUID), IEditor)

      Try
        If Editor.EditState = esriEditState.esriStateNotEditing Then
          Editor.StartEditing(SDEDataset.Workspace)
        End If

        'Delete all Features from SDE FeatureClass
        Dim TableSDE As ITable = CType(FClassSDE, ITable)
        TableSDE.DeleteSearchedRows(Nothing)'  *****Returns the error!!****

       ...Some code

      Catch Ex As Exception
        MsgBox(Ex.Message)
      Finally
        If Editor.EditState = esriEditState.esriStateEditing Then
          Editor.StopEditing(False)
        End If
      End Try

Outcomes