[fdo-users] SDE Error - Cant fine feature class
Dan Stoica
dan.stoica at autodesk.com
Wed Oct 1 10:49:40 EDT 2008
You need to do:
connection->SetConnectionString(<your SDF file path>);
-----Original Message-----
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of surrounded
Sent: Wednesday, October 01, 2008 10:22 AM
To: fdo-users at lists.osgeo.org
Subject: [fdo-users] SDE Error - Cant fine feature class
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-tp1131496p1131496.html
Sent from the FDO Users mailing list archive at Nabble.com.
_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users
More information about the fdo-users
mailing list