Excel (Office 2010 64 bit) will not connect to Oracle DB not matter what I try

Hello Everyone,
I started a new role that requires me to interact with an Oracle DB using Excel.  Currently I have both the 32 bit and 64 bit Oracle clients installed on my Windows 7 PC. 
Firstly I can TNSPing the database I need to connect to, I can also connect using SQLPlus to the desired database, I can even connect using TOAD.
No matter what I try I cannot connect using Excel VBA (Office 2010 64 bit).
The process below used to work for me in a different location, now the objDatabase always is returned "Empty"
Set objSession = CreateObject("OracleInProcServer.XOraSession")
Set objDataBase = objSession.OpenDatabase("database server", "user name/passsword", 0&)
I am not even able to set up a simple ODBC connection working.  I get a error "ORA-12557: TNS:protocol adapter not loadable."
When using a ADODB connection I get this error. Run time error '-2147467259 (80004005)':
[Microsoft][ODBC Driver Manager] Data source name not found and default driver specified.
I have place the TNSNames file in both Oracle Home's
I have even reinstalled Office 2010.

Hi,
The 12577 error (12557: TNS:protocol adapter not loadable) is related to Windows Environment or Oracle Home PATH because sqlplus command works smoothly when I execute it inside ORACLE_HOME\bin.
There are two solutions to this issue:
1. Put the Oracle DB Home in front of the other paths in the PATH environment variable.
2. Remove ORACLE_HOME From environment Variable and re-boot PC
http://www.dba-oracle.com/t_ora_12577.htm
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
If you have further question about the ADODB, I recommend you post the question to MSDN forum:
http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
Regards,
George Zhao
TechNet Community Support

