1. I installed instant client and verified that it works.
2. I can log on using the database string:
(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = TSIDB4)(PORT = 1522))) (CONNECT_DATA =(SERVICE_NAME = TSIDB4)))
3. That exact same string (without cr) exists in the tnsnames.ora file as:
TSIDB4 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = TSIDB4)(PORT = 1522))
)
(CONNECT_DATA =
(SERVICE_NAME = TSIDB4)
)
)
4. Using the database = tsidb4 I get an error.
Note that this database uses Post 1522 not 1521.
5. I can log onto the following database using the tnsnames.ora file:
TSIDB3 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = TSIDB3)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = TSIDB3)
)
)
What is the problem?
2. I can log on using the database string:
(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = TSIDB4)(PORT = 1522))) (CONNECT_DATA =(SERVICE_NAME = TSIDB4)))
3. That exact same string (without cr) exists in the tnsnames.ora file as:
TSIDB4 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = TSIDB4)(PORT = 1522))
)
(CONNECT_DATA =
(SERVICE_NAME = TSIDB4)
)
)
4. Using the database = tsidb4 I get an error.
Note that this database uses Post 1522 not 1521.
5. I can log onto the following database using the tnsnames.ora file:
TSIDB3 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = TSIDB3)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = TSIDB3)
)
)
What is the problem?