ODBC Oracle Connection error from MS Access -
i support ms access database has linked connections using microsoft odbc driver oracle. can connect current linked tables without issues, required security reasons change password on account accessing server.
i have changed password when attempt relink tables error:
odbc--call failed microsoft odbc driver oracle ora-12154: tns not resolve service name
these tables part of critical application , can't connect. suggestions on how resolve this?
the ora-12154 error indicates specifying tns alias not resolving. using dsn connection oracle? if so, tns alias you're specifying there? alias exist in tnsnames.ora file? there multiple tnsnames.ora files on client?
the tnsnames.ora file on client machine access installed. without knowing version of oracle client installed, simplest way find out tnsnames.ora file being used open dos prompt , type "tnsping service_name
" `service_name" whatever tns alias specified in dsn. you'll like
c:\users\jcave>tnsping fuddy_duddy tns ping utility 64-bit windows: version 11.2.0.1.0 - production on 07-oct-2 010 08:10:51 copyright (c) 1997, 2010, oracle. rights reserved. used parameter files: c:\oracle\product\11.1.0\db_1\network\admin\sqlnet.ora tns-03505: failed resolve name
the "used parameter files" line tells directory tns related files stored. there should tnsnames.ora , sqlnet.ora file in directory.
Comments
Post a Comment