Similar Messages

  • I have a perfectly good wi-fi setup but it will not detect my Aiport Express no matter what aI try. Help!

    I have a perfectly good wi-fi setup but it will not detect my Aiport Express no matter what aI try. Help!

    Error 1604
    This error is often related to USB timing. Try changing USB ports, using a different dock connector to USB cable, and other available USB troubleshooting steps (troubleshooting USB connections. If you are using a dock, bypass it and connect directly to the white Apple USB dock connector cable. If the issue persists on a known-good computer, the device may need service.
    If the issue is not resolved by USB isolation troubleshooting, and another computer is not available, try these steps to resolve the issue:
    Connect the device to iTunes, confirm that the device is in Recovery Mode. If it's not in Recovery Mode,put it into Recovery Mode.
    Restore and wait for the error.
    When prompted, click OK.
    Close and reopen iTunes while the device remains connected.
    The device should now be recognized in Recovery Mode again.
    Try to restore again.
    If the steps above do not resolve the issue, try restoring using a known-good USB cable, computer, and network connection.
    Error 1600, 1601, 1602
    Follow the steps listed above for Error 1604. This error may also be resolved by disabling, deactivating, or uninstalling third-party security, antivirus, and firewall software. See steps in this article for details on troubleshooting security software.

  • I have a problem that my phone only vibrates but does NOT ring any more.  No matter what I try to do with settings turning off "silent" or whatever nothing helps.  Do I need to reset.  what are the consequences of resetting?

    I have a problem that my phone only vibrates but does NOT ring any more.  No matter what I try to do with settings turning off "silent" or whatever nothing helps.  Do I need to reset.  what are the consequences of resetting?

    What a numpty!  Yes of course you're right.
    Couldn't find the answer when searching the forum but then came accross this.
    Next dumb question coming up! :-(

  • Old Login does not go away...no matter what I try!

    hello, hope this is the correct forum.
    Last year I bought the 3gs and gave my wife my 3g. When she got a new computer for Christmas, we installed itunes and created a new account, it seems to sync fine. (she has a credit in her account - not that it matters?)
    Well, finally got around to look at the phone today and saw that 8 apps had updates. I try to update them, but when it says log-in, "my old" email account shows up and I cannot update anything.
    I did log in in the setting (iphone) and it takes it fine. I did make sure that iTunes has the correct email login and everything shows her account, I then did a sync a few times, but the same thing happens - when I go to update, it shows my old account and it says I have put wrong password in it - will not allow me to go further.
    I tried deleting an app and then downloading it again directly to the phone, but no different, still shows the old account.
    IT WILL, allow new apps to be downloaded - but no updates for the old ones?
    Any help?

    I still have my account active on another computer but I changed the login on my account when I changed email address.
    The apps were from my account, mostly free, a few for a buck - but all from my old account.
    The login email that pops up if from the old email login that I do not even have at this time.
    Would it be best if I just deleted all the apps and started fresh from her account? I am not worried about the few bucks I originally spent, but its the time factor.
    So, to sum it up - yes the apps on her phone are from when I placed them on it before I gave it to her. Since she has her own laptop now, I installed itunes it and and created her own account. I can access her account and buy from itunes using her account - no problem. The difficult and confusing part is that the apps were installed with MY OLD account login (which I changed when I got a new email address).
    Sounds like I will need to delete them and start over....
    Thanks
    PS: to answer yoour questions -
    1) Yes - 2 different accounts
    2) Yes - from my account at which time I had a different email login (less than 6 months ago)

  • Could not connect to Oracle database from excel macro. Getting connection not open.

    Hi all, 
    I could not connect to oracle database using excel macro. After much R&D also, I cannot find right solution. Please help me where I am doing wrong.
    Sub Button2_Click()
    Dim Conn As New ADODB.Connection
    Dim RS As New ADODB.Recordset
    Dim Cmd As New ADODB.Command
    Dim sqlText As String
    Dim Row As Long
    Dim Findex As Long
    Dim Data As Worksheet
    Dim X As Long
    Dim UID As String
    Dim PWD As String
    Dim Server As String
    Dim strCon As String
    Application.Calculation = xlCalculationManual
    UID = "myUserid" 'Enter the User ID
    PWD = "myPassword" 'Enter the password
    Server = "myHostname or myServername" 
    Set Data = Sheets("Sheet2")  
    Data.Select
    Range("A:J").ClearContents 
    strCon1 = "Provider = Microsoft.ACE.OLEDB.12.0;DATA SOURCE=myHostName;Database=myDBname;uid=myUserid;pwd=myPassword;"
    Conn.Open (strCon1)
    Cmd.ActiveConnection = Conn
    Cmd.CommandType = adCmdText
    ' Put your query next
    sqlText = " select * from table "
    Cmd.CommandText = sqlText
    Set RS = Cmd.Execute
    For X = 0 To 17 
    Data.Cells(1, X + 1) = RS.Fields(X).Name
    Next
    Do While Not RS.EOF 'this loops through the data and puts it in the spreadsheet
    Row = Row + 1
    For Findex = 0 To RS.Fields.Count - 1
    Data.Cells(Row + 1, Findex + 1) = RS.Fields(Findex).Value
    Next Findex
    RS.MoveNext
    Loop
    Application.Calculation = xlCalculationAutomatic
    Application.Calculate
    End Sub
    sammy

    I have set oci.dll in to the path specified. Prior to this I musy say that, I have 64 bit excel 2010 & installed respective drivers from the link provided http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
    But
    still I am facing as:-" Provider cannot be found. It may not be properly installed."
    sammy

  • TS4268 I did it all ... but my iPad will not connect to FaceTime ... What's next ???

    I did it all ... but my iPad will not connect to FaceTime ... What's next ???

    I'm sorry I wasn't clear... I have new iPad but when I'm trying to activate the FaceTime with my Apple ID it will not let me do it ( I'm getting the message "an error occurred during activation. Try again" )
    I went through all the troubleshooting but it still doesn't work. I will mention my FaceTime on my phone works fine and the same was with my old iPad
    Thanks for your help :)

  • I'm trying to connect my iPad to my Samsung galaxy s by bluetooth but the ipad will pair with it but not connect and says "its not supported" does anyone know what this means and how I get it to work?

    I'm trying to connect my iPad to my Samsung galaxy s by bluetooth but the ipad will pair with it but not connect and says "its not supported" does anyone know what this means and how I get it to work?

    iOS devices do not have the BT profiles that support file sharing and othr general functions. See:
    iOS: Supported Bluetooth profiles
    Basically it support headphones, keyboards, speakers, peer-to-peer gaming

  • Face time will not connect error message "Please check network conections and Try again" message appears but I'm connected to the internet?

    Face time will not connect error message "Please check network conections and Try again" message appears but I'm connected to the internet?

    Hey sergioo9,
    Thanks for the question. Based on what you stated, it seems like you are having trouble signing into Messages on OSX. I would recommend that you read this article, it may be able to help you resolve or isolate the issue.
    FaceTime, Game Center, Messages: Troubleshooting sign in issues - Apple Support
    Thanks for using Apple Support Communities.
    Cheers,
    Mario

  • None of the Office 2010 apps will open, any suggestions.  Worked fine until about 3 days ago

    None of the Office 2010 apps will open, any suggestions.  Worked fine until about 3 days ago

    as it turns out - I think it might be Ram related... crash log has this..
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000

  • Error: ORA-03114: not connected to ORACLE

    While executing the database creation at the middle it is asking for password even if i give password (first attempt ) or empty enter (Last attempt)i'm unable to connect the database.
    Password for DBSNMP user:
    null [ORA-03114: not connected to ORACLE
    Thanks!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    in my lsnrctl i am unable to see the database
    H:\lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-FEB-2013 19:10:31
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                01-FEB-2013 19:01:09
    Uptime                    0 days 0 hr. 9 min. 22 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\oracle\listener.ora
    Listener Log File         e:\app\username\diag\tnslsnr\mysystem\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522)))
    Services Summary...
    Service "orcl" has 1 instance(s).
      Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Service "First" has 1 instance(s).
      Instance "First", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfullyi am able to see the all the database which running under this instances
    After that i pingged the database
    H:\>tnsping First
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-FEB-2013 19:13:47
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    C:\Oracle\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost
    )(PORT = 1522)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = FIRST)))
    OK (30 msec)where as in tnsping Last i am able to see the database
    H:\>tnsping Last
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-FEB-2013 19:13:47
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    C:\Oracle\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost
    )(PORT = 1522)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = LAST)))
    OK (30 msec)Last database is in oracleserviceLast
    What is wrong with the process.

  • OBIEE 11g not connect the Oracle database

    Hi All,
    We installed 11.1.1.6.0 version on Linux 64 bit it works fine after some reason we delete that one and re install on same Linux box,we place old catalog and rpd.
    But when you login all reports is showing errors bellow
    In log file..........
    [nQSError: 43119] Query Failed:
    [2013-10-19T19:47:24.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 24cef0e6e960bda3:-7f74eefb:141d239504e:-8000-0000000000000d97] [tid: 44b5a940]  [nQSError: 17014] Could not connect to Oracle database. [[
    [nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified
    at OCI call OCIServerAttach.
    [nQSError: 43119] Query Failed:
    [nQSError: 43113] Message returned from OBIS.
    In report level
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [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)
    Pls help thanks in advance.

    There are 2 places you need to keep TNS names.ora file for OBIEE to connect.
    1. Oracle client which is in your machine
    2. OBIEEhome>Oracle_BI1\network\admin
    I'm sure you would have it in your oracle client. Copy paste the same TNS names in this path too.
    Then open rpd and right click on any table in physical layer and click view data. You should see the results.
    if this doesn't work check your credentials.
    mark if this helps

  • Intermittent not connected to Oracle error

    Hi ,
    I keep getting not connected to oracle error for one of our client' server. The application is an Windows service and the client OS is Windows 2003 Server with Oracle Client version 9.2.0.7
    I haven't see this error for any other client. I have got the following exception being reported from oracle.
    Any ideas? I initially thought it was the service, but debugging it in Visual Studio has not shown any exception, MS Exception or buffer overruns.
    Regards
    Viresh
    ORANTCP9! 619137b9()
    ORAN9! 614d7625()
    ORAN9! 614c6954()
    ORAN9! 614a95a6()
    ORAN9! 614a0256()
    ORAN9! 6149f72d()
    ORAN9! 6149d743()
    ORANONAME9! 617d110d()
    ORAN9! 614a35db()
    ORAN9! 614a276c()
    ORANL9! 614105c0()
    ORAN9! 614f914c()
    ORAN9! 614a4f80()
    ORAN9! 61493c84()
    ORACLIENT9! 60716c43()
    ORACLIENT9! 606a9b93()
    ORACLIENT9! 60652018()
    ORACLIENT9! 60601457()
    ORAOLEDB! 02c0c549()
    040d8450()

    i think you will need to check your tnsnames.ora file on your client machine. make sure the ip is same as that of one at the server.
    also check the listener.ora has the correct ip (this should be same as the server machine run ipconfig/all) .
    try to restart the listener on the server.
    from command prompt
    --lsnrctl
    --status
    --start                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • D40-1015 Could not connect to Oracle OLAP

    Hello,
    I have installed new 10g R2 database on Sun Solaris 64 bit, When I access the discoverer I am getting this 'D40-1015 Could not connect to Oracle OLAP' error. I have installed OLAP and XDB everything.
    How do I recover from this error, any idea would be greatly appreciated.
    FYI,
    OracleBI Discoverer
         Diagnose Connection
    BI Beans Catalog Version....=N/A; not installed in uv
    Discoverer Catalog version....=N/A; not installed in uv
    Thanks,

    Hi,
    Did you install the Discoverer catalog and authorize users? (see the Configuration Guide)
    Regards

  • 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

  • Could not connect to Oracle database. (HY000): BI Answers Problem

    Hi,
    I am using OBIEE 11g and 11g admin client tool is installed in my machine. I created one rpd and I deploy that rpd in the server through Enterprise manager fusion middleware control. But when try to run the analysis from BI answers it throws and error like
    "TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)".
    In the rpd I use OCI default (10g/11g) and cheked that connection is successful and also when I click on view data option in the physical layer I am able to see the data. I cheked with DBAs and correct TNS entries are also there in the server. Could not understand where is the problem.
    Please help.
    Thanks
    Titas

    Try like this
    Call Interface: Default (OCI 10g/11g)
    Data source Name->localhost:1521/XE
    BTW: Whats the client bit version 32/64 bit, if you have 64bit and above is not working try with Oracle client 32bit.
    Pls mark correct/helpful if helps

Maybe you are looking for

  • Using transform api with xslt and DOM Nodes

    Hi, when trying to transform a xml document with xslt using the javax.xml.transform api providing an element node of a previously parsed document, I find that absolute paths are not recognized. The following program shows what I am basically doing (t

  • Invitation Status problems

    I have a few problems with the status of events within my calendars. Firstly, when I create a new event with another attendee, then according to the help document named "Understanding symbols in iCal", after the email invitation has been sent the sta

  • How to implement a certain idea using J2EE.

    Ok I have the following situation... 1- Client sends an XML document to server and awaits response. 2- Server stores XML document to database. 3- Using stored procs server processes the XML document. Data is inserted to tables, validation etc... 4- S

  • I am trying to transfer music from the latest version of iTunes on my PC to my iPad. I did it earlier but not now. can you help?

    I am unable to transfer music from iTunes on my PC to my iPad2. Recently I have upgraded iTunes and iPad to latest versions of software. Can you help with a solution?

  • Where can I get the information

    I need information on Java TAPI for doing VoIP connections. I can find posts asking about it, but can't find any actual Sun-related documentation. Any ideas?