[fdo-users] Error getting FeatureSchemaCollection

Simon Hope SimonH at geobiz.co.nz
Wed Nov 28 17:48:17 EST 2007


Dan,

Yes it's ArcSDE 9.2 on top of SQL Server

Cheers

Simon

-----Original Message-----
From: fdo-users-bounces at lists.osgeo.org
[mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Dan Stoica
Sent: Thursday, 29 November 2007 11:46 a.m.
To: FDO Users Mail List
Subject: RE: [fdo-users] Error getting FeatureSchemaCollection

Hi,

Is your database a SqlServer one?

Dan.

-----Original Message-----
From: fdo-users-bounces at lists.osgeo.org
[mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of simon hope
Sent: Wednesday, November 28, 2007 5:36 PM
To: fdo-users at lists.osgeo.org
Subject: [fdo-users] Error getting FeatureSchemaCollection


Hi,

I'm a beginner trying to work through the developers guide and using the
FDO
.Net API. I'm trying to get details of the schemas in an ArcSDE 9.2
connection:

//create a command to describe the schema
OSGeo.FDO.Commands.Schema.IDescribeSchema cmdDescSchema =
(OSGeo.FDO.Commands.Schema.IDescribeSchema)fdoConnection.CreateCommand(O
SGeo.FDO.Commands.CommandType.CommandType_DescribeSchema);

//create a set a featureSchemaCollection using the IDescribeSchema
command
OSGeo.FDO.Schema.FeatureSchemaCollection fsCollection;
fsCollection = cmdDescSchema.Execute();

The code is crashing when i try and execute the command, rather nasty
with
no means to dig any deeper. I have checked that my command has a
connection
and that the state of the connection is open.

Does anybody have any ideas? On a related note does anybody have sample
C#
code which i could use as a reference guide to get going with the basics
of
FDO - or is there any sample C# solutions in SVN that i could use?

Cheers

Simon
--
View this message in context:
http://www.nabble.com/Error-getting-FeatureSchemaCollection-tf4893061s18
162.html#a14012403
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
_______________________________________________
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