ORA-02421: missing or not valid schema authorization identifier
Hello Evryone,I'm having a problem with the session of the user schema. I'm not able to change the schema that it even exists.
SQL>ALTER session SET CURRENT_SCHEMA='QA'
Error report:
SQL Error: ORA-02421: missing or invalid schema authorization identifier
02421. 00000 - "missing or invalid schema authorization identifier"
*Cause: the schema name is missing or is incorrect in an authorization
clause of a create schema statement.
*Action: If the name is present, it must be the same as the current
schema.
SQL>select username, account_status from DBA_USERS where username='QA';
USERNAME ACCOUNT_STATUS
------------------------------ --------------------------------
QA OPEN
SQL>SHOW user
USER is SYSTEM
SQL> select * from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for HPUX: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
Try it without the single quotes.
Best regards
mseberg
Test on mine:
Release 11.2.0.1.0 - 64 bit production
I get the same error with quotes
ERROR on line 1:
ORA-02421: missing or not valid schema authorization identifier
Published by: mseberg on August 15, 2011 14:50
So, this and then check
ALTER SESSION SET CURRENT_SCHEMA=QA
You can check it using this:
select sys_context('USERENV','SESSION_SCHEMA') from dual;
Published by: mseberg on August 15, 2011 15:08
Tags: Database
Similar Questions
-
ORA-00922: missing or not valid option?
Can someone tell me what is the problem with this statement:
SQL > CREATE TABLE CUSTOMER2
2 2 (employe_id NUMBER (10),)
3 3 FIRST NAME VARCHAR2 (40),
4 4 LASTNAME VARCHAR2 (40),
5 5 VARCHAR2 (40) OF COMPANYNAME,.
6 6 PHONE VARCHAR2 (40),
7 7 E-MAIL VARCHAR2 (40),
8 8 CITY VARCHAR2 (40),
9 9 VARCHAR2 (40) STATE.
10 10 ZIP VARCHAR2 (40)
11 (11);
2 (employe_id NUMBER (10),)
*
ERROR on line 2:
ORA-00922: missing or not valid optionInstead of your code with below
CREATE TABLE CUSTOMER2 ( employee_id NUMBER(10), FIRSTNAME VARCHAR2(40), LASTNAME VARCHAR2(40), COMPANYNAME VARCHAR2(40), PHONE VARCHAR2(40), EMAIL VARCHAR2(40), CITY VARCHAR2(40), STATE VARCHAR2(40), ZIP VARCHAR2(40) );
-
"Info product programmed into the system card is missing or not valid card system:
Info product programmed into the system card is missing or not valid card system:
The OOA product name,
OOA serial No.,
OOA product #.
System OOA board ct #.
I get this message every time I start all of a sudden. What it means and how to fix it? I just bought this laptop from staples are about 4 months!
Jenn121 wrote:
How to send the unit into operation? I was given assurances on this matter of Staples, can I put it to return? Or I'm doing something else?
Your 1 year warranty is HP and no store, but I do not know if they accept your laptop for service. You can use HP support (phone/Email/Chat) and connect to a case of this problem and directives on service will be communicated to the customer service you HP.
-
ORA-01843 a month not valid error
Hi all
We did an upgrade of database 9.2.0.1 to 11 GR 2 and after that everything works fine.
But now, we noticed that the users get to the ORA-01843 a month not valid error.
I changed the NLS_DATE_FORMAT in the init.ora file, but still the error persists.
As a work around, I changed the NLS_DATE_FORMAT = DD-MM-YYYY on the registry of client PCs and now its works in this pc...
Is there another way change receives in the world?
Advice
Thanks in adv,
MaheshMahesh says:
Hi allWe did an upgrade of database 9.2.0.1 to 11 GR 2 and after that everything works fine.
But now, we noticed that the users get to the ORA-01843 a month not valid error.
I changed the NLS_DATE_FORMAT in the init.ora file, but still the error persists.
As a work around, I changed the NLS_DATE_FORMAT = DD-MM-YYYY on the registry of client PCs and now its works in this pc...Is there another way change receives in the world?
Advice
Thanks in adv,
MaheshNLS_DATE_FORMAT can be set in several places, but this isn't either / or situation. Put in an init level db parm is the parameter most WEAK. This parameter is substituted by the client OS, which in turn, can be overridden by a SESSION of ALTER, which in turn, can be overridden by the use of the TO_CHAR TO_DATE to the individual sql statement. and if the date is entered by a human being to a keyboard (in fact to key in, not picked a calendar tool or a kind of drop-down selection list) you have really no direct control over the format of the string they capture. So ultimately it's on-demand to ensure that strings as dates are in the correct format.
That's why I advise developers to ALWAYS use to_char and to_date at the sql statement level. It's the only way they can ensure control over the setting.
-
"missing or not valid customization information resources library missing" on CS2
Problem:
I just installed CS2 on my Gateway desktop computer the other day. I was unable to use CS2 because I maxed out my code series on another laptop for work. I went a head and deactviated the serial number for CS2 and uninstalled on the laptop. I could use the CS2 on my Gateway desktop computer and transfer code series.
I go to my office and the CS2 still doesn't load right. Okay, so I try to uninstall the CS2. But there is no uninstall file and it does not appear in the uninstall Manager in Windows 7. So go a head and remove the majority of the CS2 in my program files and then try to reinstall a new copy of CS2. I get an error "missing or not valid customization information missing resource library.
How can I work around this new error? If I can reinstall a working copy of CS2 on my desk. It's a little frustrating. Anyone experienced the same problem? Any ideas would be great. Thank you
-Brian L
System using:
Gateway DX4822 Office Windows 7 family
Intel 2 quad CPU Q8400 @2.66
My Favorites long ago: http://kb2.adobe.com/cps/325/325739.html
Note to the op... you are in territory dangerously unsupported. I advise you to upgrade to CS4.
You must purchase the correct upgrade: we find the CS4 Design Premium from CS/CS2 on Amazon http://bit.ly/6TRpBc . You can buy anyone is allowed, but make sure you buy the correct upgrade.
Bob
-
ORA-12154: TNS: could not resolve the connect identifier specified
Hello
I installed Oracle 11 g server in Windows 2008 and also installed customer DB 64 & 32 on the same server client.
When I try to test the Oracle DB connection using the UDL file, I get the error message below. Please could you help me solve this problem.
-Microsoft Data Link Error.
Test connection failed because of an error initializing provider.
[DBNETLIB] [ConnectionOpen(connect()) (Connect()).]
SQL Server is not, or access is denied.
--------------------------- OK ---------------------------
I have connected to SQL using sysdba and tried to connect to the schema. It is not connection and throwing below error.
"ORA-12154: TNS: could not resolve the connect identifier specified.
I checked the TNSNAMES.ora file. Everything seems fine.
Thank you
Michel K
Hello
I see just a glance on the tnsnames file you are missing at least one sign =...
You have
ORCL
(DESC...
You should have
ORCL =
(DESC...
There may be other issues too, but give that a try at first - you better run netmgr to allow oracle to create the file for you.
See you soon,.
Rich
-
DB Link error: ORA-12154: TNS: could not resolve the connect identifier specified
Hi all
We need to make an entry in the tnsname.ora file in a local database to connect to the remote database using db link?
Here is my code: -.
create the database link * _DBLINK
connect to the USER IDENTIFIED BY 'user '.
using '(DESCRIPTION =)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))
)
(CONNECT_DATA = (SERVICE_NAME = REM)
)';
After the creation of the DB connection when I'm trying to run select 1 of dual@***_DBLINK
He throws me an error ORA-12154: TNS: could not resolve the connect identifier specified
Am I expected to do an entry in the file tnsname.ora for "REM". I don't remember making any changes in the file tnsname.ora for the creation and access of the remote database via dblink.
Help, please.
Thanks in advance.
2925917 wrote:
Hi all
We need to make an entry in the tnsname.ora file in a local database to connect to the remote database using db link?
Here is my code: -.
create the database link * _DBLINK
connect to the USER IDENTIFIED BY 'user '.
using '(DESCRIPTION =)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))
)
(CONNECT_DATA = (SERVICE_NAME = REM)
)';
After the creation of the DB connection when I'm trying to run select 1 of dual@***_DBLINK
He throws me an error ORA-12154: TNS: could not resolve the connect identifier specified
Am I expected to do an entry in the file tnsname.ora for "REM". I don't remember making any changes in the file tnsname.ora for the creation and access of the remote database via dblink.
Help, please.
Thanks in advance.
I've learned to trust in your obfuscation you covered something important, or you are showing some apples and oranges. Error to declare you come from not being able to find referenced in tnsnames.ora entry, but the way you say you created your link db, you hardcoded the entire connection, so he never users tnsnames.ora.
I would change the definition of db_link
create the database link * _DBLINK
connect to the USER IDENTIFIED BY 'user '.
using "REM."
Then create an entry in your tnsnames.ora
REM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))
)
(CONNECT_DATA = (SERVICE_NAME = REM)
)
)
Also, use server name instead of the HOST = IP address
The closer looks that you can miss brackets final closing on your original definition.
-
sqlplus ORA-12154: TNS: could not resolve the connect identifier specified
Hello
I am not able to connect to the database using sqlplus, using following command:
sqlplus activites@OCA010
I get the error message "ORA-12154: TNS: could not resolve the connect identifier specified.
I tried to connect by providing the full as connection string: "" sqlplus activities / [email protected]:1521 / compix "and he succeeded."
I also tried to connect using sql developer by providing network TNS alias 'OCA010' it is also successful.
Someone could please help out here and let me know how can I connect using sqlplus using aliases TNS network.
content of the tnsnames.ora file is as follows
tnsnames.ora # Network Configuration file: D:\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
COMPIX =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = compix)
)
)
BC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BC)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
OCA01 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OCA01)
)
)
OCA010 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.10.3)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = compix)
)
)
Thanks in advance.
2931143 wrote:
Hi EdStevens,
I used option TNS with Alias network as 'OCA010' in Sql Developer.
I checked in tnsping and tnsnames.ora directory is correct.
Please find below the exit of tnsping:
C:\Users\LUCKY>tnsping OCA010
AMT Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on October 29, 2015 21:07:38
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Use settings files:
D:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora
AMT-03505: failed to resolve the name
Have you worked from the link I provided? (I don't think you have time to do).
It is possible that your tnsnames.ora is corrupted by some weird characters printable somewhere. In some versions of the oracle, he might be sensitive to spaces vs. tabs. If in doubt, netca to add entries, rather than doing it by hand.
-
Hi friends,
We do face-down question when executing the execution Plan in DAC for full charge. We are working on the project of modernization of the OBI Applications and my client has worked on this environment is a few days. Before this, they load to the source 'EBSTST' instance and now changed data for instance 'EBSWKLY '. We have changed the details of connection under the tab 'Physical Data Sources' DAC. Test the connection Source and target are good. We have added input TNS of EBSWKLY in the path: u01/app/oracle/oracle11g/product/11.2.0/client_1/network/admin.
ORA-12154: TNS: could not resolve the connect identifier specified
Database driver error...
Function name: connect
[The database error: could not connect to the database using the [apps] user and the connection string [EBSWKLY].].
Please suggest me if I m done mistake anywhere...
Thanks in advance.
Raghu Jen7782
I was saying about the environment variables defined by you on the server of informatica/dac under the .profile or .bash_profile as below:
TNS_ADMIN = $ORACLE_HOME/network/admin; Export TNS_ADMIN
ORACLE_BASE = / home/oracle/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/; Export ORACLE_HOME
ORACLE_SID = InstanceName; export ORACLE_SID
Path = $PATH: / usr/sbin: $ORACLE_HOME/bin. export PATH
LD_LIBRARY_PATH=.:$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH = $ORACLE_HOME/jlib: $ORACLE_HOME/rdbms/jlib. Export CLASSPATH
Here are some examples I mentioned everything. You can set them in the user profile from which you installed the server informatica/dac.
If it is a CAR Forum, try to set the value of the instance-specific SID for example: orcl11 or orcl12 or orcl13... try to connect to each instance. Sometimes the general SID does not recognize configuration
-
Unable to solve the ORA-12154: TNS: could not resolve the connect identifier specified
Hi friends,
I'm unable to resolve ORA-12154: TNS: could not resolve the connect identifier specified, error:
C:\Windows\System32 > sqlplus scott/tiger@ORADATA
SQL * more: Production release 11.2.0.1.0 on Sun Feb 2 13:46:10 2014
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-12154: TNS: could not resolve the connect identifier specified
SQL > select database_name from v$ database;
DATABASE_NAME
----------------------------------------------------
ORADATA
SQL > select instance_name from v$ instance;
INSTANCE_NAME
----------------
oradata
tnsnames.ora
============
ORADATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST=himanshu-PC) (PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = oradata)
(SERVER = DEDICATED)
)
)
Listener.ora
=========
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = himanshu-PC)(PORT = 1521))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ORADATA)
(ORACLE_HOME = G:\app\himanshu\product\11.2.0\dbhome_1)
(SID_NAME = oradata)
)
)
SQLNET.ora
========
SQLNET. AUTHENTICATION_SERVICES = (NTS)
C:\Windows\System32 > lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on February 2, 2014 13:53:37
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = himanshu-PC)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
Start date February 2, 2014 13:29:35
Uptime 0 days 0 h 24 min 6 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Listener parameter File G:\app\himanshu\product\11.2.0\dbhome_1\network\admin\listener.ora
G:\app\himanshu\diag\tnslsnr\himanshu-PC\listener\alert\log.XML log listener
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = himanshu-PC)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Summary of services...
Service 'ORADATA' has 2 occurrences.
Instance "ORADATA', status UNKNOWN, has 1 operation for this service...
Instance "oradata' READY State, has 1 operation for this service...
Service 'ORADATAXDB' has 1 instance (s).
Instance "oradata' READY State, has 1 operation for this service...
The command completed successfully
Kindly guide whats wrong with my setup.
You can remove your tnsnames.ora if he isn't there the other TNS inside. and use netmanager
http://docs.Oracle.com/CD/E11882_01/network.112/e41945/AdminTools.htm#NETAG216
Concerning
-
ORA-12154: TNS: could not resolve the connect identifier specified in 11g R2
Hello
Recently we changed the name of our Linux server, after chanding hostname, I made changes in tnsnames.ora and listener.ora and also local_listener at the database level.
When I am trying to connect database of his failure with the error.
[orawiz@wizapp admin] $ sqlplus system/oracle@WIZ
SQL * more: Production of release 11.2.0.1.0 LUN 20 16:57:58 Feb 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-12154: TNS: could not resolve the connect identifier specified
Here's my entires of tns.
[orawiz@wizapp admin] $ cat tnsnames.ora
tnsnames.ora # Network Configuration file: /wiz_app/wiz/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.172.20.236)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = wiz)
)
)
#wiz = (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP) (HOST = 10.172.20.236)(PORT = 1521))
# (CONNECT_DATA =
# (SERVER = DEDICATED)
# (SERVICE_NAME = wiz)
# )
# )
[orawiz@wizapp admin] $ cat listener.ora
listener.ora # Network Configuration file: /wiz_app/wiz/oracle/product/11.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
WIZ =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.172.20.236)(PORT = 1521))
)
)
#SID_LIST_LISTENER =
# (SID_LIST =
# (SID_DESC =
# (SID_NAME = wiz)
# (GLOBAL_DBNAME = wiz)
# (ORACLE_HOME = wiz_app/wiz/oracle/product/11.2.0/db_1)
# )
# )
ADR_BASE_LISTENER = / wiz_app/wiz/oracle
[orawiz@wizapp admin] $ cat sqlnet.ora
sqlnet.ora # Network Configuration file: /wiz_app/wiz/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
ADR_BASE = / wiz_app/wiz/oracle
tnsping also default.
[orawiz@wizapp admin] tnsping wiz $
AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on 20 February 2012 17:03:16
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Use settings files:
/wiz_app/Wiz/Oracle/product/11.2.0/Db_1/network/admin/SQLNET.ora
AMT-03505: failed to resolve the name
[orawiz@wizapp admin] $Nothing to with listener.ora file with ORA-12154.
If the listener does not not or the status is not ready then it's listener.ora.Below add entries in your file tnsnames.ora and post $tnsping wiz
WIZ = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.172.20.236)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = wiz.
) ) ) Publish your file sqlnet.ora
Published by: CKPT on 20 February 2012 17:28
-
URGENT: ORA-12154: TNS: could not resolve the connect identifier specified
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 17001] Oracle error code: 12154, message: ORA-12154: TNS: could not resolve the connect identifier specified in the call to the OIC OCIServerAttach. [nQSError: 17014] Cannot connect to the Oracle database. (HY000)
(1) I have TNS entries under MW_HOME/OracleBI/network/admin
(2) TNSPING works fine.
(3) source updated JDBC in place on the side WLS...
What should I do?Show complete exception stack trace. This does not seem to relate to WebLogic. The WebLogic console
view running data source? In fact you use WebLogic DataSource? -
OBIEE 11 g, ORA-12154: TNS: could not resolve the connect identifier
HI forumer,
I installed obiee 11g and I am trying to connect to oracle 11 g db installed on the same machine. I am able to create the DSN using the tnsnames.ora, but the same details used with obiee work not and fails with:
ORA-12154: TNS: could not resolve the connect identifier
Appreciate any help in this.
Thank youThis is a change in behavior when we have 10g and 11g. In BI EE 10 g, there was no Oracle Client delivered with BI EE. Thus, BI EE will use your Oracle DB client host to connect to the database. Usually not a problem in this case. But in BI EE 11 g, the software itself contains a client of 11.2 DB. Thus, when you try to connect to the database using the repository or the BI server, it will try to find the tnsnames entry in the customer Oracle of BI EE 11 g instead of your database. There are 2 options to work around this problem
1. copy your tnsnames.ora {Oracle_BI1} \network\admin directory & {oracle_common} \network\admin directory (only the first is necessary because it is the ORACLE_HOME)
2. or instead of the source tnsnames.ora entry, use the full expanded tnsnames as shown below
(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.66.173)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orcl)))
Both of the above will work.
Ref: Re: unable to connect to the database of the OBIEE 11g improved SPR
Courtesy of - Vincent.Thank you
Oldia... -
All,
Help, please. I get the error above despite all I know to do:
tnsnames.ora entry for the remote database (it is what is on the local database):
ORACLE6. STAGING =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle6.staging.hobank.net) (PORT = 1521))
)
(CONNECT_DATA = (SERVICE_NAME = banksys))
)
The following works without problems of local database to a remote database:
On the local database:
sqlplus kay/[email protected]
...
...
Connected to:
Oracle Database 10 g Enterprise Edition Release 10.2.0.2.0 - 64 bit Production
With partitioning, OLAP and Data Mining options
SQL > select * from emp;
EMPNO, ENAME, JOB HIREDATE SAL COMM MGR
---------- ---------- --------- ---------- --------- ---------- ----------
DEPTNO
----------
2 Kay Baffy DBA 1 6 November 10 50000.25
2
* These data are correct and comes from the remote database *.
Next, I created the database link that is connected to the local database:
create the database public link oracle6.staging
connect to identified by kay kay
using 'oracle6.staging ';
Database link created.
!!! But the following does not work:
SQL > select * from [email protected];
Select * from [email protected]
*
ERROR on line 1:
ORA-12154: TNS: could not resolve the connect identifier specified
I am sure of the following:
1 DB link has been created on the local database.
2 oracle6.staging entry is tnsnames.ora
3. I am able to connect to a remote database with: sqlplus kay/[email protected]
* Any help will be be appreciated.* *.
Thanks in advance.
BaffySee the link:-hope, it will be useful for you.
Troubleshooting of database links
http://www.akadia.com/services/ora_dblinks.htmlKind regards
-
ORA-12154: TNS: could not resolve the connect identifier specifier (XE)
Hello
«I installed on my laptop with win 7 Oracle Database 10g Release 2 (10.2.0.1) Express Edition for Microsoft Windows, but when I tried to connect with Toad for Oracle Freeware 10.6 I get the following error ' ORA-12154: TNS: could not resolve the connect identifier specifier (XE)» I read on the forum that the problem comes from the wrong configuration of the AMT.
This is rhe tnsping respons
"C:\Users\Sergiu > tnsping XE.
AMT Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 13-NOV-2
010 15:20:10
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Use settings files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = Sergiu-PC) (p)
(ORT = 1521)) (CONNECT_DATA = (SERVER = dedicated) (SERVICE_NAME = XE)))
OK (0 msec)
"
EARPHONE
"
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(= Extproc PROGRAM)
)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(= Extproc PROGRAM)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP) (HOST = Sergiu-PC)(PORT = 1521))
)
)
DEFAULT_SERVICE_LISTENER = (XE)
"
SQLNET
"
# This file is actually generated by netca. But if customers can opt for
# install 'Software Only', this file does not exist and without the native
authentication #, they will not be able to connect to the database on NT.
SQLNET. AUTHENTICATION_SERVICES = (NTS)
"
TNSNAME
"
XE =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = Sergiu-PC)
(PORT = 1521)
)
(CONNECT_DATA =
(SERVER = dedicated)
(SERVICE_NAME = XE)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = EXTPROC_FOR_XE)
)
(CONNECT_DATA =
(PRESENTATION = RO)
(SID = PLSExtProc)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = EXTPROC_FOR_XE)
)
(CONNECT_DATA =
(PRESENTATION = RO)
(SID = CLRExtProc)
)
)
"
Can someone tell me what is the problem?
Best regardsIt can be caused by the location of the TOAD software. The have you installed under "Program Files (x 86)? If Yes, then try to reinstall in a different directory, media in the path name can cause problems.
Maybe you are looking for
-
This version works with Gears?
The last time I did an upgrade my Gmail Gears did not synchronize, this is fixed in this version?ConcerningEDS
-
MacBook Air (13 inches, beginning 2014) 1.4 GHz intel core i5 4 GB 1600 MHz DDR3Intel HD Graphics 5000 1536 MB Downloaded constant guard by Xfinity Norton. All scanned and no virus found. Files, quick scan, system, absolutely nothing. This is the que
-
Satellite L300D-110 - white screen and continue to restart
Hello I have a L300-110, this just started to happen when I turn on the laptop light power green lights then get white screen but if continue to restart the laptop starts to work again. Can anyone help?
-
Exact model of my Pavilion G6 series
Hi all I just reinstalled my laptop and now I'm struggling with drivers I can't take the exect model because there are many series of the G6 series, it is about 53 and I downloaded so far from the 10 already and I still cannot find the correct driver
-
Group Policy Editing - problem with settings in Windows XP
Hello.. I connected to my laptop with the administrator account and open gpedit.msc (Group Policy Editor). I went to experience something I wanted. I went to the Configuration of the user-->---> system and active "run only allowed windows application