ORA-12154 error connecting CR 2008 to Oracle XE on Windows 7
I have Crystal 2008 SP3 running on Windows 7. I have Oracle Database Express Edition installed and running. Using the DirectData CR Oracle ODBC Driver 5.1 I test connect fine to Oracle but when I try to use Database Expert to connect to my Oracle database I fail to connect.
The error I get is Failed to open the connection. Details: ORA-12154: TNS:could not resolve the connect identifier specified. [Database Vendor Code: 12154]. I've spent a lot of time here trolling for information. My TNSnames.ora file appears to be correctly formatted but I'm not sure if it has the correct information in it. I checked my Path and that may be the problem but I am not technical enough to know what to put there so that this 32-bit driver is the first in the list. It's the driver in Windows/SysWOW64. I just need to be able to run a SQL statement in Oracle and create RPTs in CR - not be an OS Expert. Any help would be greatly appreciated.
TNSNAMES.ORA
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Owner-VAIO)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
PATH
PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program File
s (x86)\Common Files\Microsoft Shared\Windows Live;C:\oraclexe\app\oracle\produc
t\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\W
indows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Softw
are\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)
\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Common Files\R
oxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Intuit\QBPOSSDKRuntim
e;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Windows Live
\Shared
Hello,
This should work, XE is not lsited in our supported platforms PDF but it's still 10.2 which is supported.
There are more tools you can use to debug, third party Connection tests and ProcessMonitor as well as our database logging dll but if you are running out of time I suggest you purchase a single case and a Rep will contact you directly to resolve the problem.
To get a single support case got to:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=38156200
And No, the ORA file should be in the that folder.
Thanks again
Don
Similar Messages
-
ORA-12154 Error - NET8 Connection Tester Works Though
I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home.
When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, when I go into Net8 Assistant and test the connection, it work without an issue no matter what login/password I use, from a developers to the system login and password.
Any ideas?I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home.
When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, when I go into Net8 Assistant and test the connection, it work without an issue no matter what login/password I use, from a developers to the system login and password.
Any ideas? -
Ora 12154 error when trying to add a database to VS Server Explorer
Hi Everyone,
I get the Ora 12154 error when trying to add a database to VS Server Explorer.
How do I get around this problem.
The database service is running and I can connect to the database with pl/sql.
I can also tnsping the database and that is also ok.
Looks like a problem with the odp.net software.
I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
I am new to this stuff so please help me step by step.
Thanks.
EmadHi J. B.
I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
Anyway here is the VB coding I used. I'm new to this and still learning:
Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
Public Class Form1
' String to connect to the database.
Dim strConnectionString As String = _
"Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
' Associate the connection string with a connection object.
Dim objOracleConnection As New OracleConnection(strConnectionString)
' SQL query for returning data rows.
Dim strSqlQuery As String = _
"Select dname, deptno " & _
"From dept " & _
"Where deptno = 10" '
' Command object to make this query work.
Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' Identify what type of command is being used.
objOracleCommand.CommandType = CommandType.Text
Try
objOracleConnection.Open()
' Set up a Data Reader and load it with data.
Dim objOracleDataReader As OracleDataReader = _
objOracleCommand.ExecuteReader()
objOracleDataReader.Read()
' Convert the department number to a string.
lblDepartmentNumberFromOracle.Text = _
CStr(objOracleDataReader.Item("deptno"))
Catch ex As Exception
MessageBox.Show(ex.Message, "Error")
End Try
End Sub
End Class
I still want to thank you for the help you are providing.
Truly,
Emad -
ORA-12154 Error After Install of Enterprise Manager
I have a new new laptop with minimal software installed. Everything was fine and I was able to connect to 4 different Oracle 9i databases.
This morning I installed Oracle Enterprise Manager (10g) and now I get the dreaded ORA-12154 error.
I now find a copy of TNSNAMES.ORA in three places. I have copied the correct version to the two new 10G locations and I have verified that all three copies of TNSNAMES.ORA and SQLNET.ORA are correct and identical.
Do anybody have any idea what else could be wrong?I am certain the TNSNAMES.ORA file is fine as it is "pushed" from a central IT department. I have compared it to the one on a second computer (which has only 9i installed) in my office and they are identical.
I examined the Oracle 9i directories and there was no LISTENER.ORA anywhere. On the 9i only computer the command - C:\>dir listener.ora /s /p executed in a DOS window returned no files.
Everything was working fine until I installed Enterprise Manager 10g (10.2.0.2.1).
I have TOAD installed and it connects to both of the 9i development and production databases, so I know the TNSNAMES.ORA is okay.
It woudl seem that there is a conflict between 10g and 9i Developer/2000. -
ORA-12154 when connect to Ora10 using an odbc from visual C++
Hello
I have the follong problem , I have a machine that must access to an oracle database , I have made an Odbc Conection and if I make atest there is no one problem and the test is sucessfully . My problem is when I 'm trying to access using my visual c++ program in this case I get an ORA -12154 error , using the same odbc connection that I have probe, also I have probe this program over others machines and there is no problem to access to the database . Can anyone tell me something ??
The machine is an windows XP and the programa is a Visual C++.net .Well we have find the problem , was the path of the application . this has 84 characters we have put our program in a shortest path and now works!!!!
-
Hi,
I am a newbie in oracle forms. I have installed oracle database 10gr2 on windows xp in c directory. In D drive i have installed oracle developer suite 10g. When i try to connect database from developer suite i receive ORA 12154 error.
Do i need to change tnsnames.ora in developer suites 'D' directory or in database'C' directory.
Please explain me in steps so that i can configure developer suite.
Thank YouForms will use its own Tnsnames.ora file so create alias for it
Run NetCA from
START > PROGRAMS > ORACLE - Oracle HOME name > Configuration and Migration tools > Net Configuration Assistant
and create Alias for Local naming
also make sure the Listener and Database is up and running
Baig,
[My Oracle Blog|http://baigsorcl.blogspot.com/] -
Dear All,
I have changed the PWD file on oracle 9.2.04 under linux redhat advance server 2.1. but when i start to open database by issuing dbstart, i get
ORA-01990: Error opening password file '/home/oracle/OraHome1/dbs/orapw'
ORA-27037: unable to obtain file status
Linux Error: 2 : no such file or directory
additional information: 3
How to solve the problems?
thanks and regard
ERHai all...
I did it all..
but still I got
ORA-01990: Error opening password file '/home/oracle/OraHome1/dbs/orapw'
ORA-27037: unable to obtain file status
Linux Error: 2 : no such file or directory
additional information: 3
Help me...
Thanks
regard
ER -
ORA-12154 error when trying to connect to Oracle 11g DB from Excel 2010
All,
I am trying to set up Excel 2010 64-bit to connect to an Oracle 11g database, but am having some trouble due to an "ORA-12154 could not resolve the connect identifier specified" error. I am able to TNSping the SID name, as well as connect to SQLplus. The TNS entry works, and the Oracle Home is in the right spot. I am even able to put the full connection string in the "Data Source" field when creating a data link in Excel and have it connect to the DB. But I would like to be able to create one that used the SID rather than the full connection string, as other users will have to use this. The developer behind the Excel solution created a number of .odc files to connect to various databases, so this gives extra weight behind figuring out how to connect via a SID rather than a full connection string. Any suggestions?user10832104 wrote:
All,
I am trying to set up Excel 2010 64-bit to connect to an Oracle 11g database, but am having some trouble due to an "ORA-12154 could not resolve the connect identifier specified" error. I am able to TNSping the SID name, as well as connect to SQLplus. The TNS entry works, and the Oracle Home is in the right spot. I am even able to put the full connection string in the "Data Source" field when creating a data link in Excel and have it connect to the DB. But I would like to be able to create one that used the SID rather than the full connection string, as other users will have to use this. The developer behind the Excel solution created a number of .odc files to connect to various databases, so this gives extra weight behind figuring out how to connect via a SID rather than a full connection string. Any suggestions?
If you are able to connect with sqlplus, then this really becomes a question of how to define a data connection in Excel.
But after quickly googling ..
In excel ...
"Data" tab
"from other sources"
"from data connection wizard"
select ODBC DSN
On data link properties, select the "connection" tab
select "Use Data Source Name" and hit the drop-down
select a dsn that you had previously set up to point to the oracle database.
Anyway, that looks like how it is supposed to be done. I'm getting a dll initialization error. Probably due to the fact I have both 32-bit and 64-bit oracle clients, and windows never handles that very gracefully. But then Windows never graceffully handles anything that isn't MicroSoft. To paraphrase Forest Gump, "My momma always said Windows was like a box of chocolates. You never know what you're going to get."
In any event, the error you report means it was actually tying to look it up in tnsnames, but what you supplied wasn't found there. That can also be a big issue when dealing with MS products, because they don't use the same terminology, so lead people into entering something other than what Oracle expects. Are you referencing an ODBC DSN? If so, have you tested that apart from Excel? -
ORA- 12154 Error: while php connect to oracle?
While I use OCILogon connect to Oracle9i,show error message as follow:
Warning: ociopen_server: Error while trying to retrieve text for error ORA-12154 in /var/www/html/inc/sev.inc.php on line 57
most of people think of its tnsname' problem,but I modify my tnsnames.ora,and sqlplus can connect with correct username and password.
page source as follow:
<?
function db_connect()
//putenv("ORACLE_SID=test");
//putenv("NLS_LANG=SIMPLIFIED CHINESE.ZHS16CGB231280");
putenv("ORACLE_HOME=/home/oracle/OraHome1");
$connect = OCILogon("system","manager","test");
if ($connect)
return $connect;
else
return -1;
?>
server Env: linux red hat 8.0,apache 2.0.44,php4.3.1,oracle9.2.0
please! Thank in advance!Do you have more than ONE oracle homes created?
Does your PATH env. variable correctly references the ORACLE_HOME directory? -
TNS error ORA-12154 : can connect to one server but not to another.
Hello,
I have a Forms 6.0 application running on a Solaris box. It connects
fine to an Oracle 9.0 server but fails with ORA-12154 when trying to
connect to Oracle 10g running on a different server.
'sqlplus' can connect fine to both servers .
'tnsping'result is succesful from the Solaris client to both servers.
Configuration details are as follows. (IP Addresses have been
sanitised. I've included the client side listener and also entries for
the 'local' Oracle 8i server running on the Solaris 'client' although
I think some of this may be not relevant):
1. Connecting to Server 9.0 : application CAN connect successfully:
a. application URL
http://host_ip_address:7778/dev60cgi/if60cgi?config=rack : application
runs successfully
b. client's formsweb.cfg excerpt:
[rack]
pageTitle=yadayada
form=login01
userid=user/pass@nn_rackspace
archive=f60all.jar, oracle_ice-4_03_1.jar
c. client's tnsnames.ora excerpt (local services not excluded):
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = sun1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
RR =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = sun1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = RR)
NN_RACKSPACE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 1.2.33.44)(PORT =1521))
(CONNECT_DATA =
# (SERVER = DEDICATED)
(SERVICE_NAME = QQ1.QONNECTIS.COM)
NN_QQ3 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
(CONNECT_DATA =
# (SERVER = DEDICATED)
(SERVICE_NAME = orcl.qonnectis.com)
NN_QQ3.qonnectis.com =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
(CONNECT_DATA =
# (SERVER = DEDICATED)
(SERVICE_NAME = orcl.qonnectis.com)
d. client's sqlnet.ora: contains ONLY:
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
e. client's listener.ora excerpt:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /space/oracle/OraHome1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /space/oracle/OraHome1)
(SID_NAME = orcl)
(SID_DESC =
(GLOBAL_DBNAME = NN)
(ORACLE_HOME = /space/oracle/OraHome1)
(SID_NAME = NN)
(SID_DESC =
(GLOBAL_DBNAME = RR)
(ORACLE_HOME = /space/oracle/OraHome1)
(SID_NAME = RR)
f. remote server's tnsnames.ora excerpt:
QQ1.QONNECTIS.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = qanasta1.qonnectis.com)
(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = QQ1.qonnectis.com)
QQ1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)
(HOST = qanasta1.qonnectis.com)
(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = QQ1)
QQ3.QONNECTIS.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl.qonnectis.com)
g. remote server's sqlnet.ora contains only:
NAMES.DEFAULT_DOMAIN = qonnectis.com
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
h. remote server's listener.ora excerpt:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)
(HOST =qanasta1.qonnectis.com)
(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/9.2.0.1.0)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = QQ1.qonnectis.com)
(ORACLE_HOME = /opt/oracle/product/9.2.0.1.0)
(SID_NAME = QQ1)
i. on Solaris client, tnsping nn_rackspace : succeeds
j. on Solaris client, sqlplus user/pass@nn_rackspace: succeeds
k. on server, Oracle server processes have names like ora_d000_QQ1.
l. on server, Oracle connected listener processes show up in ps
listing like oracleQQ1 (LOCAL=NO)
m. On server, lsnrctl status reports amongst other things
Service "QQ1.qonnectis.com" has 2 instance(s).
Instance "QQ1", status UNKNOWN, has 1 handler(s) for this service...
Instance "QQ1", status READY, has 1 handler(s) for this service...
2. Connecting to Server 10g : application does NOT connect successfully:
a. application URL
http://host_ip_address:7778/dev60cgi/if60cgi?config=rack2
b. client's formsweb.cfg excerpt:
[rack2]
pageTitle=yadayada
form=login01
userid=user/pass@nn_qq3
archive=f60all.jar, oracle_ice-4_03_1.jar
c. client's tnsnames.ora excerpt (local services not excluded):
-as above-
d. client's sqlnet.ora: contains ONLY:
-as above-
e. client's listener.ora excerpt:
-as above-
f. remote server's tnsnames.ora excerpt:
# default sid 'orcl' : for local access
orcl =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.qonnectis.com)
# QQ3_Vlan : default sid 'orcl' : access over 10. private net from qq1
QQ3_VLAN =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.99.99.99)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.qonnectis.com)
# nn_qq3 : default sid 'orcl' : access from external sites by public
# external IP - specifically sun admin dba tool in twx
NN_QQ3 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.qonnectis.com)
g. remote server's sqlnet.ora contains only:
NAMES.DIRECTORY_PATH= (TNSNAMES)
NAMES.DEFAULT_DOMAIN = qonnectis.com
h. remote server's listener.ora excerpt:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/OraHome_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /u01/app/oracle/OraHome_1)
(SID_NAME = orcl)
i. on Solaris client, tnsping nn_qq3 : succeeds
j. on Solaris client, sqlplus user/pass@nn_qq3: succeeds
k. on server, Oracle server processes have names like ora_d000_orcl .
l. on server, Oracle connected listener processes show up in ps
listing like oracleorcl (LOCAL=NO)
m. On server, lsnrctl status reports amongst other things
Service "orcl" has 1 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this
service...
Service "orcl.qonnectis.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
As you can see, I have tried adding an alias for the default domain
name suffix '.qonnectis.com' in the tnsnames.ora files on the solaris
client and on the new 10g server.
Just to add to the fun, the 'new' server running Ora 10g CANNOT connect
to the old server running Ora 9:
sqlplus user/pass@nn_qq3
sqlplus user/pass@nn_qq3.qonnectis.com both fail.
While the old 9.0 server CAN connect to the new 10g one:
sqlplus user/[email protected] succeeds.
Sorry this is such a mess. TBH I find this whole area extremely
confusing.
All suggestions welcome. Unfortunately I am away on holiday next week
but will follow up any leads when I get back.
thanks!
Victor Churchill.Hi DianeinBirmingham,
Welcome to the Apple Discussions
The Log goes further
Chat ended with error -8
Video Conference Error Report:
Video Conference Support Report:
Video Conference User Report:
Binary Images Description for "iChat":
This bit suggests the ports are not open.
Intermittent success like this And the ports not being open suggests a Modem that might be SIP aware such a Thomson-Alcatel Speedtouch device.
Can you tell us what modem you have ?
7:55 PM Friday; July 13, 2007 -
ORA-12154: Error when connecting to asm instance
hi all, I am now facing new problem with asm of clusterware, I failed to connect to asm instance, there is how I did it:
sqlplus /nologSQL*Plus: Release 11.2.0.1.0 Production on Wed Jul 7 04:58:52 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> connect sys@+ASM as sysasm
Enter password:
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
I consider listener is correct configed.
lsnrctl statusLSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2010 08:51:49
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 05-JUL-2010 22:12:29
Uptime 1 days 6 hr. 39 min. 23 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File E:\app\11.2.0\grid\network\admin\listener.ora
Listener Log File e:\app\11.2.0\grid\log\diag\tnslsnr\rac1\listener\aler
t\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\LISTENERipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.110)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.112)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+asm2", status READY, has 1 handler(s) for this service...
Service "itpub" has 1 instance(s).
Instance "itpub2", status READY, has 1 handler(s) for this service...
Service "itpubXDB" has 1 instance(s).
Instance "itpub2", status READY, has 1 handler(s) for this service...
The command completed successfully
How to resolve the promblem? Best regards..thank you for you kind.. I forgot it... but after I modify tnsname.ora, Error number changed..
tnsname.ora:
# tnsnames.ora Network Configuration File: E:\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ITPUB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac-cluster-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = itpub)
+ASM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac-cluster-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = +ASM)
*>sqlplus /nolog*
SQL*Plus: Release 11.2.0.1.0 Production on Wed Jul 7 12:50:07 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> connect sys@+asm as sysasm
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
SQL>
tnsping +asmTNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2
010 12:51:09
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
E:\oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = rac-clus
ter-scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = +as
m)))
OK (20 msec) -
Sporadic ORA-12154 errors when connecting
We are occasionally receiving "ORA-12154: TNS:could not resolve service name" errors in all of the applications running on our W2K web server connected to an 8.1.6 database on a Sun server. Does anyone have any idea what is causing this and how we can prevent it?
Try using an IP address in your tnsnames.ora instead of a machine name for a tns entry.
-
Gives ORA-12154 error, when trying to connect as sysdba
Hi Gurus,
I am new to oracle. I have successfully install Oracle Database 10gR2 on RHEL4.
Everyghing is working fine.
I found that loging through sqlplus not success as sysdba.(ORA-12154) But as a normal user I can loging through sqlplus. Anyway I can loging as sysdba through emctl console.
Can anyone help on this pls. Urgent.......................You're welcome.
I dont know how this happened Probably your old password had some special characters within it, that's why I wanted to know if connecting without password did work. Then I would have advised you to change your password (avoiding special characters...). -
ORA-12154:Can connect oracle in CGI!
I use such code to connect oracle , in shell
its work fine. but in Apache run as a CGI,
ORA-12154 occer. I have set the var such as ORACLE_HOME, etc.
olg(&lda,(ub1 *)hda,"scott/tiger@to195",...)
anything others i need do ?I use such code to connect oracle , in shell
its work fine. but in Apache run as a CGI,
ORA-12154 occer. I have set the var such as ORACLE_HOME, etc.
olg(&lda,(ub1 *)hda,"scott/tiger@to195",...)
anything others i need do ? -
ORA-12154 error when logging into SQL*Plus
I installed Oracle 10g (10.2.0.3.0) server on a Hyper-V virtual machine running Windows Server 2008 Enterprise as a standalone server. I did a software only install and then ran the Database Configuration Assistant to create a database. I also ran the Oracle Net Configuration Assistant to configure the Listener, Naming Methods, and Local Net Service Name. I ran the test in the Net Configuration Assistant and it was successful after I changed the login credentials to use the SYSTEM account and password. TNSPING of the net service name is successful. I can also successfully connect to the database via Enterprise Manager using the SYSTEM account and password. What I can NOT do is connect locally to the database via SQL*Plus (either through the gui or command line). I get the following error:
ERROR:
ORA-12154: TNS: Could not resolve the connect identifier specified
I've checked and double-checked the LISTENER.ORA, SQLNET.ORA, and TNSNAMES.ORA files. They all seem correct to me, especially since I used the configuration assistants to create them.
Anyone have an idea what might be wrong or what I can check next? Any help would be appreciated!
Thanks!They all seem correct to me, especially since I used the configuration assistants to create them. Garbage In, Garbage Out.
Since Oracle throws an error, I strongly suspect you are mistaken.
Simply put, you are using something like "@REMOTE" someplace & somehow and the error indicates SQL*Net does not know to what @REMOTE refers.
How many systems are involved, names, OS version, etc?
post connection string & post contents of tnsnames.ora file.
Maybe you are looking for
-
Imac 20" Intel Chime that's repeat but NO video or boot up
Hi, I have an Imac 20" intel and have the follwoing problem. When I boot my system, what i will get is the chime sound but this wil loop forever but further nothing. I removed the cover of it to check the Leds and the I get 3 leds. When I remove the
-
How can i see(view) my photos in iCloud before deleteing it?
how can i see(view) my photos in iCloud before deleteing it?
-
Does anyone know how to fix this bug? Thanks, Peter, Worcs.UK
-
Joining 2 ends of the image together
How can i join 2 images together in flash? or is there any website that teaches this? eg. i have a resistor and a wire and i want one end of the resistor and the other end of the wire to be join together when i click on both ends of the component. Th
-
Exposé error... some wierd bug... someone please help
I have a slight problem with my Ibook G4. Firstly the trackpad works most of the time but sometimes it just decides to give up on me. Secondly and more importantly, sometimes while innocently working on my ibook, the exposé feature goes a bit crazy.