I have code that gets all the Feature Datasets in a database in order to loop through them and find the one I want. This code works fine in an SDE 9.2 database, but not in a version 10 SP 2 database. I have 24 feature datasets in the database, and the user has at least select permissions on all of them, but the code only returns 3 feature datasets. The code is very simple, shown below. What the heck is going on? ESRI.ArcGIS.Geodatabase.IWorkspace _ws = (ESRI.ArcGIS.Geodatabase.IWorkspace)aWorkspaceEdit; ESRI.ArcGIS.Geodatabase.IEnumDataset _ed = _ws.get_Datasets(ESRI.ArcGIS.Geodatabase.esriDatasetType.esriDTFeatureDataset); ESRI.ArcGIS.Geodatabase.IDataset _ds = null; while ((_ds = _ed.Next()) != null) { if (_ds.BrowseName == _datasetName) { ESRI.ArcGIS.Geodatabase.IEnumDataset _dsed = _ds.Subsets; ESRI.ArcGIS.Geodatabase.IDataset _dsfc = null; while ((_dsfc = _dsed.Next()) != null) { if (_dsfc.BrowseName == aFeatureClassName) { _fc = (ESRI.ArcGIS.Geodatabase.IFeatureClass)_dsfc; break; } } } if (_fc == null) { _ds = _ed.Next(); } else { break; } } _ed.Reset();