[fdo-users] Error getting FeatureSchemaCollection
Dan Stoica
dan.stoica at autodesk.com
Thu Nov 29 10:07:27 EST 2007
Simon,
You might be very lucky :-)
A patch has been just posted at http://fdo.osgeo.org/patches.html
The symptoms you reported (crash on describe schema) fit the bug fixed by this patch.
Let me know how it works,
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:48 PM
To: FDO Users Mail List
Subject: RE: [fdo-users] Error getting FeatureSchemaCollection
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
_______________________________________________
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