TNS:could not resolve
I have two database db1 and db2.
i have to access tables from db2 by using database link.
i have created database link in db1.
also copied TNSNAME entry for db2 database in db1.
i am using toad.
while accessing table getting error TNS:could not resolve
thanks in advance
i guess ur db liink are not created successfully... sometimes it is also problem when ur both Databases has same Instance name or db name.
u can test ur dblinks on SQL DEveloper as well
plz mark it helpful /correct if it is
Similar Messages
-
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 -
TNS: could not resolve service name
ERROR: ORA-12154: TNS: could not resolve service name
does any1 know what this means...and how to overcome this problem
username : scott
passwd: tiger
host string: myora
i have personal oracle8i in d:\oracle
and d2k in d:\d2k
it connects with the SQLPlus
however with d2k when i try to connect it gives the above error
message.
does any 1 know a solution to the problem...Hello,
First of all, If you are using PO8i and D2k as a front end
on single machine,no need of specifying Connect String. You can
connect using scott,tiger. If still it is giving problem,try
this one.
Open TNSNAMES.ORA file from folder NET80/Admin in your PC
using NOTEPAD. Look there entry for myora. If it is there,Check
SID,IPAddress or remove word "World" from there. See E.g
ora816 = -- Your connect string
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = 10.0.0.3) -- IP address
(Port = 1521)
(CONNECT_DATA = (SID = ora816) -- Database SID
Hope it will work...
Adi -
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. -
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 -
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.
-
DBlink and Tns could not resolve connect identifier specified
We are encountering a strange issue with DB link(may be new to me)
We have Oracle 9.2.0.8 and 10.2.0.3 in Solrais 10
We are accesing both servers from the 10g
We are able to connect to both the database through SQLplus
We created a DBLink in oracle 9i to access 10g
SQL:
create public database link PRD connect to admin identified by ***** using 'PRD';
Database link is created
We have an entry in the TNSNAMES.ora for PRD which has a description connecting to 10g database.
now we are issuin
select * from table@PRD
The error message is
ora 12514-TNS could not resolve connect identifier sepcified
But i am ablt to connect to both the databases from SQLPLUS but not by DBlink
My global_names parmaeter is TRUE:
Global_name=PRD without the domain name..Tried and failed......)
Nicolas
Does the DBlink takes the TNSentry in the host server
even when we run from the clinet?
I heard somewhere earlierDB link makes the database behave as a client.
If you are on the other side of Jupiter and you connect to the database, should the database look in the TNSNAMES.ORA file on your computer to resolve the entry? Should it send a message back via SQLNet to your PC to ask it to look up what the DB Link means?
Bottom line: The TNSNAMES.ORA in the ORACLE_HOME/networking/admin of the database install is used by all the client products running out of the ORACLE_HOME/bin - including the database when the database behaves as a client. -
IFS 9 : TNS:could not resolve service name
Hello,
I have this message when Trying to connect in Java to IFS 1.2 :
oracle.ifs.common.IfsException: IFS-21008: Unable to connect to
iFS service
java.sql.SQLException: ORA-12154: TNS:could not resolve service
name
I have been developing with IFS 1.16 for a while but now I have
to upgrading to IFS 9 (1.2). To set up my development
environment I did the same thing that I did for the version 1.1.6
1- Copying all Jar from D:\oracle\ora90\9ifs\lib and I had
them to my classpath
2- Copying the folders under D:\oracle\ora90\9ifs\settings
to have access to the IfsDefault.properties. file.
3- I got the new JDBC driver and Oracle Client 9 on my
developer station.
IfsDefault.properties is pointing to the right TSN. When I test
my TSN (orcl) with the SQL+ it works just fine. I tried to use a
Invalid Ifs Service Name instead of IfsDefault too see if I got
a different error message and no, I got the same error. It looks
like the environment doesn’t find the IfsDefault.properties
file ?
Any Idea of it could be ?
There is the code that I use to connect :
LibraryService service = new LibraryService();
CleartextCredential cred = new CleartextCredential
(username, password);
ConnectOptions options = new ConnectOptions();
options.setLocale(Locale.getDefault());
options.setServiceName(repository);
options.setServicePassword(repositoryPass);
_ifsSession = service.connect(cred, options);
// Doit mettre explicitement le Admin flag dans la
Session
DirectoryUser user = _ifsSession.getDirectoryUser();
_ifsSession.setAdministrationMode(user.isAdminEnabled
_logger.info("user " + user +" is now connected to
Ifs " + repository + ", " + _loggedUserCounter + " connected.");
Thank youLooks like your TNSnames is not properly configured .. Did you
try to do a sqlplus from the command prompt to see if you can
connect to SQLPlus ?? -
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. -
Hi All,
I'm trying to run RDT on BO 4.0 using the following command on <INSTALLDIR>\SAP BusinessObjects Enterprise XI 4.0\win64_x64:
reposcan.exe -dbdriver oracledatabasesubsystem -connect "UID=ceprod;PWD=ceprod;DSN=dsnname;HOSTNAME=ip of db server;PORT=1521" -dbkey [[XXXXXXX]] -inputfrsdir "\\share\FileStore\FileStore\Input" -outputfrsdir "\\Share\FileStore\FileStore\Output"
I cannot be able to run the RDT as I get the following error:Business Objects Enterprise CMS:Unable to connect to the CMS system database DSN:dbserver ip:1521.Reason ORA 12154.TNS could not resolve the connect identifier specified
I have created DSN for oracle db using 32 bit and 64 bit ODBC drivers. I can connect from this system to the database using the client tools.
Also this is a clustered cms and do I need to use any other parameters here?
regards,
SridharHi,
Check if you have two different oracle directories listed in system variable path.
e.g.:
D:\oracle\product\11.2.0\client_1\bin;C:\Program Files\oracle\product\11.2.0\client_1\bin
If this is the case, you have two different tnsnames.ora files.
Then sometimes the first one is used and sometimes the second.
If they don't contain the same info, you get these issues.
Delete one of the paths in the system variable or synchronize the tnsname.ora files to get rid of that.
Regards
Moritz
Maybe you are looking for
-
Tab setting in the main window sapscript table
Hi , i have one problem ,i am doveloping new script.in the main window having 5 column table .the table col size is grater than the populated field size.main problem is these values are not populated in the middle of the every column of the table. to
-
Connecting Two SLDs in r XI Landscape
Hi Folks, We have set up two SLDs for our XI landscape. One SLD for Development/QA and second one for Production. I have configured all the post install steps on XI Production System including SLD config steps. I would like to know the steps for conn
-
How to create multiple page PDF from multiple jpg images?
I have three jpeg images with pixel dimensions 1008 x 1464. I wish to create a PDF file with one image per page. Apparently Preview previously performed this function, and this functionality was deliberately removed by the time of Mac OS X 10.6. I us
-
IPhoto library-file deleted - and originals missing in Aperture....
Just moved my Aperture-library to my new iMac. Unfortunately almost all pics came from my old iPhoto-library which is gone now. I can't do anything but look at the pictures. Can't edit, export, share etc. When trying to e.g. export a file Aperture sa
-
New macbook pro 2012 preinstalled with lion can't be reinstalled?
Hi everyone, I'm new to mac os x and I just bought a new macbook pro 13" four days ago which came preinstalled with mac os x lion. I tried to do a clean install on the third day to experience doing it myself for the first time. here's what I did: 1