TNS error on isqlplus
Hello,
I can connect to the oracle 9i server with sqlplus but
when I try to connect with isqlplus in my webbrowser I get error "ORA-12154: TNS:could not resolve service name",
In the connector-id field I put the same as I use for the hoststring in sqlplus.
Thanks in advance
Hallo,
I get the same error message number ("ORA-12154: TNS: could not resolve service name") when trying to connect via normal sqlplus (SQL*Plus: Release 8.1.7.0.0) from a Linux client (RH 7.3) to an Oracle 9i R2 database on a SUN system.
Thank you in advance for any hint.
Similar Messages
-
Hello,
I can connect to the oracle 9i server with sqlplus but
when I try to connect with isqlplus in my webbrowser I get error "ORA-12154: TNS:could not resolve service name",
In the connector-id field I put the same as I use for the hoststring in sqlplus.
Thanks in advanceThe iSQL*Plus server will use the environment variables
of the process that originally started the HTTP server.
All users of iSQL*Plus will have this configuration.
I often use two tnsnames.ora files on UNIX. To make sure
the correct one is used by the iSQL*Plus server, I have
to set the variable TNS_ADMIN to the directory containing
the tnsnames.ora file I want iSQL*Plus to use. Then I
start the HTTP server.
What platform is the iSQL*Plus server on? If it is
Windows, it the HTTP server being started as a service
or manually?
-- CJ -
I manage a small instructional Database (Oracle 9i) running on Linux Advanced Server. Everthing had been okay since installation last summer, until a week ago that our Linux Admin applied some patches. Now TNS listener (port 1521) and Oracle Apache (Port 7777) cannot be reached from outside the system. The strange thing is that both services are reported to be running OK, and on the server itself both of them work ok. However, trying from another machine (on the same network) there is neither a TNS listener found, nor an apache service for web (iSqlPlus).
Has anyone seen anything close to this before? Where would you suggest we look?
Thank youWhat kind of TNS error you've got? - That's important!
Check that is not local firewall running.
Try stop that firewall using:
"/etc/init.d/iptables stop" - in case of iptables
or
"/etc/init.d/ipchains stop" - in case of ipchains
If it will solve your problem then disable starting of service for future. For example: use the "setup" command. -
External datasource problem(tns error)
hi,
i got and error while working with external datasource in BAM architect, how to fix it? Moreover i got tns error when i use tnsping utility for my XE db from command prompt
======================================
C:\Documents and Settings\rehanfa>tnsping xe
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-JUN-2
008 15:26:18
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\OracleBAM\ClientForBAM\network\admin\sqlnet.ora
TNS-03505: Failed to resolve name
======================================
and BAM archtect error while viewing contents of data model based on this external datasource
========================================
ADC Server exception in OpenViewset().
Details <<
ADC Server exception in OpenViewset().
Source: "ActiveDataCache" ID: "ADCServerException"
ERROR [08001] [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve the connect identifier specified ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
Source: ""
Internal debugging information >>
Oracle.BAM.ActiveDataCache.Common.Exceptions.CacheException: ADC Server exception in OpenViewset(). ---> System.Data.Odbc.OdbcException: ERROR [08001] [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve the connect identifier specified
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
at System.Data.Odbc.OdbcConnection.Open()
at Oracle.BAM.ActiveDataCache.ExternalDataSources.ODBC.Open(String strXml)
at Oracle.BAM.ActiveDataCache.Kernel.Datasets.ExternalStorageEngine.GetDataReader(DSEQuery oDseQuery)
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.DataImporter.ExecuteQuery()
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.ExternalDataManager.ImportExternalData(String strDatasetID, String strTempName, FilterExpression filter)
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.ExternalDataManager.ImportExternalFactData()
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.ExternalDataManager.GetExternalData()
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Viewset.LoadData()
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetBase.Initialize()
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Viewset.Initialize()
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetBase.Open()
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetManager.InitViewset(Modifier oModifier, ViewsetOptions oViewsetOptions, Boolean bSynchronized, Int32 iTransactionID)
at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetManager.OpenViewset(Modifier modifier, ViewsetOptions options, Int32 iTransactionID)
at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.OpenViewset(Modifier modifier, ViewsetOptions options, Int32 iTransactionID)
--- End of inner exception stack trace ---
Server stack trace:
at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.OpenViewset(Modifier modifier, ViewsetOptions options, Int32 iTransactionID)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Oracle.BAM.ActiveDataCache.Common.Core.IDataStore.OpenViewset(Modifier oModifier, ViewsetOptions options, Int32 iTransactionID)
at Oracle.BAM.ActiveDataCache.Remoting.ServerWrapper.OpenViewset(Modifier oModifier, ViewsetOptions options, Int32 iTransactionID)
at Oracle.BAM.ActiveDataCache.Viewset.Open(Context ctxAdcContext, Modifier oModifier, ViewsetOptions options)
at Oracle.BAM.Architect.DataObjectsContents.InternalContentsByRowID(String strEventParam, Boolean bEdit, Int64 lHighlightRowID, Boolean bAddBegin)
==========================================================Dear, I am facing that problem and I need some help. please tell me how the issue was resolved
-
TNS Error: ORA-12541: TNS: no listener.
I have installed Oracle 9i on machine in Windows XP. When I try to open the database SID in the Enterprise Manager, it gives me TNS Error: ORA-12541: TNS: no listener.
I have checked the Oracle Net Configuration:
Protocol: TCP/IP
Host: PNR18
Port: 1521
In the xp administrative tools, I found that the listener is on start.
When I try to test trough ' Net Configration Assistant' getting same error, similarly with Net Manager.
I don't know if I am using the correct protocol in my case of standalone installation.
Any advice/correction? it would be appreciated. I am giving all the information of TNSNAMES.ORA, LISTENER.ORA, SQLNET.ORA, which is on my machine.
Thanks in advance.
# LISTENER.ORA Network Configuration File: #C:\oracle\ora90\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = PNR18)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora90)
(PROGRAM = extproc)
# TNSNAMES.ORA Network Configuration File: #C:\oracle\ora90\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = PNR18)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
# SQLNET.ORA Network Configuration File:
#C:\oracle\ora90\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)First of all Thanks for suggestions for solutions but still SAME PROBLEM:
Case-1::
I tried according to your suggestion, still SAME error !! I have also configured new DB
with Enterprise MAnager Configuration Assistent - during DB creation same error occured.
1) I have seen in XP service where all listener is running as well as OracleServiceORCL
is also running.
2) OracleOraHome90TNSListener also running with other listeners!
Case-2::
Dear I also delete listener and create new one and also configured Database Description
and tried to do so but still same problem while I am TESTing it with - Net Manager /
Net Configuration Assistant. I have also tried
C:\TNSPING ORCL - it is giving 'ok' result
but when I am using C:\LSNRCTL START listener - it gives me following errors.
Service OracleOraHome90TNSListener already running.
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 1056: Unknown error
Thats the whole story....hope this time you will find easy to give solution.
All files after your suggestion are as follow:
# TNSNAMES.ORA Network Configuration File: C:\oracle\ora90\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = PNR18)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
# LISTENER.ORA Network Configuration File: C:\oracle\ora90\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = PNR18)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = C:\oracle\ora90)
(SID_NAME = ORCL)
(SID_DESC =
(PROGRAM = extproc)
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora90)
# SQLNET.ORA Network Configuration File: C:\oracle\ora90\NETWORK\ADMIN\sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.PREFERRED_SERVERS =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = PNR18)(PORT = 1521))
SQLNET.AUTHENTICATION_SERVICES= (NTS) -
OBIEE 11g : Report throwing TNS Error
Hi,
We have installed OBIEE 11g in Linux server. After replacing the Out-of-the-box RPD.
The reports are throwing following TNS Error:
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65PState: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)SQL Issued: SELECT 0 s_0, "Assets"."Product"."Product" s_1 FROM "Assets" FETCH FIRST 65001 ROWS ONLY
What configurations we need to re-check?
Regards
SudiptaHI,
Please cross check you rpd connection pool details in physical layer like below.
Data source name
Username and password
Or,
Login Weblogic Console with admin username/pwd.
Goto Services -> JDBC -> Data Sources.
Select Lock & Edit button
Select Data Source "bip_datasource" link in the available Data Sources list
Select Connection Pool tab
.... Change the URL|Driver|Properties|Password
Select Save button.
OR,
you have to go to WEblogic Enterprise Manager (http://<server>:7001/em/. Then go to Business Intelligence folder -> coreapplication. Go to "Deployment" tab and then to "Scheduler" tab. Change the database field to point to the new DB and apply changes.
Or,
Please check Database services running or not including TNS listner service also.
Hope this helps.
Thanks
Satya -
Hi
I am getting tns error below .we noticed that queries are disconnecting in between execution with ora-3113 error.I am getting error in sqlnet.log in server side
VERSION INFORMATION:
TNS for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production
TCP/IP NT Protocol Adapter for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production
Time: 16-MAR-2008 20:32:42
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 78
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=XXXXX)(PORT=XXXX))
AND CLIENT SIDE
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=XXXX)(CID=(PROGRAM=C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE)(HOST=XXXXXX)(USER=XXXX))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
Time: 17-MAR-2008 08:49:00
Tracing not turned on.
Tns error struct:
ns main err code: 12560
TNS-12560: TNS:protocol adapter error
ns secondary err code: 0
nt main err code: 530
TNS-00530: Protocol adapter error
nt secondary err code: 126
nt OS err code
Anybody who have been sorted out these errors please let me know.
thanksProtocol adapter error is either a missconfigured environment or a network related error. In your case, since you are working with a windows platform and there are other errors related to time out, I suggest you to verify the windows firewall, it could be preventing database from being reached by the oracle client.
~ Madrid
http://hrivera99.blogspot.com/ -
Hi,
I installeed 11.2g and when I try login I have got error TNS error adapter. My file
tnsname
# tnsnames.ora Network Configuration File: F:\app\Mariano\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
listener
# listener.ora Network Configuration File: F:\app\Mariano\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\Mariano\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:F:\app\Mariano\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = F:\app\Mariano
sqlnet
# sqlnet.ora Network Configuration File: F:\app\Mariano\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
I try :
lsnrctl stat
sqlplus / as sysdba
startup
but still doesn't workC:\Documents and Settings\Mariano>set|sort
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Mariano\Dane aplikacji
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=MARIUSZ
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOME=C:\cygwin\mariusz
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Mariano
LOGONSERVER=\\MARIUSZ
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=F:\app\Mariano\product\11.2.0\dbhome_1\bin;C:\oraclexe\app\oracle\produc
0.2.0\server\bin;C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system
C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f0d
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\Mariano\USTAWI~1\Temp
TMP=C:\DOCUME~1\Mariano\USTAWI~1\Temp
USERDOMAIN=MARIUSZ
USERNAME=Mariano
USERPROFILE=C:\Documents and Settings\Mariano
VBOX_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
windir=C:\WINDOWS
C:\Documents and Settings\Mariano>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Wt Kwi 17 19:59:29 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS:b│╣d adaptera protoko│u
Proszŕ podaŠ nazwŕ u┐ytkownika:
OK, I see that I haven't got ORACLE_HOME and ORACLE_SID. How create them?
Edited by: user8894354 on 2012-04-17 11:00 -
ORA-12560 TNS error in protocol adapter. Why ?
I installed on computer1 an Oracle Express 10g server and he runs fine.
Then, on another computer2 in the inhouse-net I installed the Oracle Client.
When I try to contact now from computer2 the Oracle server on computer1
with e.g.
sqlplus.exe myname/mypasswd
I am getting an error ORA-12560: TNS: Error in protofol adapter.
What does that mean?When I enter the same locally on the server machine everything is fine.
Firewalls between the computers are disabled.
Which Oracle services must run on the client (not the server !) machine ?Ok, my Oracle Client is installed in C:\XEClient
Below I show you the (recursive) output of the 'tree.exe' command (under WinXP)
of the folder tree of C:\XEClient. Where is the directory "network/admin" ??????
C:\XEClient>tree
Folder PATH listing for volume WinXP
Volume serial number is xxxxxxxx
C:.
├───bin
├───doc
├───jdbc
│ └───lib
├───jlib
├───lib
├───oci
│ ├───include
│ ├───lib
│ │ └───msvc
│ │ └───vc71
│ └───samples
├───odbc
│ ├───help
│ └───html
├───odp.net
│ ├───doc
│ ├───help
│ │ └───ja
│ ├───PublisherPolicy
│ ├───Resources
│ │ ├───de
│ │ ├───es
│ │ ├───fr
│ │ ├───it
│ │ ├───ja
│ │ ├───ko
│ │ ├───pt-BR
│ │ ├───zh-CHS
│ │ └───zh-CHT
│ └───samples
│ ├───ArrayBind
│ ├───AssocArray
│ ├───DataSet
│ │ ├───DMLOperOnDS
│ │ │ ├───doc
│ │ │ │ └───images
│ │ │ ├───setup
│ │ │ └───src
│ │ ├───DSDRwithLOB
│ │ │ ├───doc
│ │ │ │ └───images
│ │ │ ├───setup
│ │ │ └───src
│ │ ├───DSPopulate
│ │ │ ├───doc
│ │ │ │ └───images
│ │ │ ├───setup
│ │ │ └───src
│ │ ├───DSPopulateVB
│ │ │ ├───doc
│ │ │ │ └───images
│ │ │ ├───setup
│ │ │ └───src
│ │ ├───DSwithRefCur
│ │ │ ├───doc
│ │ │ │ └───images
│ │ │ ├───setup
│ │ │ └───src
│ │ ├───RelationalData
│ │ │ ├───doc
│ │ │ │ └───images
│ │ │ ├───setup
│ │ │ └───src
│ │ ├───RelationalDataVB
│ │ │ ├───doc
│ │ │ │ └───images
│ │ │ ├───setup
│ │ │ └───src
│ │ └───SafeTypeMapping
│ │ ├───doc
│ │ │ └───images
│ │ ├───setup
│ │ └───src
│ ├───EventHandler
│ │ └───RowUpdateEventHandler
│ │ ├───doc
│ │ │ └───images
│ │ └───src
│ ├───Globalization
│ │ ├───doc
│ │ │ └───images
│ │ ├───setup
│ │ └───src
│ ├───LOB
│ │ ├───AccessBFile
│ │ │ ├───doc
│ │ │ │ └───images
│ │ │ └───src
│ │ └───UpdLob
│ │ ├───doc
│ │ │ └───images
│ │ ├───setup
│ │ └───src
│ ├───RefCursor
│ │ └───UpdRefCursor
│ │ ├───doc
│ │ │ └───images
│ │ └───src
│ ├───StatementCache
│ ├───TAF
│ │ ├───doc
│ │ │ └───images
│ │ ├───setup
│ │ └───src
│ ├───Transaction
│ │ ├───DistributedTransaction
│ │ │ ├───doc
│ │ │ │ └───images
│ │ │ ├───setup
│ │ │ └───src
│ │ └───Savepoint
│ │ ├───doc
│ │ │ └───images
│ │ ├───setup
│ │ └───src
│ ├───WebService
│ │ └───OdpNetWs
│ │ ├───doc
│ │ │ └───images
│ │ └───src
│ │ ├───client
│ │ └───webservice
│ └───XML
│ ├───XMLView
│ │ ├───doc
│ │ │ └───images
│ │ ├───setup
│ │ └───src
│ └───XMLViewVB
│ ├───doc
│ │ └───images
│ ├───setup
│ └───src
├───oledb
│ ├───include
│ ├───lib
│ └───samples
│ ├───DataSet
│ │ ├───DMLOperOnDS
│ │ │ ├───doc
│ │ │ │ └───images
│ │ │ ├───setup
│ │ │ └───src
│ │ ├───DSPopulate
│ │ │ ├───doc
│ │ │ │ └───images
│ │ │ ├───setup
│ │ │ └───src
│ │ ├───DSPopulateVB
│ │ │ ├───doc
│ │ │ │ └───images
│ │ │ ├───setup
│ │ │ └───src
│ │ ├───DSwithLOB
│ │ │ ├───doc
│ │ │ │ └───images
│ │ │ ├───setup
│ │ │ └───src
│ │ └───DSwithRefCur
│ │ ├───doc
│ │ │ └───images
│ │ ├───setup
│ │ └───src
│ └───RefCur
├───oramts
│ ├───admin
│ ├───public
│ └───trace
├───precomp
│ ├───admin
│ └───lib
└───sqlplus
C:\XEClient> -
Receive TNS error when trying to upgrade DB
I receive a TNS error when I try to upgrade a database using the Database Upgrade Assistant. I want to upgrade to 9.2 from 8.1.7. When I click on the database I want to upgrade I receive the TNS error. It never prompts for a username/password@cstring.
I am trying to run this through Windows Terminal Service, is this the problem? I know there are issues trying to run server manager through WTS.
Thanks,
JimI'm new to this, but between Oracle 9.0 and 9.2 the required format appears to have changed for the "TNS Service Name" parameter for a "System DSN" in the Windows "ODBC Data Source Administrator". In 9.0 the "TNS Service Name" can be in either of two formats: global_database_name OR oracle_home$global_database_name. One can verify this by clicking the "Test Connection" button on the the "Oracle ODBC Driver Configuration" screen from the "ODBC Data Source Administrator" window. On a 9.2 system only the first format works. I tested this on freshly-installed systems, each with just one Oracle home and the default sample database.
Perhaps this is related to the problem you are encountering. I was able to fix a problem connecting to 9.2 by changing the "TNS Service Name" parameter. The error I was receiving was: "[Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve service name".
Can anyone point me to some documentation on this apparent change between 9.0 and 9.2? Thanks in advance. -
Installation Oracle 8i TNS error
I am trying to install Oracle 8.1.7. on windows 2000 OS. I have installed Oracle before but never had the problems I am having now.
I am installing it through a Remote Desktop Connection. I used the typical installation option. At 100% of the installation, it hangs on the net8 optional installation. When I am trying to create the database with the database configuration assistent I get an TNS error while initializing the global database. ORA-12560 TNS protocol adapter error.
What could be the problem here?
MarcoI've never tried installing Oracle 8 on Windows XP machine, so I don't know. And Oracle does not provide download link for software they don't support (like Oracle 8.1.7), </br></br>
So your options are upgrade your existing database or try searching 8.1.7 version. I presume you don't have 8.1.7 version, either way you need to upgrade your database anyway.</br></br>
Give Oracle Express Edition(it's free) a try, using it you can fully utilize advance ODP.NET feature like Database Change Notification. If you choose to download Oracle Enterprise Edition, Oracle won't charge you if you use it only for development purpose.</br></br>
Cheers,</br>
NH</br> -
Discoverer desktop installation on Windows 7 64 OS XP Mode TNS error
I have installed discoverer administrator and desktop in XP Mode on a Windows 7 64 OS. I downloaded the install from Oracle Discoverer 11g Fusion Middleware. I am using XP mode because I believe there is no download for the 64 bit OS in the Windows environment. I have had no trouble with the installation. The trouble comes when trying to connect to a database. I get a TNS error.
I have edited the environmental variable to include tns names. I am able to connect to a database on the network via sql developer but not with discoverer.
One needs to run the xp application within the Windows 7 environment. I have included the environmental variable in both environments (xp virtual and Windows 7) and am 0% successful with discoverer and 100% successful with sql in seeing the database.
Any technical advice?I am indebted to Praveen Deshpande for this :
You need to create a Windows environment variable TNS_ADMIN that points to the directory where the correct Tnsnames.ora file is held.
On my system, I went to 'Computer - System Properties - Advanced - Environment Variables", created an environment variable TNS_ADMIN and set its value to C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN
Check where your server or other tnsnames file is stored and set the corresponding value.
Then it all worked perfectly. -
ORA_-12560: TNS :ERROR by Protokoladapter
Hi,
I've tried to Connect PHP and Oracle,but I'd get this error
ERROR: Nr12560
ORA-12560: TNS: Error by Protocolladapter
my Script in PHP is als fallow and this is only for the connection to Oracle.
<?php
// Datenbank verbindug zu Oracle wifi
//$wifi ="";
$co = @ocilogon("hr8","hr8");
$sql = 'select * from jobs';
//Fehler ausgeben
if(!$co)
$fehler =ocierror();
echo('<p>Fehler Nr');
echo($fehler ['code']);
echo('<br>');
echo($fehler ['message']);
die();
else
//die datenbank ansprechen
echo('Verbunden mit'.ociserverversion($co).'<br>');
//$result= prüfen($co,$sql);
// die Verbindung schliessen
ocilogoff($co);
?>
I use Windows XP Prof. ,and I have my DataBase running when I 'd try to do the connection to Oracle .
Please I need a fast answer.
Regards
CARLOS
Hi ;
is there anyone who can help me this ERROR to resolve.
First of all, I use Windows XP system and I tried to connect PHP to Oracle 10g DataBase.But I'd get the ERROR ABOVE.
I've installed PHP 5 Editor 5.0.3 und XAMPP for the connection to Oracle Database . The Database is running When I 'd try the connection between both of them. The PHP script looks like this;:
<?php
// Datenbank verbindug zu Oracle wifi
$co = @ocilogon('hr8','hr8') ; // this is a String with 'username' and 'PSW'
$sql = 'select * from jobs';
//Fehler ausgeben
if(!$co)
$fehler =ocierror();
echo('<p>Fehler Nr');
echo($fehler ['code']);
echo('<br>');
echo($fehler ['message']);
die();
else
//die datenbank ansprechen
echo('Verbunden mit'.ociserverversion($co).'<br>');
// $result= prüfen($co,$sql);
// die Verbindung schliessen
ocilogoff($co);
?>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I' need an answer as soon as possible.
Thanks.
Greetings
CARLOS -
Hello, I am getting this pesting TNS error when running IMP and EXP from the server. I can successfully run sqplus on the server and across the net.
IMP 00058 - Oracle error 12560
ORA 12560 - TNS: Protocol Adapter Error
What gives?
ScottHi Ken, thanks for the reply. These look like Unix vars. Are they? I am running it under NT in a DOS shell. Do these exist elsewhere?
Incidently, I am in the process of installing OMS and getting a simliar error when creating the Repository.
ORA 12571 TNS Packet Writer Error.
Thanks again. -
Hi Everybody !! I hav changed my Network interface Card as the previous NIC is not working, since then i get TNS Error. I have changed IP address of the New NIC and disabled the OLD NIC, but still i get the TNS Error. Please help me find a solution.
HI,
Welcome to our Forum...!!1
post the error and tns entry...
redards,
deepak
Maybe you are looking for
-
PDF generation in hindi language
Hi, By using report layout and report query am generating statement of account. if i select the output type as word, excel or html it works well. am trying to generate hindi language statement of account. it works with the above mentioned formats. if
-
Just received a used unlocked Blackbrry pearl 8100 as gift. For now I only want to use it as phine and camera with contacts and calendar apps. I have replaced the sim cardwith the card from my carrier and the phone is functioning. The previous owner
-
HT1766 when i connect my iphone to pc the last stored ringtone get deleted from sound
when i connect my iphone to pc the last stored ringtone get deleted from sound why so ??
-
Time Dependent Hierarchies in Bex Queries.
We are using Time depenedent Hierarchy structures. year and period will be entered by the user in the query Is there any simple solution where in based on the User entered year and period, corresponding hierarchy should be used in the query execution
-
Can one automatically remove exact duplicates?
Using Itunes 10.2.2.12 on Windows XP I have inadvertantly somewhere dupkicated most of the music in my library Over 7k items appear in the "displaying duplicates" Is there a way to get rid of them quickl;y without selecting each item individually?