[fdo-internals] writing fdo provider

Dave Brett dbrett at digitalglobe.com
Tue Jun 17 00:20:31 EDT 2008


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.



More information about the fdo-internals mailing list