Windows System ODBC:
Steps:
1:
Start>>All programs >> Accessories >> Execute
To access the 32-bit drivers in the system:
Windows 64 Bit%windir%SysWoW64Odbcad32.exeWindows 32 Bit %windir%system32odbcad32.exe |
2:
3:
Oracle:
PfadorafatNETWORKADMIN
SQLNET.ORA example content
TRACE_LEVEL_CLIENT = OFF
SQLNET.EXPIRE_TIME = 0
NAMES.DEFAULT_DOMAIN = world
NAMES.DIRECTORY_PATH=(LDAP,TNSNAMES)
TSNNAMES.ORA Example content
EntryName.world =
(DESCRIPTION =
(ADDRESS = (PROTOCOL= TCP)(Host= URI / Hostname)(Port= 1521 is default))
(CONNECT_DATA = (SID = SchemaName))
)
The specification of the domain is essential. Here you can set whether a TSN name is resolved or whether the famous message ORA-12154: TNS:could not resolve the connect identifier specified comes.
The domain is like a global switch (SQLNET.ORA) between e.g. the development environment and the production system in TNSNAMES.ORA. Imagine having to manually change hundreds of entries in the TNS Names ORA.
If ORA-12154 still appears, the path to the TNS Names ORA directory must be set in the system with admin rights.
setx /m TNS_ADMIN "Path" Sets environment variable permanently in the system context
However, this should only be necessary if you are running several Oracle Fat Client or Instant Client instances on one machine.
Recent Comments