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

surrounded Rob.Sosnowski at itd.idaho.gov
Fri Oct 17 08:16:59 EDT 2008


Hi Tony,

 

Using 9.2.  I hear that FDO 3.4, due out near the end of this year (I
believe), will support ArcSDE 9.3.   Rob

 

From: Tony [mailto:ml-user+64542-1977749538 at n2.nabble.com] 
Sent: Thursday, October 16, 2008 5:14 PM
To: Rob Sosnowski
Subject: Re: [fdo-users] SDE Error - Cant fine feature class

 

what SDE version are you using 

Tony 


RESOLVED:  I used: 

//OSGeo.FDO.Commands.Schema.IDescribeSchema pDS =
(OSGeo.FDO.Commands.Schema.IDescribeSchema)connection.CreateCommand(OSGe
o.FDO.Commands.CommandType.CommandType_DescribeSchema); 
                
//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") 

WORKS FINE NOW. 

                

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_Sele
ct); 
                
    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 message @
http://n2.nabble.com/SDE-Error---Cant-fine-feature-class-tp1131496p13432
09.html 
To unsubscribe from SDE Error - Cant fine feature class, click here
< (link removed) 
raUBpdGQuaWRhaG8uZ292fDExMzE0OTZ8LTE5NTY2NDk3Mzc=> . 

 


-- 
View this message in context: http://n2.nabble.com/SDE-Error---Cant-fine-feature-class-tp1131496p1344917.html
Sent from the FDO Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-users/attachments/20081017/1cdb6b8c/attachment.html


More information about the fdo-users mailing list