[fdo-users] SDE Error - Cant fine feature class

surrounded Rob.Sosnowski at itd.idaho.gov
Wed Oct 15 15:59:25 EDT 2008

RESOLVED:  I used:

//OSGeo.FDO.Commands.Schema.IDescribeSchema pDS =
//OSGeo.FDO.Schema.FeatureSchemaCollection pFSC = pDS.Execute();

to create a FeatureScheamCollection.  From this I was able to get the
correct FeatureClass name.  I used
the FeatureClass name in sel.SetFeatureClassName("xxxx")



surrounded wrote:
> I establish a connection to SDE enterprise geodatabase: 
> I use the following code to access the feature class:
>     connection = getSDEConnection("OSGeo.ArcSDE.3.3");
>     OSGeo.FDO.Commands.Feature.ISelect sel =
> (OSGeo.FDO.Commands.Feature.ISelect
> connection.CreateCommand(OSGeo.FDO.Commands.CommandType.CommandType_Select);
>     sel.SetFeatureClassName("Cities");
>     reader = sel.Execute();
> On the sel.Execute I get the following error:
>     Feature class 'Cities' not found in schema.
> Any ideas on why this is happening....Thanks

View this message in context: http://n2.nabble.com/SDE-Error---Cant-fine-feature-class-tp1131496p1338263.html
Sent from the FDO Users mailing list archive at Nabble.com.

More information about the fdo-users mailing list