Issue in Connecting to Oracle 11g Database

Hi,
I have installed Oracle 11g database using loopback adapter. (used ip 10.10.10.10). In the drivers file did the following entry
ipaddress computername.domainname.com computername
How can I connect to this database from other computer in the network ex:using sqldeveloper? (When I try it says "Network adapter couldnt establish the connection")
Thanks,
Ramesh

from other computer in the network Oracle version on that computer ?
Did you configure a connection string on that computer ? If so, please post your tnsnames.ora. If not, what did you do exactly ?
Also, from the server post the result of "lsnrctl stat".

Similar Messages

  • Failover not working while connecting to Oracle 11g database

    Hi,
    We have a J2EE application that connects to Oracle 11g database.
    The connection URL we are using is as below
    jdbc:oracle:thin:@(DESCRIPTION =(SDU=32768)(ADDRESS=(PROTOCOL=TCP)(HOST=abc.hostname.com)(PORT=1525))(ADDRESS=(PROTOCOL=TCP)(HOST= xyz.hostname.com)(PORT=1525))(CONNECT_DATA=(SERVICE_NAME=PQR)))
    The issue that we are facing is, the database failover is not working.The application only connects to the first host in the TNS entry.Evertime there is a failure in the connection to the first host,manual steps are required to swap the hosts.
    This started happening after we upgraded Oracle DB from 9i to 11g.
    We are using the client jar of 9i to connect to 11g. Could this be causing the problem?
    Thanks In Advance.
    -Tara

    889517 wrote:
    Yes, you are right. Nothing else was updated.
    The application still works as expected except the failover.If you are correct then I seriously doubt it has anything to do with java. It would be something to do with Oracle and/or network infrastructure.
    If not then it is some small problem with the driver. You can try updating the driver but I wouldn't expect a fix.

  • Forms 6i is not connecting with Oracle 11g database?

    Forms 6i is not connecting with Oracle 11g database?
    How to resolve this issue?

    Hi,
    Once you installed the Forms and Reports, you need to configure the paramters like tnsnames.ora in you path.
    There will be one folder in the Installation path of Forms and Reports search for tnsnames.ora file..and you need to Updated the file as per the which ORACLE Server you are connecting and then try.. it..
    Default path for forms will be "ORACLE_HOME/net80/admin".. search for tnsnames.ora and modify it..
    - Pavan Kumar N

  • Not able to connect to oracle 11g database source through OBI Server

    Hi,
    I am having an issue regarding the database connectivity.
    Iam unable to connect to the oracle 11g database through OBI server. However its connecting through SQL Plus with same username/password@hoststring. Its giving the error as :
    [nQSError: 17001]Oracle Error code:1017,message:ORA-01017: invalid username/password; logon denied at OCI call OCILogon
    [nQSError: 17014]Could not connect to Oracle database.
    Please help me out in resolving the issue.

    If it's working in one place and not the other then it's obviously not an OBIEE problem.
    Are you typing it in right??
    Do you have multiple tnsnames.ora files pointing to different databases, maybe sqlplus is picking up one and toad & OBIEE the other and so the username/pw is wrong for that database?
    There's a limited amount that can be said to help, as the error is 100% clear what the problem is :) it's just working out whether you're connecting to the database that you think you are connecting to, and then whether the username & PW you're entering is correct for that DB.
    BTW OBIEE 10.1.3.4 is supported with 11g, and we're using it without problem here.

  • Can Oracle 8.0.6 reports connects to Oracle 11g Database

    Hi,
    I know Oracle 8.0.6 report is already out of support. I want to build some environement. In this context, I want to know, where Oracle Reports 8.0.6 can connect to Oracle 11g R2 database ?
    Pl suggest me urgently.
    thanks & regards
    parag

    First of all: using the word 'urgently' is inappropriate and rude in a forum of volunteers.
    Edit your post and apologize publicly for using it.
    Secondly your question is a rhetorical one, as it's answer is:
    OF COURSE NOT
    8.0.6
    was succeeded by
    8.1.5
    8.1.6
    8.1.7
    9.0.1
    9.2.0
    10.1.0
    10.2.0
    11.0.1
    11.0.2
    NINE releases in between!!!
    Sybrand Bakker
    Senior Oracle DBA

  • Error connecting to Oracle 11g Database

    Hi All
    I am testing .NET connectivity to Oracle 11g and I am not successful for a while.
    I've tried to connect to database using library included in Oracle 10.2.0.3 Client and as a result I've got "invalid username or password" error. Then I've tried to use ORAC 11.1.0.5.10beta. I successfully connected to the server, but when I try to exec any query my program hangs.
    Both of them work correctly with Oracle 9i database.
    Also I've tried Microsoft .NET provider and it connects and executes queries fine (though 3 times slower).
    How do you think what is reason or how can I find the reason?

    Hi All
    I am testing .NET connectivity to Oracle 11g and I am not successful for a while.
    I've tried to connect to database using library included in Oracle 10.2.0.3 Client and as a result I've got "invalid username or password" error. Then I've tried to use ORAC 11.1.0.5.10beta. I successfully connected to the server, but when I try to exec any query my program hangs.
    Both of them work correctly with Oracle 9i database.
    Also I've tried Microsoft .NET provider and it connects and executes queries fine (though 3 times slower).
    How do you think what is reason or how can I find the reason?

  • JDBC Drivers for Weblogic to connect to Oracle 11g database

    WebLogic Server Version: 10.3.6.0
    We had Oracle 10g database that we were connecting using JDBC data source (driver : Oracle's Driver (Thin XA) for instance connections; versions:9.0.1 and later). We migrated our database to 11g now. Is it still the best driver to connect to 11g database or should we change it to something else?

    why not using an 11 driver to connect to db 11g?
    maybe the following posting helps although is focuses on db 12c:
    https://blogs.oracle.com/WebLogicServer/entry/part_1_12c_database_and
    best wishes.
    Blog: Oracle Fusion Middleware and Cloud Computing

  • *Crystal Reports 2008 connection to oracle 11g database error IM003*

    Hi ,
    I am getting the following error when connecting to Oracle 11 g database using Crystal Reports 2008.
    _Logon Failed:Details: IM003:Specified driver could not be loaded due to system error 127 ( Oracle in OraClient11g).
    Datebase Vendor Code:160.
    The Login and Pw that I am using are correct.
    *Could you please let me know any steps that i need to do to resolve this problem.
    Thanks!*

    Hello,
    I haven't seen that error in years... There was a version of Oracles client that did not put the client install into the PATH statement.
    Add the Oracle ...\Bin folder to your System Environment variables and then it should work.
    Thank you
    Don

  • How To Connect To Oracle 11g Database From Microsoft Excel

    Hi All,
    I have Windows7 64bit installed in my laptop.
    I have Microsoft Excel 2007 installed.
    I tried connecting to Oracle database ( This is not a local database).
    Navigation used:
    Data> From Other Sources > From Data Connection Wizard > Other/Advanced > Next > Microsoft OLE DB Provider For Oracle > OK
    Now I get a pop up to enter:
    username
    password
    server
    When I enter all the required details I get this error "ORA-06413 CONNECTION NOT OPEN"
    Is there no need to give PORT number?
    Thanks,
    Vishwamber Shetty

    Hi,
    Did you install oracle client on the machine? Can you do "tnsping <SID>"? Can you connect to DB using sqlplus ?
    Try using tnsname for server name.
    Connecting to Microsoft Data Sources Through ODBC Connection  This shows how to connect using ODBC connection. I think this would be more appropriate.

  • Facing issue in Connecting to Oracle 10g database in OBIEE+

    Hi All
    I have done the BASIC installation of OBIEE+ on Windows [local system].
    I have tested for all the services running and they are running fine.
    As Oracle 10g is our databse i need to connect to the databse.
    Please guide me with step by step process on how to establish the connection.
    I went through the tutorail but still failed to establish the connection.
    Thanks in advance,
    Regards,
    Veena A
    Edited by: user10511722 on Dec 14, 2008 11:40 PM

    As John says you need some sort of Oracle client to connect to the database.
    I use instant client, with ODBC options, and SQLPlus (to test connectivity)
    Available here
    http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html
    You will also need to copy your tnsnames.ora into the directory you install in, and set the TNS_ADMIN environment variable to point to it.

  • Error while creating a JDBC connection to Oracle 11g using WLS 6.1

    Hi
    I am trying to connect to Oracle 11g database on Weblogic 6.1 server.
    First of all i would like to know if this is compatible?
    The environement that i have is this
    1. JDK 1.3
    2. Database 11g is on remote system
    3. Oracle client on my local system ( Connecting to the 11g DB through the client works fine)
    4. Weblogic server 6.1
    5. Currently the application is connected to Oracle 10g DB and working fine(We are attempting to move it to 11g)
    Below are the steps that i followed to create the connection:
    1. Made an entry for the datasource in config.xml under <WLS_DOMAIN>/config folder as below
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    MaxCapacity="4" Name="CADConnectionPool"
    Properties="user=abc_proxy;password=proxy_abc;dll=ocijdbc8;protocol=thin"
    RefreshMinutes="5" ShrinkPeriodMinutes="10" Targets="CAsvr"
    TestConnectionsOnRelease="true" TestConnectionsOnReserve="true"
    TestTableName="dual" URL="jdbc:oracle:thin:@gen11t-ora.db.lab.xyz.com:1530:GEN11T"/>
    2. Restarted the server.
    3. Ran the application and get the following error on the server console:
    <Aug 22, 2011 12:39:42 AM CDT> <Error> <JDBC> <Cannot startup connection pool "C
    ADConnectionPool" weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.lang.ArrayIndexOutOfBoundsException
    at oracle.security.o3logon.C0.r(C0)
    at oracle.security.o3logon.C0.l(C0)
    at oracle.security.o3logon.C1.c(C1)
    at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientH
    elper)
    at oracle.jdbc.ttc7.O3log.<init>(O3log.java:289)
    at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:251)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:246)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:365)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:193)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:134)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
    cator.java:705)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
    ava:282)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:650)
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:360)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
    loymentTarget.java:285)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
    ments(DeploymentTarget.java:239)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
    DeploymentTarget.java:199)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy31.updateDeployments(Unknown Source)
    at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
    yments(ServerMBean_CachingStub.java:2977)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
    er(ApplicationManager.java:372)
    at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
    nManager.java:160)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy42.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
    .start(ApplicationManagerMBean_CachingStub.java:480)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1234)
    at weblogic.management.Admin.finish(Admin.java:644)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:524)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
    at weblogic.Server.main(Server.java:35)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:209)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:134)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
    cator.java:705)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
    ava:282)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:650)
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:360)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
    loymentTarget.java:285)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
    ments(DeploymentTarget.java:239)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
    DeploymentTarget.java:199)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy31.updateDeployments(Unknown Source)
    at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
    yments(ServerMBean_CachingStub.java:2977)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
    er(ApplicationManager.java:372)
    at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
    nManager.java:160)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy42.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
    .start(ApplicationManagerMBean_CachingStub.java:480)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1234)
    at weblogic.management.Admin.finish(Admin.java:644)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:524)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
    at weblogic.Server.main(Server.java:35)
    Can't load scjd12.dll, file not found java.library.path=C:\jdk1.3.1_11\bin;.;C:\WINDOWS\system32;C:\WINDOWS;.\bin;C:\P
    rogram Files\Lotus\Notes\Data;C:\Program Files\Lotus\Notes;C:\Program Files\Java
    \jre1.5.0_17\bin;C:\Program Files\Java\j2re1.4.2_06\bin;C:\Oracle\bin;C:\Program
    Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\sys
    tem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\sys
    tem32\nls\ENGLISH;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Rational
    \common;C:\Program Files\Rational\ClearCase\bin;C:\apache-ant-1.6.5\bin;C:\jdk1.
    3.1_11\bin;C:\Program Files\Citrix\ICAService\;C:\Program Files\Citrix\System32\
    ;Z:.
    <Aug 22, 2011 12:38:06 AM CDT> <Info> <JDBC> <Sleeping in createResource()>
    <Aug 22, 2011 12:38:07 AM CDT> <Error> <JDBC> <Cannot startup connection pool "c
    ispool" weblogic.common.ResourceException:
    Could not load 'com.neon.jdbc.Driver
    If this is a type-4 JDBC driver, it could occur if the JDBC
    driver is not in the system CLASSPATH.
    If this is a type-2 JDBC driver, it may also indicate that
    the Driver native layers(DBMS client lib or driver DLL)
    have not been installed properly on your system
    or in your PATH environment variable.
    This is most likely caused by one of the following:
    1. The native layer SO, SL, or DLL could not be found.
    2. The file permissions on the native layer SO, SL, or DLL
    have not been set properly.
    3. The native layer SO, SL, or DLL exists, but is either
    invalid or corrupted.
    For more information, read the installation documentation
    for your JDBC Driver, available from:
    http://e-docs.bea.com
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:212)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:134)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
    cator.java:705)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
    ava:282)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:650)
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:360)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
    loymentTarget.java:285)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
    ments(DeploymentTarget.java:239)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
    DeploymentTarget.java:199)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy31.updateDeployments(Unknown Source)
    at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
    yments(ServerMBean_CachingStub.java:2977)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
    er(ApplicationManager.java:372)
    at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
    nManager.java:160)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy42.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
    .start(ApplicationManagerMBean_CachingStub.java:480)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1234)
    at weblogic.management.Admin.finish(Admin.java:644)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:524)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
    at weblogic.Server.main(Server.java:35)
    Would like some help on this asap as the project is in critical stage.
    Thanks

    The driver being used by your weblogic is too old and incompatible with the DBMS. Upgrade the driver.

  • Establish 32-bit ODBC connection to 64-bit Oracle 11g database

    Hi Everyone,
    Just to set the scene:
    PC with Windows 2003 server x64 OS installed, Oracle 11g 11.1.0.7 64-bit installed and MS Office 2007 installed.
    I am looking for advice on the best way to establish an ODBC link so that MS Access 2007 (32-bit) can connect to the Oracle 11g (64-bit) database.
    There are known issues, see [http://support.microsoft.com/kb/942976|http://support.microsoft.com/kb/942976] (which I have hit) when attempting to use a 64-bit ODBC DSN within MS Access 2007. This means that I need to setup and install an Oracle 11g 32-bit ODBC driver to be used against the Oracle 11g database (TNS listener also running 64-bit).
    Any thoughts on the best approach I should take to do this?
    Regards,
    Leigh.

    The more information section of the MS support article doesn't give me much to go on other than to explain the differences in how user and system DSNs are displayed and managed between the 2 different bit versions of ODBC administrator and how this information is stored in the different registries (64-bit and WOW64).
    I have been able to install 32-bit Oracle11g instantclient and its ODBC driver successfully and then in turn create the 32-bit ODBC DSN, however I am unable to connect to the 64-bit database when I attempt to test the DSN. I have updated the Windows PATH environment variable to include both the path of the Oracle11g DB server and instantclient homes as well as creating a TNS_ADMIN environment variable to point to the location of the Oracle11g TNSNAMES.ORA and the 64-bit 11g listener. However despite this I still get the error when testing the DSN:
    Unable to connect
    SQLState=S1000
    [Oracle][ODBC][Ora]ORA-12541: TNS:no listener

  • 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?

  • Oracle 10g client connect to oracle 11g server

    Hi All,
    In my system, i have installed oracle 11g server(11.1.0.6.0). while i try to connect to this server by 10g client in my friends system,which is in the same network,it is showing
    ORA-12545: Connect failed because target host or object does not exist,
    then i tried with other system (using oracle10g client), its showing
    ORA-12154: TNS:could not resolve the connect identifier specified
    then i tried with one another system (using oracle 9i client) -- its is connected.
    what may be the problem. not connecting using oracle 10g client. and also different error.

    user12479258 wrote:
    Hi,
    The client version is 10.2.0.1
    this version may not be connect to oracle 11g?
    If so then which are the client version will connect to oracle11g server(11.1.0.6.0).A 10.2 client will connect to an 11.x database, but the sqlnet.ora and tnsnames.ora files must be configured correctly. The errors you reported are not uncommon and have been diagnosed repeatedly on this forum. Let's not confuse the issue by comparing / copying files from various machines, as that has already created a moving target of error messages.
    On the client that is exhibiting the problem ...
    Do you have a single ORACLE_HOME? A single TNSNAMES.ORA?
    On that machine, at a command prompt, do a tnsping on the service in question. Also try to connect with sqlplus. Copy the entire session -- commands and results -- and paste it all back here.
    On the server machine, log on as the owner of the oracle software, and at a command prompt enter the command "lsnrctl status". Again, Copy the entire session -- commands and results -- and paste it all back here.

  • What are the privileges required for explain plan in Oracle 11g database

    I am facing the problem in doing a explain plan for a view in Oracle 11g database. When I select from the view like this:
    select * from zonewisearpu
    It does a select on the view but when I give explain plan like
    explain plan for
    select * from zonewisearpu
    I get the error like insufficient privileges.
    Please let me know if things are getting missed out as I guess system level privileges are required to execute this.
    I hope, my question is clear.
    It’s a humble request to revert urgently if possible as I need to complete a task and do not know the way out.
    Regards

    975148 wrote:
    Thanks for your reply. I have found out that an explain plan is possible on the user's own objects and is not possible on the granted objects from a different schema. For eg, if I do a explain plan on a view querying on tables from a different view, it would not allow the explain plan to proceed. This could mean that explain plan needs different privileges than just a select.
    Requesting for a revert to this.
    Here is a simple test case that I have perfomed
    SQL> create user test1 identified by test1;
    User created.
    SQL> create user test2 identified by test1;
    User created.
    SQL> grant connect, resource to test1,test2;
    Grant succeeded.
    SQL> create table test1.tab1 as select * from v$session;
    Table created.
    SQL> connect test2/test1
    Conencted.
    SQL> show user
    USER is "TEST2"
    SQL>
    SQL> explain plan for
      2  select sid,serial#,status,username from test1.tab1 where username<> '';
    Explained.
    SQL>
    So, as can be seen I am able to do a explain plan from user test2 for tables belong to user test1.
    As far as privileges are concerned, following is the list
    SQL> select * from dba_role_privs where grantee in ('TEST1','TEST2') order by 1;
    GRANTEE                        GRANTED_ROLE                   ADM DEF
    TEST1                          CONNECT                        NO  YES
    TEST1                          RESOURCE                       NO  YES
    TEST2                          CONNECT                        NO  YES
    TEST2                          RESOURCE                       NO  YES
    SQL>
    SQL> select grantee,owner,table_name,privilege from dba_tab_privs where grantee in ('TEST1','TEST2') order by 1;
    GRANTEE    OWNER      TABLE_NAME           PRIVILEGE
    TEST2      TEST1      TAB1                 SELECT
    SQL>
    SQL>  select * from dba_sys_privs where grantee in ('TEST1','TEST2') order by 1;
    GRANTEE    PRIVILEGE                      ADM
    TEST1      UNLIMITED TABLESPACE           NO
    TEST2      UNLIMITED TABLESPACE           NO
    SQL>

Maybe you are looking for

  • Query on Patch Deployment Process in SCCM 2012 R2

    Hi All,        I have a Below SCCM environment in place, I have a very basic question on how Patches are downloaded by Client machines, Environment Details: one SCCM Server in Hongkong DC one DP server in Singapore Datacentre There are 14 Clients in

  • Error while creating a Purchase Order

    Hi Friends, I am new to SAP MM. I am getting a problem while creating a purchase order. I created Purchase Info Record, Source List, but while creating Purchase Order, price is not picking from the purchase order. I am getting an error i.e. Net Value

  • Disk Utility can't format my external HD - File System Formatter fails

    Hi. I have a Freecom 1.5TB external hardrive that is connected by firewire to my Intel iMac. The drive has worked fine for a year and then suddenly the "error 36 code" appeared and nothing else could be saved to the drive. Disk Utility told me that i

  • Customer statement generation

    Hi all, Please can someone tell me how to print a customer's Statement without having the transactions appearing on that statement. Nagivation is: Receivables > Print documents>Statements. Regards

  • Imovie 8.0.6 won't import hd movies

    I am using iMovie 8.0.6. I used two Flip video cameras to take videos (one standard and one HD). I am trying to create a project combining still photos and videos. The standard videos have imported and been placed next to photos. iMovie will not impo