[fdo-users] SDE Error - Cant fine feature class
Tony
techswami at hotmail.com
Fri Oct 17 17:04:23 EDT 2008
great news
how is the performance using 9.2 are you using MGOS or MGE ( if so what
version)
what database are you using with SDE. and how many feature classes you have
sorry to many questions here but i am just trying to compare my server with
yours to see if i am doing anything differently
thanks
Tony
surrounded wrote:
>
> 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-tp1131496p1346952.html
Sent from the FDO Users mailing list archive at Nabble.com.
More information about the fdo-users
mailing list