Ok, after being able to get the Oracle Spatial choice in MapInfo Professional, now I am facing a connection problem (obviously)!
I have set the below TNSNAMES.ORA file on the client machine and the LISTENER.ORA file on the server:
#TNSNAMES.ORA
ocellus =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL=TCP)(HOST = oracle.localdomain) (PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAMe = ocellus)
)
)
#LISTENER.ORA
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle.localdomain)(PORT = 1521))
)
)
SID_LIST_LISTENER2 =
(SID_LIST =
(SID_DESC =
(SID_NAME = OCELLUS)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0_dbhome_1)
)
)
The ORACLE_SID is OCELLUS.
The host name is oracle.localdomain
Pinging between the client/server works fine.
I am using the following in MapInfo:
USERNAME: sys
PASSWORD: password
SERVER NAME: oracle.localdomain
but I am getting the following error:
Oracle Error: ORA-12170: TNS: Connect timeout occurred
Tried to re-connect but this time got the following error:
Oracle Error: ORA-12504: TNS: listener was not given the SERVICE_NAME in CONNECT_DATA
I have turned off the firewall on both the client (Windows firewall) the Server (IPtables) but got the same problem!
Any ideas?
Thanks in advance
On Thursday, April 25, 2013 12:08:12 AM UTC+2, Eric Blasenheim wrote: