ORA-12560 ........... How could it resolve ?
I use ( DATABASE 10g , FORMS 6i , FORMS 10g , WIN XP SP2 )
I installed both forms 6i , 10g ...... both work correctly , but just when I be in the beginning onto Run Time in forms 10g ... this error occur to me :-
http://img79.imageshack.us/img79/6555/ora12560dh4.png
and then I press OK and enter this information :-
http://img91.imageshack.us/img91/9980/ora12560nextstepek2.png
and when I press connect , i enter to form correct without any other problems.
I ask for help about the cause of that Problem (ORA-12560) , and also the Solution for it !
Check these this things?
1. Is database started and running?
2. Correct Database string provided?
3. Are the TNS names entry correctly referring to your database?
Check this thread: ERROR: ORA-12560
Try to connect from other applications like SQL*Plus or Toad and see.
Similar Messages
-
Hi,
I am getting this error message in my ASP.Net apps (namespace Oracle.DataAccess.Client) and any app that tries to use the Oracle Provider for OLE DB.
Error:
ORA-12154: TNS:could not resolve the connect identifier specified
Here is what I do know:
- My ORACLE_HOME is set to C:\oracle\product\11.1.0\client_1\
- My path has C:\oracle\product\11.1.0\client_1\network\admin;C:\oracle\product\11.1.0\client_1\bin;
- I installed Oracle Client 11g, previously 10g was working but one of the devs wanted to upgrade
- I can connect using sqlplus user/pass@tnsname
- I can test tns entries successfully in Net Manager
Here is what I don't know:
- When using OLE connections, why does Oracle Provider for OLE DB not pick up on the environment variables - sql plus seems to, that's why it works.
- In ASP.Net, why does the connection object from Oracle.DataAccess.Client not pick up the correct environment variables?
- How do the Oracle drivers pick up the location of the TNS names?
Thanks,
Michael
Edited by: user2750352 on 04-May-2009 07:51Hi,
What "environment variables" are you referring to that you have set? You shouldnt have to set any, unless you're talking about TNS_ADMIN just to avoid having to configure multiple TNSNames.ora's if you have multiple homes.
Your PATH doesnt need to include OH\network\admin, but thats not hurting anything. PATH is for dll loading, not for finding config files.
Do you still have 10g installed? When you connect using sqlplus user/pass@tnsname, are you using 11g sqlplus? Or is that coming from the 10g client? Multiple homes arent aware of each other, so if you have a 10g home and an 11g home, you'd have to configure tnsnames.ora for both (or use tns_admin).
As far as I know, the client software picks up tnsnames.ora by checking:
1) the local working directory
2) the tns_admin directory
3) the network\admin directory of the client home being used.
Hope it helps,
Greg -
Suddenly getting "ORA-12154: TNS: could not resolve service name"
Hi all
A fairly basic post from a newbie here!
Basically, I connect to several Oracle 9i instances from my PC using Toad and SQLPlus. Yesterday, this was working fine, but today, I am getting "ORA-12154: TNS: could not resolve service name" every time I try to hit any oracle instance from either Toad or SQLPlus. I have checked my TNSNAMES.ora file and it looks fine.
Are there any system variables I should look at? My PATH was changed yesterday, but I have checked and my Oracle 9i bin path is still correctly in my PATH.
I'm a bit baffled so any help/pointers would be most welcome!
Many thanks
JonSince you have changed your PATH, did you change any other Env Variable?
How many ORACLE_HOME have you got. i.e have you installed any new Oracle Software on the same machine?
Ensure that that Environment Variables ORACLE_HOME and TNS_ADMIN is pointing to the correct directory where your TNSNAMES.ORA is located. -
ORA-12154: TNS:could not resolve the connect identifier specified (sqlplus)
Hi All,
I don't know if this has ever been posted, but since I've spent a week figuring it out (no joke, a week), I thought I would post it so that no one else has to waste this much time.
"ORA-12154: TNS:could not resolve the connect identifier specified" from what I've seen on this site is a major problem for a lot of people, but I did not find a reference to my specfic problem.
FYI--
My Database is called "ordidm"
userID: SYSMAN
password: p@ssw0rd
My specific issue was the following:
I can....
- Connect to the database via the client "admin assstant" GUI in Windows while supplying the userID and password using the "Database Authentication".
- Connect via sqlplus as "/as sysdba"
- "tnsping oraidm" passes works just fine.
I CANNOT....
- connect to oraidm at the dos prompt by using sqlplus, regardless of whether or not I supply all the user authentiocation information and db name on one line, or...if I just type "sqlplus" at the command prompt and then enter the userID and password when prompted. Every time I get the "ORA-12154: TNS:could not resolve the connect identifier specified" error message.
Ready for this?? (some may have guessed this already) The problem is the "@" in my password. After looking closely at the trace logs, I noticed that one of the entries was...
[09-MAR-2009 08:23:12:921] nnftrne: Original name: ssw0rd
Remember that the format for connecting on one line at the dos prompt is
C:/> sqlplus SYSMAN/p@ssw0rd oraidm
or you can do the following...
C:\Documents and Settings\Administrator.WIN2K3>sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Mar 9 09:08:50 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: scott
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>
(BTW-I just started using the "scott" ID because from what I understand, changing the SYSMAN userID password is kind of a pain. Figured just using "scott" ID would be easier to test)
So of course what it's doing is counting everything after the first "@" as the database name...which of course it can't find in the tnsnames.ora file. Also, contrary to some other posts I found here and there, enclosing the userID and/or passowrd in quotes does not do any good. Apparently, even when using the 2nd method...in the background, the end result is it must pass the whole thing as one long string much like in the 1st method (as you will get the same truncated "Original Name" of "ssw0rd" in the log)
So...the question is, why does Oracle even allow "@" in the password if it will become an issue with sqlplus??? Also, if you can't (or shouldn't) use it, why isn't it documented somewhere? At the least I would expect the installer to at least warn you ahead of time that an "@" is not suggested. I don't remember it being there. Maybe it's just me and I'm just missing this info somewhere
I sincerely hope this saves someone else a week of their life. ;-)
-Ericuser8100001 wrote:
Hi All,
I don't know if this has ever been posted, but since I've spent a week figuring it out (no joke, a week), I thought I would post it so that no one else has to waste this much time.
"ORA-12154: TNS:could not resolve the connect identifier specified" from what I've seen on this site is a major problem for a lot of people, but I did not find a reference to my specfic problem.
FYI--
My Database is called "ordidm"
userID: SYSMAN
password: p@ssw0rdThere are restrictions from oracle side how should password look:
Passwords can be from 1 to 30 characters.
The first character in an Oracle password must be a letter.
Only letters, numbers, and the symbols “#”, “_” and “$” are acceptable in a password.
And password must not be a reserved word (look into v$reserved_words).
And as You can see sysman password containt "@" - this is not allowed.
>
My specific issue was the following:
I can....
- Connect to the database via the client "admin assstant" GUI in Windows while supplying the userID and password using the "Database Authentication".
- Connect via sqlplus as "/as sysdba"
- "tnsping oraidm" passes works just fine.
I CANNOT....
- connect to oraidm at the dos prompt by using sqlplus, regardless of whether or not I supply all the user authentiocation information and db name on one line, or...if I just type "sqlplus" at the command prompt and then enter the userID and password when prompted. Every time I get the "ORA-12154: TNS:could not resolve the connect identifier specified" error message.
Ready for this?? (some may have guessed this already) The problem is the "@" in my password. After looking closely at the trace logs, I noticed that one of the entries was...
[09-MAR-2009 08:23:12:921] nnftrne: Original name: ssw0rd
Remember that the format for connecting on one line at the dos prompt is
C:/> sqlplus SYSMAN/p@ssw0rd oraidAnd here You can see why this symbol is restricted as full syntax for sqlplus in this case will be:
sqlplus username/password@oraidm
but in Your case @symbol already is in password.
Here can be used a small trick
sqlplus sysman/"p@ssw0rd"@oraid
>
or you can do the following...
C:\Documents and Settings\Administrator.WIN2K3>sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Mar 9 09:08:50 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: scott
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>
(BTW-I just started using the "scott" ID because from what I understand, changing the SYSMAN userID password is kind of a pain. Figured just using "scott" ID would be easier to test)
So of course what it's doing is counting everything after the first "@" as the database name...which of course it can't find in the tnsnames.ora file. Also, contrary to some other posts I found here and there, enclosing the userID and/or passowrd in quotes does not do any good. Apparently, even when using the 2nd method...in the background, the end result is it must pass the whole thing as one long string much like in the 1st method (as you will get the same truncated "Original Name" of "ssw0rd" in the log)
So...the question is, why does Oracle even allow "@" in the password if it will become an issue with sqlplus??? Also, if you can't (or shouldn't) use it, why isn't it documented somewhere? At the least I would expect the installer to at least warn you ahead of time that an "@" is not suggested. I don't remember it being there. Maybe it's just me and I'm just missing this info somewhereActually Oracle is not allowing this if You will just try to
alter user scott identidified by p@ssword
You will get error message (ORA-00922: missing or invalid option), but You can
alter user scott identified by "p@ssword" - and that will work.
These double quotes will allow to overide Oracle restrictions. -
Hi Gurus,
I need your help!
I am implementing dataguard through RMAN, where my primary database is mydb and my standby database is orcl. I am pasting step by step process and atlast the error message which I am getting. Please do help me to resolve it.
[oracle@localhost ~]$ . oraenv
ORACLE_SID = [orcl] ? mydb
The Oracle base for ORACLE_HOME=/u01/home/oracle/product/11.2.0/db_1 is /u01/app/oracle
[oracle@localhost ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sun Jan 5 09:24:56 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select db_unique_name, database_role, open_mode from v$database;
DB_UNIQUE_NAME DATABASE_ROLE OPEN_MODE
mydb_un PRIMARY READ WRITE
SQL> show parameter instance_name
NAME TYPE VALUE
instance_name string mydb
SQL> show parameter service_names
NAME TYPE VALUE
service_names string mydb_un
SQL> !
[oracle@localhost ~]$ . oraenv
ORACLE_SID = [oracle] ? orcl
ORACLE_HOME = [/home/oracle] ? /u01/app/oracle/product/11.2.0/dbhome_1
The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 is /u01/app/oracle
[oracle@localhost ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sun Jan 5 09:20:04 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select host_name, status from v$instance;
HOST_NAME STATUS
localhost.localdomain STARTED
SQL> show parameter instance_name
NAME TYPE VALUE
instance_name string orcl
SQL> show parameter service_names
NAME TYPE VALUE
service_names string orcl_un
SQL> !
[oracle@localhost ~]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 05-JAN-2014 09:27:44
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 05-JAN-2014 08:17:31
Uptime 0 days 1 hr. 10 min. 15 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "mydbXDB" has 1 instance(s).
Instance "mydb", status READY, has 1 handler(s) for this service...
Service "mydb_un" has 1 instance(s).
Instance "mydb", status READY, has 1 handler(s) for this service...
Service "orcl_un" has 1 instance(s).
Instance "orcl", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully
[oracle@localhost ~]$ tnsping mydb
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 05-JAN-2014 09:27:54
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/u01/home/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = mydb_un)))
OK (0 msec)
[oracle@localhost ~]$ tnsping orcl
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 05-JAN-2014 09:28:03
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/u01/home/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl_un)))
OK (0 msec)
[oracle@localhost admin]$ more listener.ora
# listener.ora Network Configuration File: /u01/home/oracle/product/11.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = mydb_un)
(ORACLE_HOME = /u01/home/oracle/product/11.2.0/db_1)
(SID_NAME=mydb)
(SID_DESC =
(GLOBAL_DBNAME = orcl_un)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = orcl)
ADR_BASE_LISTENER = /u01/app/oracle
[oracle@localhost admin]$ more tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/home/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
MYDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = mydb_un)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl_un)
[oracle@localhost ~]$ rman target sys/engineer@mydb auxiliary sys/engineer@orcl
Recovery Manager: Release 11.2.0.1.0 - Production on Sun Jan 5 09:30:59 2014
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-12154: TNS:could not resolve the connect identifier specified
[oracle@localhost ~]$
Please let me know why I am getting this error if everything is fine above.
Regards,
MichelHere's your issue
(HOST=localhost.localdomain)
If you are going to use "localhost" at least fake it by adding an entry in your /etc/hosts files
Example ( add to both servers so they can see each other )
192.168.0.20 primary.localdomain primary
192.168.0.21 standby.localdomain standby
Does the "hostname" return localhost.localdomain? Setup something so RMAN has something to connect to.
The "/etc/hosts" file must contain a fully qualified name for the server.
<IP-address> <fully-qualified-machine-name> <machine-name>
localhost.localdomain is 127.0.0.1, you don't want that.
Best Regards
mseberg -
ORA-12154 TNS Could not resolve the service name
I am working on Oracle 9i(Release 2) windows version. I want to change the value of
shared pool size, buffer size and others database parameter through "Enterprise Manager Console" but
when i connect to sysdba mode message comes "ORA-12154 TNS Could not resolve the service name".
How can I solve this problem?these problem are you getting from OEM?
post
lsnrctl status
lsnrctl services
make sure database is running.. all the services running in services.msc
check error code and start..
ORA-12514:
TNS:listener does not currently know of service requested in connect descriptor
Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
Action:
- Wait a moment and try to connect a second time.
- Check which services are currently known by the listener by executing: lsnrctl services <listener name>
- Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.
- If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener.
- Check for an event in the listener.log file. -
Ora-12541 ORA-12154: TNS:could not resolve the connect identifier specified
I am having trouble obtaining an ODBC connection from a client XE to a server XE. ora-12541 ORA-12154: TNS:could not resolve the connect identifier specified
I am new to Oracle.
I have oracle client XE running on my XP pro box.
I have oracle server XE running on an XP pro box on the LAN.
I am trying to connect to the oracle database using ODBC from my client box.
I can logon to the oracle server box through HTTP.
I can logon to the oracle server box by using a connection string in "Command Line SQL" from my client computer. I can then run queries on my client computer. (select * from global_name)
I cannot setup an ODBC connection in windows which will connect to the oracle server box from my client box. (I have no trouble connecting to MSSQL databases).
I can ping my server by hostname or ip address. Both ok.
I can run tnsping XE on the server box and it works. I believe this tells me my server listener is working.
I cannot run tnsping on my client box as it is not included in the download for Client XE.
Windows firewall is turned off on both machines.
I have been reading all over the web for and all attempts fail. Most all help says use Oracle Net Manager or some such tool. They then say go to start\programs\oracle….etc. There is no type program included on the server or the client software. I would like to know here I can download it.
XEClint\Bin is the firs entry in my PATH. The tnsnames.ora, sqlnet.ora, and listner.ora files are there. I have been to http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25143/toc.htm several times. My tnsnames.ora are identical to the ones in the example except for the host =.
I have 3 tnsnames.ora files on my computer:
Directory of c:\
04/03/2008 11:43 AM 635 tnsnames.ORA
Directory of c:\Documents and Settings\All Users\Application Data\Microsoft\Net
work
04/03/2008 11:43 AM 635 tnsnames.ORA
1 File(s) 635 bytes
Directory of c:\XEClient\bin
04/03/2008 11:43 AM 635 tnsnames.ORA
1 File(s) 635 bytes
They are all identical.
When I ran lsnrctl status on the server the results were the same as found in other articles in the web site. Default service XE
I have the Oracle in XE Client driver in my windows ODBC driver list of the client box. And other Oracle drivers.
It appears I am lost.
Any help would be appreciated.
RandyI cannot setup an ODBC connection in windows which will connect to the oracle server
box from my client box. (I have no trouble connecting to MSSQL databases).How you tryed to do that?
On which step you have problems? -
DNS Set Up system throw as ORA-12154; TNS :could not resolve the connect id
Hi,
While i'm creating DNS set up system throws below message
unable to connect
SQLState=08004
DNS Set Up for instantclient(win32-10.2.0.4) system throw as ORA-12154; TNS :could not resolve the connect identified specified.
operationg system:xp
dir path:C:\Oracle\instantclient10_2
TNSNAMES.ORA(C:\Oracle\instantclient10_2\NetWork\ADMIN) Contants
YourTNSName =sankar
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT =1521))
(CONNECT_DATA =
(SID =sankar)
(SERVER = DEDICATED)
dir contains:
sqresus.dll,
sqresja.dll
sqoras32.dll
sqora32.dll
oraociei10.dll
oraocci10.dll
orannzsbb10.dll
ojdbc14.jar
ocijdbc10.dll
ociw32.dll
oci.dll
classes12.jaruser7197586 wrote:
Hi
I have been created one DBLink it's created but when i am trying to access the data through the link it's raise error as
"ORA-12154: TNS:could not resolve the connect identifier specified"
CREATE
PUBLIC DATABASE LINK
Vrd_tcplink
CONNECT TO
"SAPVRD"
IDENTIFIED BY
"manager123"
USING
'VRD_TCP.WORLD'
created this above dblink
Kindly Suggest to wau out.
Regards,
Sachin
When using a dblink, the database with the link is acting as a client to the remote database ... exactly like sqlplus running on the db server.
read: http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/ ora-12154tns-03505 -
Ora-12154:TNS:Could not resolve the connect identifier specified
Helo
I face this error when i tried to connect to the database.
i have been installed 11g database on machine with database name 'hrall'
But when i tried to connect to the database it's shows me error "ora-12154:TNS:Could not resolve the connect identifier specified"
when i put the old database entry an that machine and try ti connect it's connect Successfully.
Kindly Suggest
Regards,
SachinHi Error not solved yet
i am giving you my system details as follow -
OS Name : Microsoft(R) Windows(R) Server 2003 Standard x64 Edition
System Type: x64-based PC
My tnsentry also right
posted as follow -
HRALL.voltasworld.com =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ps-win-hrall.voltasworld.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = hrall)
listener.ora file
# listener.ora Network Configuration File: F:\app\dbadmin\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = F:\app\dbadmin\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:F:\app\dbadmin\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = ps-win-hrall.voltasworld.com)(PORT = 1521))
ADR_BASE_LISTENER = F:\app\dbadmin
Kindly Suggest
Regards
Sachin -
ORA-12154: TNS:could not resolve the connect identifier specified [10g XE]
Greetings
There are many topics on this issue over the internet but None of them addresses this issue properly, so I couldn't find a solution to the problem.
I installed: Oracle Database 10g Express Edition
After the installation was done, I opened SQL Command Line
and I used the command "connect" to login
I enter the username
Then I entered the password
After a couple of seconds I got the following ERROR message:
ORA-12154: TNS:could not resolve the connect identifier specified
Screenshot of the error:
http://i35.tinypic.com/14o26g7.png
I installed this version of Oracle on both Windows XP 32 bit and Windows 7 32 bit and I get the same error message when it tries to connect.
Why doesn't Oracle work right after the installation?
Are there any further steps that need to be done in order to make this work? If so I would really appreciate any step by step help, I've been stuck trying to find a solution for days.
Edited by: user10192105 on Aug 22, 2010 7:34 PM>
I wento to CMD, then I entered sqlplus / as sysdba and that just opened the SQL*Plus program in CMD (SQL>)
But nevertheless I still need to login with a user name and password which and I tried and I got the same error message.
>
We're making progress, you'll be logging in soon....
Get into SQL*Plus with the command I gave you, now type this:
alter user <theusernameyouwant> identified by abc123;followed by (still in SQL*Plus):
connectafter you type "connect", SQL*Plus will ask you for a user name and password. Use the same user name and password you used in the alter command.
HTH,
John. -
ORA-12154: TNS:could not resolve service name
Hi Guru's
i applied Maintainacepack 3480000 patch on my application for upgrading 11.5.7 to11.5.10.2, after completion of patch, I run the autoconfig it has given bellow error, please anybody can help me, i need to finish my task immediately, please provide me the solution.
autoConfig Profile Phase
Running Profile Process 1 of 1 for CLN_TOP
Executing script in InstantiateFile:
/sgmtemp/prodcomn/admin/install/MSBEP004_dcpsr006osm/clnadmprf.sh
script returned:
clnadmprf.sh started at Sun Feb 17 06:24:13 WST 2008
The environment settings are as follows ...
ORACLE_HOME : /sgmtemp/prodora/8.0.6
ORACLE_SID :
TWO_TASK : msbep004
PATH : /sgmtemp/prodora/iAS/Apache/perl/bin:/sgmtemp/prodora/8.0.6/bin:/sgmtemp/prodappl/fnd/11.5.0/bin:/sgmtemp/prodappl/ad/11.5.0/bin:/sgmtemp/prodcomn/util/jre/1.1.8/bin:/sgmtemp/prodcomn/util/unzip/unzip::/sgmtemp/prodora/8.0.6/bin:/usr/bin:/usr/ccs/bin:/usr/sbin:/sgmtemp/prodora/iAS/Apache/perl/bin:/sgmtemp/prodora/iAS/Apache/perl/bin:/sgmtemp/prodora/8.0.6/bin:/sgmtemp/prodcomn/util/jre/1.1.8/bin:/sgmtemp/prodcomn/util/unzip/unzip:/sgmtemp/prodora/8.0.6/bin:/usr/bin:/usr/ccs/bin:/usr/sbin:/usr/java14/jre/bin:/usr/java14/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/sgmtemp/prodappl/bin:/usr/bin/X11:/sbin:/usr/lpp/pd/bin:.
LD_LIBRARY_PATH : /sgmtemp/prodora/8.0.6/network/jre11/lib/aix/native_threads:/sgmtemp/prodappl/cz/11.5.0/bin:/sgmtemp/prodora/8.0.6/lib:/usr/dt/lib:/usr/openwin/lib
Executable : /sgmtemp/prodora/8.0.6/bin/sqlplus
SQL*Plus: Release 8.0.6.0.0 - Production on Sun Feb 17 06:24:13 2008
(c) Copyright 1999 Oracle Corporation. All rights reserved.
ERROR:
ORA-12154: TNS:could not resolve service name
clnadmprf.sh exiting with status 1
ERRORCODE = 1 ERRORCODE_END
.end std out.
thanksPlease Apply "Patch 5985992 - TXK AUTOCONFIG ROLLUP PATCH Q (JUL/AUG 2007)", run AutoConfig, and check then.
-
Fundamental Problem: ORA-12154: TNS:could not resolve service name
Hello,
I am faced with a fundamental problem:
ORA-12154: TNS:could not resolve service name
I can say with a high level of confidence that the TNSNAMES.ora configuration file is not the problem. My peer is using the exact same file with no issues. I am using the TOAD database utility to connect to the db host. Also, I have ORACLE_HOME defined and the file is located in /network/ADMIN.
Any ideas?Hello,
Make sure your toad looking into right tnsnames.ora; also try this from command line after adding following entry to your tnsnames.ora.
sqlplus username/password@ECDEV
ECDEV =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = rscdd01) --> you can try ipaddress of your server name as well
(PORT = 1521)
(SDU = 8192)
(CONNECT_DATA =
(SERVICE_NAME =ECDEV)
(INSTANCE_NAME=ECDEV)
)Edited by: OrionNet on Dec 23, 2008 2:22 PM -
MSDAORA,IIS,ORA-12154: TNS:could not resolve service name
Hi All,
I have a Web Service that coded in VS2008, using ORACLE DB(9i).
At a time the application working fine and I can access and do everything with database.
Some other time database server is down for scheduled maintenance. If I try to run the application at this point of time it will raise err "ORA-12154: TNS:could not resolve service name".
When i reset iis it start to work fine for a while.Then same problem occurs again.
My connection string is connectionString="provider=MSDAORA.1;data source=***;user id=***;password=***;"
is there any solution?
i tried that;
If theire is multiple copies of OCIW32.dll you have to make sure that there is only one copy of OCIW32.dll which should be in /Bin folder of the oracle home folder.
Add the IUSR_machine name account and the IWAM_machine name account to the Oracle home folder. Give both accounts full control.
Create empty file tnsnames.ora in same directory as aspnet_wp.exe,Hi,
The issue doesnt make much sense on the surface at least. 12154 means the client couldnt figure out what you were referring to with your Data Source= entry. If the database was taken down, I'd expect an "oracle not available" or some other sort of error, as the client should have still be able to resolve the entry at least, even if the database wasnt up at the time.
What do you mean by "When i reset iis it start to work fine for a while.Then same problem occurs again."? The same problem meaning you get 12154 when you take the database down? Or you get 12154 without a db restart?
Are you using TNSNames.ora for client naming resolution, or something else (ldap, for example)?
Greg -
ORA -ERR :Tns could not resolve service name
Hi,
I am tring to get into sql plus. As the oracle is pre installed and as donot know the system password, I am tring to login as Scott/tiger and host string as 'ORCL'.
I am getting the following error.
ORA-12154 :
Tns could not resolve service name
Is there any way to find the Host string name through any of the installation files.
Please suggest.
BadrinathHi,
Open the tns file ( available at oracle_home/network/admin/tnsnames.ora). I do not know what your oracle_home name is. Usually it is oracle/ora81/ under c: or D: or where ever you installed Oracle. Go thru the file. You will find the service name. Use that while logging. If you want to login to ORCL, it has to be there in tns files name otherwise Oracle cvan not resolve the name.
Good luck
Krishna Priya
null -
ORA-12154: TNS:could not resolve the connect identifier
I am simply trying to move a site from a Windows 2003 32bit server to a Windows 2008 R2 64-bit. The database was on and is remaining on the 2008 server. Trying to run the new site results in:
ORA-12154: TNS:could not resolve the connect identifier
This error pops up more than a few times in the forums but do not seem unique to my situation where I know the connection string works fine from another server. Any insights?Working
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\>SET
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Cherie.Jarvis\Application Data
ARCGISHOME=D:\Program Files\ArcGIS\
CLIENTNAME=ZEKIAH-PC463
ClusterLog=C:\WINDOWS\Cluster\cluster.log
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
COMPUTERNAME=CFLGIS1
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Cherie.Jarvis
LOGONSERVER=\\BATMAN
NUMBER_OF_PROCESSORS=4
ORACLE_HOME=D:\Ora11g\Administrator\product\11.1.0\db_1
OS=Windows_NT
Path=D:\Program Files\ArcGIS\ArcSDE\ora11gexe\bin;D:\Ora11g\Administrator\produc
t\11.1.0\db_1\bin;D:\Ora11g\Administrator\product\11.1.0\db_1;D:\Ora11g_Client32
\product\11.1.0\client_3;D:\Ora11g_Client32\product\11.1.0\client_3\bin;C:\WINDO
WS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files (x86)\Microsoft
SQL Server\90\Tools\binn\;C:\Program Files\ArcGIS\ArcSDE\ora11gexe\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=EM64T Family 6 Model 23 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=170a
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
PROMPT=$P$G
PYTHONPATH=D:\Program Files\ArcGIS\bin
SDEFORCEXDR=1
SDEHOME=C:\Program Files\ArcGIS\ArcSDE\ora11gexe\
SESSIONNAME=RDP-Tcp#461
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\CHERIE~1.JAR\LOCALS~1\Temp\1
TMP=C:\DOCUME~1\CHERIE~1.JAR\LOCALS~1\Temp\1
TNS_ADMIN=D:\Ora11g\Administrator\product\11.1.0\db_1\NETWORK\ADMIN
USERDNSDOMAIN=CFLHD.LOCAL
USERDOMAIN=CFLHD
USERNAME=Cherie.Jarvis
USERPROFILE=C:\Documents and Settings\Cherie.Jarvis
VS90COMNTOOLS=D:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\
windir=C:\WINDOWS
C:\Documents and Settings\Cherie.Jarvis>
Not Working
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:>set
AGSSERVERJAVA=C:\Program Files (x86)\ArcGIS\Server10.0\
ALLUSERSPROFILE=C:\ProgramData
ANT_HOME=D:\Software\apache-ant-1.8.1
APPDATA=C:\Users\cherie.jarvis\AppData\Roaming
CLIENTNAME=ZEKIAH-PC463
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=CFLGIS2
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\cherie.jarvis
JAVA_HOME=D:\Program Files\Java\jdk1.6.0_22
LOCALAPPDATA=C:\Users\cherie.jarvis\AppData\Local
LOGONSERVER=\\BATMAN
NUMBER_OF_PROCESSORS=16
ORACLE_HOME=D:\ORA11G\Administrator\product\11.1.0\db_1
OS=Windows_NT
Path=D:\app\Zekiah\product\11.1.0\client_2;D:\app\Zekiah\product\11.1.0\client_2
\bin;D:\Program Files (x86)\PHP\;D:\Ora11g_Client32\product\11.1.0\client_1\bin;
D:\Ora11g\administrator\product\11.1.0\db_1\bin;C:\Windows\system32;C:\Windows;C
:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Program F
iles\ArcGIS\ArcSDE\ora11gexe\bin;D:\Program Files (x86)\MySQL\MySQL Server 5.1\b
in;D:\Program Files\Java\jdk1.6.0_22\bin;D:\Software\apache-ant-1.8.1\bin;D:\Pro
gram Files\TortoiseSVN\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PHPRC=D:\Program Files (x86)\PHP\
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 44 Stepping 2, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=2c02
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SDEHOME=D:\Program Files\ArcGIS\ArcSDE\ora11gexe\
SESSIONNAME=RDP-Tcp#0
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\CHERIE~1.JAR\AppData\Local\Temp\2
TMP=C:\Users\CHERIE~1.JAR\AppData\Local\Temp\2
USERDNSDOMAIN=CFLHD.LOCAL
USERDOMAIN=CFLHD
USERNAME=Cherie.Jarvis
USERPROFILE=C:\Users\cherie.jarvis
VISUALSVN_SERVER=D:\Program Files (x86)\VisualSVN Server\
windir=C:\Windows -
ORA-12154: TNS:Could not resolve service name. (WIS 10901).
HI Gurus, we have the following scenario...
Weu2019ve installed Busines Objects EDGE 3.1 SP3.
The server of this installation is MS Windows Server 2003 Enterprise Edition SP2, Intel ® Xeon Enterprise TM CPU 2.80 GHz 6.5 RAM.
In the Server we have SAP R/3 Installed over a DB Oracle 9i Enterprise Edition Release 9.2.8.0.
We installed all BO bundle with successful and we can use the Designer Tool for create universe. In the creation of the universe, we created a connection to the database of the SAP R/3 System and the test runs well, we save and export the universe to CMS. Then, we used that universe in the WebI tool of the suite installed in the server, and it runs well (we call the universe, selected fields of the table, and after run the query, it gives us registers of the DB).
After all this, we open the InfoView and used the WebI and execute the same universe and the same steps. And when we execute the query the following error occurs .
A database error occured. The database error text is: ORA-12154: TNS:Could not resolve service name. (WIS 10901)
The connection to DB is through Designer and we use ODBC Oracle to create the Universe with the Client type and we used super user system, validated previously OK.
Any suggestion for this error?.
Thanks.
Betto.
Edited by: Alberto Magaña Chávez on Jul 9, 2011 7:44 PMMake sure there are no syntax errors in the TNSNAMES.ORA file, look for unmatched parentheses. Also check the SQLNET.ORA file.
Is the environment is clustered, if so then make sure you have the ODBC connection in all the servers.
Maybe you are looking for
-
I am trying to delete iTunes 10.2 from my computer so I can install iTunes 10.6.3, but I get an error message stating that 10.2 is corrupt and will not delete. What do I need to do to delete it?
-
Error message while transporting SapScript to productive system
Hi, I have tried to transport an order sapscript form (modified Medruck) into the productive system. But I got errors in transaction stms. The error message is displayed like this: <b>R3TRFORMZMEDRUCKN</b> was repaired in this system Message no. <b>T
-
i get this whenever i try to open speed fan. i am using i5 4570 cpu b85m-e motherboard gtx760 video windows 8.1 64bit please help
-
Display Flex Value Set according to responsibility
Hi, Is it possible to show specific FlexValueSet according to responsibility? For example: PA responsibility only can maintain PA related FlexValueSet. Thanks~~
-
'SUBSTRING_INDEX' is not a recognized built-in function name.
actually iam modifing the servlet code to connect with MSSQL.previously it was MYSQL.now compiling is ok. while running it shows error at the top of the linked page as... error [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]'SUBSTRING_INDEX' i