[fdo-trac] #441: SQLServerSpatial: Propogate up connection errors

FDO trac_fdo at osgeo.org
Thu Dec 11 08:14:11 EST 2008


#441: SQLServerSpatial: Propogate up connection errors
---------------------------------+------------------------------------------
   Reporter:  brentrobinson      |       Owner:  brentrobinson           
       Type:  defect             |      Status:  new                     
   Priority:  minor              |   Milestone:  3.4.0                   
  Component:  SQLServer Spatial  |     Version:  3.4.0                   
   Severity:  3                  |    Keywords:  Connection error message
External_id:                     |  
---------------------------------+------------------------------------------
 When connect to SQL Server fails, the error messages retrieved from SQL
 Server are not propogated up. This ticket will ensure that the messages
 end up in the exception thrown by the FdoIConnection::Open()
 implementation.

 For example, the provider throws the following when trying to connect to a
 non-existent SQL Server instance:

         No current open database.

 This will be changed to :


 {{{
     RDBMS: [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does
 not exist or
      access denied.
     [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen
 (Connect()).
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/441>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list