System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'ESRI.ArcGIS.Geodatabase.ITable'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{FCB01CB5-9F0B-11D0-BEC7-00805F7C4268}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at FindDuplicatesAddIn.frmFindDups.btnGetFields_Click(Object sender, EventArgs e) in C:\Projects\Addins ArcMap\FindDuplicatesAddIn\FindDuplicatesAddIn\frmFindDups.vb:line 54
System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'ESRI.ArcGIS.Geodatabase.ITable'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{FCB01CB5-9F0B-11D0-BEC7-00805F7C4268}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). at FindDuplicatesAddIn.frmFindDups.btnGetFields_Click(Object sender, EventArgs e) in C:\Projects\Addins ArcMap\FindDuplicatesAddIn\FindDuplicatesAddIn\frmFindDups.vb:line 54