[fdo-users] ArcSDE connection string help
Tony
techswami at hotmail.com
Wed Nov 26 15:20:12 EST 2008
Hi
i am also trying to connect MGOS 2.0.2 to ArcSDE 9.3, i am getting error
do i need to have 9.2 SDE client installed ?
thanks
Tony
George McLean wrote:
>
> Thanks Jack - This was very helpful. I am now able to connect to ArcSDE
> using my .net code. My next hurdle appears to be creating feature
> classes correctly. I have created a single feature class using ArcSDE.
> This feature class is a line feature so I think it has geometry
> properties. However, using the FDO API I am not able to see the feature
> class. I started with a FeatureSchemaCollectrion object and drilled down
> to the PropertyDefinition objects in the collection but there do not
> appear to be any featureClass objects. I have used this same code with
> Oracle and MySQL so am pretty sure it works.
>
> Also, I can not see the feature class when I connect through Display
> Manager.
>
> Does anyone have any guidance on setting up feature classes in
> ArcCatalog that might affect whether or not the FDO API can recognize
> the feature class?
>
> Thanks
>
> George McLean
>
>
> Jack Lee wrote:
>> Hi George,
>>
>> You should use
>> Server
>> Instance
>> Datastore
>> Username
>> Password
>>
>> You can get this information from
>> IConnectionInfo::get_ConnectionProperties.
>>
>>
>> -----Original Message-----
>> From: fdo-users-bounces at lists.osgeo.org
>> [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of George McLean
>> Sent: Friday, November 14, 2008 7:31 PM
>> To: FDO Users Mail List
>> Subject: [fdo-users] ArcSDE connection string help
>>
>> I am connecting to ArcSDE 9.3 through the display manager without any
>> problem. In the connection form I have 4 fields:
>>
>> Server name
>> Instance name
>> Data store
>> version
>>
>> I am trying to build a connection strong in .NET to set the
>> ConnectionString property of an object of type
>> OSGeo.FDO.Connections.IConnection. Currently I am using a strong which
>> works with MySQL and Oracle as follows:
>>
>> "service=Server name; username=MyUser; password=MyPass; datastore=Data
>> store"
>>
>> I do not have the Instance Name or the version in this connection
>> string. Do I need them? What is the correct sytntax for an ArcSDE
>> connection strong in .NET?
>>
>> Thanks in advance!
>>
>> George McLean
>> _______________________________________________
>> 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
>> ------------------------------------------------------------------------
>>
>>
>> No virus found in this incoming message.
>> Checked by AVG - http://www.avg.com
>> Version: 8.0.175 / Virus Database: 270.9.3/1788 - Release Date:
>> 11/14/2008 1:36 PM
>>
>>
>
> _______________________________________________
> fdo-users mailing list
> fdo-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-users
>
>
--
View this message in context: http://n2.nabble.com/ArcSDE-connection-string-help-tp1500853p1582532.html
Sent from the FDO Users mailing list archive at Nabble.com.
More information about the fdo-users
mailing list