[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fdo-internals
Subject:    RE: [fdo-internals] writing fdo provider
From:       Robert Fortin <robert.fortin () autodesk ! com>
Date:       2008-06-17 15:30:50
Message-ID: 476B159399D7F64E8CB45B2C5E8A9F2D179FCA38DE () ADSK-NAMSG-01 ! MGDADSK ! autodesk ! com
[Download RAW message or body]

Dave,

If it is not of private matter, can I ask what format your provider is targeting to \
read (and write?)

Robert

-----Original Message-----
From: fdo-internals-bounces@lists.osgeo.org \
                [mailto:fdo-internals-bounces@lists.osgeo.org] On Behalf Of Dave \
                Brett
Sent: Tuesday, June 17, 2008 12:21 AM
To: fdo-internals@lists.osgeo.org
Subject: Re: [fdo-internals] writing fdo provider


Found solution within provider.  When click "Test Connection" within studio
is clicked the SetConnectionString() method is called.  Since my provider
does not need to maintain a connection I set the connection state to
FdoConnectState_Closed in the GetConnectionState() method.  The code now
executes as expected.



Dave Brett wrote:
> 
> I am currently writing a provider to work with MGE.  Things look good
> while running the unit tests. However when using the provider within MGE
> Studio and I click "Test Connection" I get "An exception occurred in FDO
> component.  The connection is already open. " error.  In my provider code
> I have explicitly set the connection state to FdoConnectionState_Closed
> anywhere the connection state is returned however the error never changes
> within MGE Studio.
> 
> I am have been looking to the WMS and GDAL providers as examples of how to
> implement things correctly, but haven't found what I am missing.
> 
> Does anyone know which method(s) MGE calls to get the status to display in
> Studio?
> 
> Thanks
> Dave
> 

--
View this message in context: \
http://www.nabble.com/writing-fdo-provider-tp17875883p17877832.html Sent from the FDO \
Internals mailing list archive at Nabble.com.

_______________________________________________
fdo-internals mailing list
fdo-internals@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-internals
_______________________________________________
fdo-internals mailing list
fdo-internals@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-internals


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic