[fdo-users] SDE Connection Parameters

Robert Fortin robert.fortin at autodesk.com
Thu Oct 9 11:33:32 EDT 2008


Brad,

Have you tried setting up the etc/services file and using this to conect to ArcSDE instead of the 5151 port? See http://fdo.osgeo.org/files/fdo/docs/FET_TheEssentialFDO/index.html
Also is that in direct connect mode?

Robert Fortin

From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Brad Nesom
Sent: Wednesday, October 01, 2008 1:39 PM
To: FDO Users Mail List
Subject: RE: [fdo-users] SDE Connection Parameters

Good thing Rob,
you didn't happen to come across the same for sde lite and sql server lite did you
> Date: Wed, 1 Oct 2008 07:13:47 -0700
> From: Rob.Sosnowski at itd.idaho.gov
> To: fdo-users at lists.osgeo.org
> Subject: Re: [fdo-users] SDE Connection Parameters
>
>
> RESOLVED:
>
> IConnectionManager connectionManager =
> FeatureAccessManager.GetConnectionManager();
> IConnection connection =
> connectionManager.CreateConnection(providerName);
> IConnectionPropertyDictionary connectionPropertyDictionary;
> connectionPropertyDictionary =
> connection.ConnectionInfo.ConnectionProperties;
> connectionPropertyDictionary.SetProperty("Server",
> "servername");
> connectionPropertyDictionary.SetProperty("Instance", "5151");
> connectionPropertyDictionary.SetProperty("Username",
> "username");
> connectionPropertyDictionary.SetProperty("Password",
> "password");
> connectionPropertyDictionary.SetProperty("Datastore",
> "database");
> OSGeo.FDO.Connections.ConnectionState connectState =
> connection.Open();
>
>
> surrounded wrote:
> >
> > Hi,
> >
> > Been using FDO with shapefiles; now I wish to use with SDE layers. Can
> > someone provide me with the code to make a connection to a SDE database.
> > Our SDE layers are on MS SQL Server if that is important.
> >
> > Thanks.....Rob
> >
> >
>
> --
> View this message in context: http://n2.nabble.com/SDE-Connection-Parameters-tp1129033p1131481.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

________________________________
See how Windows connects the people, information, and fun that are part of your life. See Now<http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-users/attachments/20081009/cc875106/attachment.html


More information about the fdo-users mailing list