Page 1 of 1

No Client

Posted: Mon 31 Jan 2005 22:21
by jop
How to configure an DbSettings.ini file to load at app start with the Oracle Net option in TCRSQLConnection?
I get an Error:
"Windows Socket error: Inavlid address in context (10049), on API connect."
than pressing F9 another:
EOraError: NET: "Invalid Host"

Posted: Tue 01 Feb 2005 10:21
by Paul
You must specify DataBase parameter as the following. You must enter ::, where
is taken from SERVICE_NAME parameter in tnsnames.ora.
For example DataBase='server:1521:orcl920'

Code: Select all

ORA920 =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = orcl920)
      (FAILOVER_MODE = (TYPE = SELECT) (METHOD = BASIC) (RETRIES=100)
(DELAY=1))
    )
  )

Re: No Client

Posted: Fri 10 Jun 2005 13:14
by Guest
Testing...
jop wrote:How to configure an DbSettings.ini file to load at app start with the Oracle Net option in TCRSQLConnection?
I get an Error:
"Windows Socket error: Inavlid address in context (10049), on API connect."
than pressing F9 another:
EOraError: NET: "Invalid Host"

Posted: Fri 10 Jun 2005 13:35
by Paul
Possibly you write the wrong value to DataBase parameter of TSQLConnection. Please ReadMe.html about "DataBase" for "Oracle Net (Core Lab)" connection