Trying to connect Excel 2010 to Oracle

Hello,
I am trying to connect Excel 2010 directly to the Oracle database at work. I was hoping to combine VBA and SQL to automate queries without having to use SQL Developer or the bespoke enterprise software to then export the data into a spreadsheet. I have downloaded the ODBC driver and installed it onto my PC. I have tried to configure the connection and the tnsnames.ora file but it will not connect (I can get the exact error from work tomorrow).
I have an XML file that contains all of the connection details (such as the ports, passwords and the server name) for the databases that I need to access. There isn’t anyone who can help me at work as the former IT manager has left and my current manager has very little technical knowledge.
The network is managed by a different part of the business at an external site containing all of the servers. Although I have an administrator account, it is very restricted so I cannot use the command prompt but I can install software.
I would be grateful for any advice. If it helps the operating system I am using is Windows Vista 32-Bit. I am unsure which version of Oracle we are using (it might be 10g but is there anything I could type into SQL Developer that would display the version of Oracle I am using?).
Many thanks in advance and sorry for probably not explaining things very well,
Matt

I think I am going to give in with ODBC for the time being and I don’t want to waste any of your time.
Just to make everything clear in case I missed something important out:
I ran the select banner from v$version statement and retreived:
Oracle Database 10g Release 10.2.0.5.0 - 64bit Production
PL/SQL Release 10.2.0.5.0 - Production
"CORE 10.2.0.5.0 Production"
TNS for 64-bit Windows: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
I originally installed the latest version of 11g ODBC and reinstalled it as I didn't think it was working. I then installed 10g version today but I couldn't find ODBC.exe file like I could in the 11g version.
I can't get the tnsnames.ora file off the database server as I can't connect to it. I know the server name but I think I may be restricted from accessing it as the network and user accounts are really locked down. I read somewhere when I was searching that there was a way of generating the tnsnames.ora file which would be quite useful as there wouldn't be any mistakes.
Like I have mentioned before I can’t access the command prompt and the only way I can connect to the database is through SQL Developer (which I have all the connections for in an XML file).
I tried the ADO method and it didn't work, but after getting home and trying something I know how to resolve the ActiveX Objects related error I was getting, so maybe I could get this method to work.
It is just frustrating that I know this could work but things aren’t as simple as I thought although the advice I have received has been really useful. Thanks for all the help.

Similar Messages

  • Connecting Excel 2010 64 bit on Windows 7 64 bit to Oracle 11gR2 on Linux

    Using:
    Excel 2010 64 bit
    Windows 7 64 bit
    Oracle instant client 11.2.0.1 64 bit
    connecting to Oracle 11gR2 64 bit on Linux 5.8 64 bit
    I have created a User DSN in Windows called "NITRO Oracle 11gR2 DB" using the Oracle 64 bit instant client driver 11.2.0.1. Configured as so
    http://i.imgur.com/2a3MZ.png
    Connection test is successful.
    In Excel 2010, I go to Data ribbon, From Data Connection Wizard
    http://i.imgur.com/han3u.png
    I then choose Other/Advanced, and then Oracle Provider for OLE DB.
    http://i.imgur.com/w3P1c.png
    I click next and then put in the data source, user name and password and click test, and it fails with Micosoft Data Link Error. http://i.imgur.com/zuv41.png
    Do you know what I'm doing wrong?

    12154 means the client couldn't resolve what you filled in for Data Source. What did you fill in for Data Source when configuring the OLEDB connection? It looks like "nitro" should be the correct thing to fill in, based on your statement that the ODBC DSN you configured works with it.
    Greg

  • Cannot connect Excel 2010 PowerPivot to Oracle

    I am unable to connect to an Oracle database in powerpivot from excel 2010.
    I have a 32-bit machine, and my version of excel is 2010 (32-bit). In normal excel, I can connect to the oracle database and extract data no problem, however this is not working in powerpivot.
    The steps I am taking in powerpivot are
    click "Get External Data from Other sources", which takes me to Table Import Wizard
    click option "Others (OLEDB/ODBC)". I then click Build which brings me to a Data Link Properties window and I select my data source name from drop down menu, and enter my username & password and als also tick check box for "Allow saving
    password", and then when I click on Test Connection it comes back successful.
    After clicking Ok, it brings me back to Table Import Wizard, and displays the connection sting as:-
    Provider=MSDASQL;Persist Security Info=True;User ID=testuser;DSN=OF_UAT;Password=**********
    However, when I now click Test Connection, I get below error and cannot proceed further:-
    ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
    ERROR [28000] [Oracle][ODBC][Ora]ORA-01005: null password given; logon denied
    I'm not overly familiar with powerpivot, so would appreciate any help on this.

    First you should to create ODBC Connection using Control panel\Administrative Tools:
    DSName is a clue to check source in XL\Menu\Data\Other..\ODBC...
    If you want to use ODBC in VA Code, here is a
    connections string portal
    Oskar Shon, Office System MVP - www.VBATools.pl
    if Helpful; Answer when a problem solved

  • Error while trying to connect to Database using Oracle instantclient

    I have a linux box where i have downloaded"instantclient-basic-linux.x64-11.2.0.3.0.zip". I have unzipped in /opt/instantclient_11_2.
    I am using this as a client in my code for connecting to the oracle 11g database which is in a different server. I have set the below env variables.
    LD_LIBRARY_PATH=/opt/instantclient_11_2
    CLASSPATH=/opt/instantclient_11_2:...
    PATH=/opt/instantclient_11_2:...
    When i run my program i am getting the below error.
    java.sql.SQLException: ORA-12154: TNS:could not resolve the connect identifier specified
    at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:765)
    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:414)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)
    at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:162)
    I am trying to connect through a thick client as below.
    Class.forName ("oracle.jdbc.OracleDriver");
                   Connection conn = DriverManager.getConnection("jdbc:oracle:oci8:@hostname_orcl", userid, pwd);
    I have seen in some forums that we need to set $ORACLE_HOME and $TNS_ADMIN env variables as well. But, here i am trying to connect to a remote database. what should i set these variables to as i don't have oracle in my machine??
    Thanks

    looks like you didnt complete the install of the instant client. the ORACLE_HOME and TNS_ADMIN points to the location of the tnsnames if you dont have the full tns string in your jdbc connection string
    https://kb.berkeley.edu/jivekb/entry.jspa?externalID=1826

  • Linking error while trying to connect to 10 g oracle db through OCCI

    Hello experts,
    Iam getting a linking error while trying to connect to 10 g through OCCI.I've tried both available Instant client versions,But no luck.now, I am using instant client 11.2.0.2 with visual studio 2005 and oracle 10 g on 32 bit XP. I get "*The procedure entry point OCILobSetContentType could not be located in the dynamic link library OCI.dll*" linking error
    How can i fix this error
    Thanks in advance..
    Regards,
    Srihari

    Hello,
    Please ensure that you are using correct PATH and ORACLE_HOME settings - for example if IC 11202 is installed in
    c:\oracle\11202\instantclient_112
    execute on commandline
    ORACLE_HOME=c:\oracle\11202\instantclient_112
    PATH=%ORACLE_HOME%;%ORACLE_HOME%\bin;%PATH%
    before starting VS2005 from commandline - or generate a commandscript
    Inside VS2005 please ensure that you are picking up the libraries from
    %ORACLE_HOM%\oci\lib\msvc\v8\*
    furtheron, copy the
    %ORACLE_HOM%\oci\lib\msvc\v8\*.dll
    to %ORACLE_HOME% - otherwise by default the v9 ar picked up (copied during installation)
    When this has been done, build the code and test - should work
    regards,
    Frank
    Edited by: fscherie on 11.01.2012 12:41

  • Webutil Error when trying to run excel report from Oracle form

    I am trying to run an excel report from a oracle from but it throws me following error:
    Oracle.forms.webutil.fileTransfer.FileTransfer bean not found. WEBUTIL_FILE_TRANSFER.getmaxtransfer will not work
    Can you tell what is this error due to and how to eradicate this.

    hi
    Did you generate .plx?
    please check if you did not generate plx and if u did not create db packages please create the webutil user and create db packages.
    here is the webutil configurations.
    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: [OraHome] is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    [OraHome] with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
      and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    2) Copy or move jacob.jar and jacob.dll
      [JacobStage] is the folder where you extracted Jacob, and will end in ...\jacob_18
         cd [JacobStage]
         copy jacob.jar [OraHome]\forms\java\.
         copy jacob.dll [OraHome]\forms\webutil\.
      The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
      Open a DOS command prompt.
      Add [OraHome]\jdk\bin to the PATH:
         set PATH=[OraHome]\jdk\bin;%PATH%
      Sign the files, and check the output for success:
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\frmwebutil.jar
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
      you may skip this step. Otherwise,
      Create a schema to hold the WebUtil stored code, and privileges needed to
      connect and create a stored package. Schema name "WEBUTIL" is recommended
      for no reason other than consistency over the user base.
      Open [OraHome]\forms\create_webutil_db.sql in a text editor, and delete or comment
      out the EXIT statement, to be able to see whether the objects were created witout
      errors.
      Start SQL*Plus as SYSTEM, and issue:
         CREATE USER webutil IDENTIFIED BY [password]
         DEFAULT TABLESPACE users
         TEMPORARY TABLESPACE temp;
         GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
         CONNECT webutil/[password]@[connectstring]
         @[OraHome]\forms\create_webutil_db.sql
         -- Inspect SQL*Plus output for errors, and then
         CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
      Reconnect as SYSTEM, and issue:
         grant execute on webutil_db to public;
    5) Modify [OraHome]\forms\server\default.env, and append [OraHome]\jdk\jre\lib\rt.jar
      to the CLASSPATH entry.
    6) Start the OC4J instance
    7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
      Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
      It is important to generate the PLX, to avoid the FRM-40039 discussed in
      Note 303682.1
      If the PLX is not generated, the Webutil.pll library would have to be attached with
      full path information to all forms wishing to use WebUtil. This is NOT recommended.
    8) Create a new FMB.
      Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
      There is no need to Subclass the WebutilConfig object.
      Attach the Webutil.pll Library, and remove the path.
      Add an ON-LOGON trigger with the code
             NULL;
      to avoid having to connect to an RDBMS (optional).
      Create a new button on a new canvas, with the code
             show_webutil_information (TRUE);
      in a WHEN-BUTTON-PRESSED trigger.
      Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
      the "Application Server URL" is empty.
      Then append "?config=webutil" at the end, so you end up with a URL of the form
          http://server:port/forms/frmservlet?config=webutil
    10) Run your form.hope this helps u.
    sarah

  • Trying to connect to AS400 from Oracle =  ORA-28545

    Hello,
    I woul like to connect to an AS400 DB from an Oracle DB (OS: Windows Server 2003 SP2 - 32 bits, DB: Oracle DB 10g Release 10.2.0.1.0).
    To that, I have done the following steps:
    1) Create System DSN
    Name: AS400_DTA
    Driver: iSeries Access ODBC Driver
    2) Edit tnsnames.ora:
    SID_LIST_LISTENER =
    (SID_DESC =
    (SID_NAME = AS400_DTA)
    (ORACLE_HOME = D:\oracle\bise1\db)
    (PROGRAM = hsodbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = HOST)(PORT = 1521))
    3) Edit listener.ora:
    (SID_DESC =
    (SID_NAME = AS400_DTA)
    (ORACLE_HOME = D:\oracle\bise1\db)
    (PROGRAM = hsodbc)
    4) create initAS400_DTA in D:\oracle\bise1\db\hs\admin:
    (SID_DESC =
    (SID_NAME = AS400_DTA)
    (ORACLE_HOME = D:\oracle\bise1\db)
    (PROGRAM = hsodbc)
    5) Restart the listener
    6) Create DB link:
    create public database link AS400_DTA connect to "user" identified by "pwd" using 'AS400_DTA';
    In this step I have the following error:
    Link  : "CRPDTA.REGRESS.RDBMS.DEV.US.ORACLE.COM"
    Error : ORA-28545: error diagnosticado por Net8 al conectar a un agente
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: 2 lines precediendo a DTA
    What I am doing wrong? How can I solve the issue?
    How can I test the ODBC drivers to ensure that connectivity is made to the AS400 database?
    If I execute > tnsping AS400_DTA, the result is:
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 15-JUN-2011 15:05:37
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Archivos de parámetros utilizados:
    D:\oracle\bise1\db\network\admin\sqlnet.ora
    Adaptador TNSNAMES utilizado para resolver el alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.18.125.103)(PORT = 1521))) (CONNECT_DATA = (SID = AS400_CRPDTA)) (HS = OK))
    TNS-12541: TNS:no hay ningún listener
    I appreciate any idea/suggestion.
    Thank you in advance!
    Regards,
    Mónica.

    Monica,
    The error reported from the tnsping is -
    Adaptador TNSNAMES utilizado para resolver el alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.18.125.103)(PORT = 1521))) (CONNECT_DATA = (SID = AS400_CRPDTA)) (HS = OK))
    TNS-12541: TNS:no hay ningún listener
    so looks like a problem with the listener and it is also reporting the SID as AS400_CRPDTA and not AS400_DTA as you have in the tnsnames.ora. Are you accessing the correct tnsnames.ora file ?
    Also, the listener.ora entry is -
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = HOST)(PORT = 1521))
    Are you using the actual host name in the HOST entry instead of (HOST = HOST) ?
    What is the output from issuing -
    lsncrtl
    then the 'status' and 'services' command ?
    And an obvious question - did you stop and start the listener after adding the new entry ?
    Also, this is completely incorrect -
    4) create initAS400_DTA in D:\oracle\bise1\db\hs\admin:
    (SID_DESC =
    (SID_NAME = AS400_DTA)
    (ORACLE_HOME = D:\oracle\bise1\db)
    (PROGRAM = hsodbc)
    The initAS400_DTA.ora file should only have these entries -
    HS_FDS_CONNECT_INFORMATION =AS400_DTA
    HS_FDS_TRACE_LEVEL=debug
    And finally, 10.2 HSODBC is now desupported and you should install and use the replacement product which is the 11g Database Gateway for ODBC (DG4ODBC).
    The following note has links to further information -
    Note.1083703.1 Master Note for Oracle Gateway Products
    If you want to continue to use HSODBC then refer to this note -
    Note 109730.1 How to setup generic connectivity (HSODBC) for Windows NT
    but we strongly recommend you install and use DG4ODBC so that you are on a fully supported version.
    Regards,
    Mike

  • Newbie trying to connect to Oracle using ojdbc14

    Hey Programming Pals;
    I am trying to connect to a remote oracle data base.
    I have installed oracle client (allowing me to be able to connect with PL/SQL developer).
    Now I need to connect with JDBC.
    I down loaded ojdbc14 and put it in my tomcat bin directory.
    I than made an entry in path and in classpath to this jar file.
    Here is the code I am using to try and connect with:
    try
    {                                                DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    catch (ClassNotFoundException c)
    System.out.println("Could not load the ODBC driver:" + c);
    Here is the error I am getting:
    An error occurred at line: 38 in the jsp file: /jsp/form.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    D:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\jhtp5\jsp\form_jsp.java:85: package ojdbc14.oracle.jdbc.driver does not exist
                                            DriverManager.registerDriver(new ojdbc14.oracle.jdbc.driver.OracleDriver());
    I browsed through the jar and verified this path exists. Why can't the jvm find it?
    Here are my system variables:
    CLASSPATH:
    .;D:\Program Files\Apache Group\Tomcat 4.1\bin\ojdbc14.jar
    PATH:
    D:\Program Files\Apache Group\Tomcat 4.1\bin\ojdbc14.jar;D:\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
    Any help would be appreciated.
    Luke

    Tomcat doesn't use the System classpath.
    Put the ojdbc14.jar file in the web-inf/lib directory of your web application, restart Tomcat, and try again.
    Cheers,
    evnafets

  • Connect to PostgreSQL from Oracle 11gR2

    Hi folks!
    Trying to connect to PostgreSQL from Oracle 11.2.0.3(RAC). My configuration files are:
    initRT.ora:
    # HS init parameters
    HS_FDS_CONNECT_INFO = RT
    HS_FDS_TRACE_LEVEL = ON
    HS_FDS_TRACE_FILE_NAME = /tmp/odbc_trace.log
    HS_FDS_TRACE_LEVEL = 4
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    # ODBC specific environment variables
    set ODBCINI=/etc/unixODBC/odbc.inilistener.ora:
    LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2))))                # line added by Agent
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER))))            # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1))))                # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON                # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON              # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON                # line added by Agent
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME =/u01/app/oracle/product/11.2/db)
          (PROGRAM = extproc)
        (SID_DESC=
          (SID_NAME = RT)
          (ORACLE_HOME = /u01/app/oracle/product/11.2/db)
          (PROGRAM = dg4odbc)
          (ENVS = "LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2/db/lib:/u01/app/oracle/product/11.2/db/hs/lib")
      )tnsnames.ora:
    RT = (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SID=RT))(HS = OK))
    isql rt rt3 passw
    +---------------------------------------+
    | Connected!                            |
    |                                       |
    | sql-statement                         |
    | help [tablename]                      |
    | quit                                  |
    |                                       |
    +---------------------------------------+
    SQL> quit
    oracle@hostname: psql -h rt rt3 passw
    Welcome to psql 8.3.9, the PostgreSQL interactive terminal.
    Type:  \copyright for distribution terms
           \h for help with SQL commands
           \? for help with psql commands
           \g or terminate with semicolon to execute query
           \q to quit
    rt3=>As you can see, I can connect to PostgreSQL. Then in DB I've created DB link as follows:
    CREATE DATABASE LINK "RT"
       CONNECT TO "RT3" IDENTIFIED BY "passw"
       USING 'RT';
    oracle@hostname: sqlplus rt3/passw
    SQL*Plus: Release 11.2.0.3.0 Production on Tue Nov 15 03:46:12 2011
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, Oracle Label Security,
    Data Mining and Real Application Testing options
    rt3@sid1> select * from users@rt;
    select * from users@rt
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from RT
    Elapsed: 00:00:00.01
    rt3@sid1>Don'tunderstand why I can't connect from Oracle? Thanks in advance.
    Regards,
    Pavel.

    Hi, sure:
    odbc.ini:
    [ODBC Data Sources]
    RT=RT Database
    [RT]
    Description     = RT Database
    Driver          = /usr/lib64/psqlodbcw.so
    Database        = rt3
    TraceFile       = /u01/app/oracle/diag/rdbms/trace/odbc_rt.trc
    Trace           = Yes
    Servername      = rt.domain.com
    Port            = 5432
    Protocol        = 6.4
    ReadOnly        = Yes
    RowVersioning   = No
    ShowSystemTables = No
    ShowOidColumn   = No
    FakeOidIndex    = No
    ConnSettings    =
    Debug           = 0
    CommLog         = 0
    oracle@host:> lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 15-NOV-2011 04:09:23
    Copyright (c) 1991, 2011, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.3.0 - Production
    Start Date                15-NOV-2011 03:30:50
    Uptime                    0 days 0 hr. 38 min. 32 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/11.2/grid/network/admin/listener.ora
    Listener Log File         /u01/app/grid/diag/tnslsnr/host/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=IP)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=IP)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "RT" has 1 instance(s).
      Instance "RT", status UNKNOWN, has 1 handler(s) for this service...
    Other servicesListener.log for PROGRAM=dg4odbc is empty. There are a lot of entries for other services.
    Regards,
    Pavel.
    Edited by: Pavel E. on 15.11.2011 13:13

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

  • Powerpivot 2012 on Excel 2010 - External Data connections not saving passwords, having to re-enter password EVERYTIME I refresh data

    Hey Guys,
    Using Excel 2010 with latest version of Powerpivot 2012 available 11.1.3129.0
    For my SQL Server Data connections in Powerpivot I DO NOT have any issue, when clicking refresh it never asks me to enter a password and uses my Windows AD info.
    However, for my plethora of other external data connections (Informix, Oracle, Etc...) that I would like to have fluid use within Powerpivot, big problems.
    Lets start with Oracle. Below is a screenshot of my connection tab within Powerpivot.
    So as you can see, all the details are entered and Allow Saving Password is selected. Now I will close out of Powerpivot and Excel completely and re-open. I will navigate to the Powerpivot tab
    and select Powerpivot Window. And then will select to "Refresh All" and am quickly prompted with the "Data Source Credentials" window to re-enter my data source password, again.
    What I have already tried. The above method for starters in which I use a connection string under Table Import Wizard --> Others (OLEDB/ODBC)... I found it the least annoying route, although
    still have to re-enter password everytime, which is what I hope this forum can help with.
    I also have tried doing a direct Oracle connection in Table Import Wizard but also does not eliminate my #1 problem.
    I have also created an ODC file to try and use that with stored credentials within the file, also still asks for password each and everytime.
    The same thing happens with my other data connections to Informix and DB2. So any help and/or suggestions anyone has would be great. I also cant upload these powerpivots to our powerpivot gallery
    on SharePoint 2010, I have a sneaking suspicion it is due to the version of powerpivot I am currently using.
    Thanks

    Hi there,
    My company is not using Excel 2013, only 2010. So that is what I have to work with. From what I have read this is a huge hole in the Powerpivot 2012 framework and is extremely frustrating. This seems so basic and simple and like something everyone using
    this product would use, and yet it still doesnt work.
    Great feedback. Connect is the right place for this feedback on 2010 as well. Thanks!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Issue trying to connect oracle to mysql database

    Hi there,
    I need some help with the configuration, i'm trying to connect a windows oracle 11g r2 to a linux mysql 5.5, but i'm having a lot of issue, here i will put the configuration.
    Thanks for everyone how will try to help me!
    here is my tnsname.ora:
    # tnsnames.ora Network Configuration File: C:\app\Administrador\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)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = gabriel-103eff2)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    ms_connection =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=gabriel-103eff2)(PORT=1521))
    (CONNECT_DATA=(SID=ms))
    (HS=OK)
    here is my listener.ora:
    # listener.ora Network Configuration File: C:\app\Administrador\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 = C:\app\Administrador\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrador\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    (SID_DESC=
    (SID_NAME=ms)
    (ORACLE_HOME=C:\app\Administrador\product\11.2.0\dbhome_1)
    (PROGRAM=dg4odbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = gabriel-103eff2)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\Administrador
    here is the init*.ora:
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = ms
    HS_FDS_TRACE_LEVEL = debug
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    here is the debug:
    Oracle Corporation --- SEXTA-FEIRA JAN 04 2013 17:18:13.390
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- SEXTA-FEIRA JAN 04 2013 17:18:13.390
    Version 11.2.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "debug"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "UCS2"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 32 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "ms"
    Product-Info:
    Port Rls/Upd:1/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:ms
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2013/01/04-17:18:14
    Exiting hgolofn, rc=0 at 2013/01/04-17:18:14
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 32 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2013/01/04-17:18:14
    Entered hgolgon at 2013/01/04-17:18:14
    reco:0, name:SYSTEM, tflag:0
    Entered hgosuec at 2013/01/04-17:18:14
    Exiting hgosuec, rc=0 at 2013/01/04-17:18:14
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using SYSTEM as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2013/01/04-17:18:14
    HS_FDS_CONNECT_INFO = "msodbc"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2013/01/04-17:18:14
    dsn:msodbc, name:SYSTEM
    optn:
    Entered hgocip at 2013/01/04-17:18:14
    dsn:msodbc
    Exiting hgocip, rc=0 at 2013/01/04-17:18:14
    Exiting hgogenconstr, rc=0 at 2013/01/04-17:18:14
    Entered hgopoer at 2013/01/04-17:18:14
    hgopoer, line 233: got native error 0 and sqlstate IM002; message follows...
    [Microsoft][ODBC Driver Manager] Nome da fonte de dados não encontrado e nenhum driver padrão especificado {IM002}
    Exiting hgopoer, rc=0 at 2013/01/04-17:18:14
    hgocont, line 2753: calling SqlDriverConnect got sqlstate IM002
    Exiting hgocont, rc=28500 at 2013/01/04-17:18:15 with error ptr FILE:hgocont.c LINE:2773 ID:Something other than invalid authorization
    Exiting hgolgon, rc=28500 at 2013/01/04-17:18:15 with error ptr FILE:hgolgon.c LINE:781 ID:Calling hgocont
    Entered hgoexit at 2013/01/04-17:18:15
    Exiting hgoexit, rc=0
    when i use tnsping ms_connection
    C:\Documents and Settings\Administrador>tnsping ms_connection
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 07-JAN-2
    013 09:04:29
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Arquivos de parÔmetros usados:
    Usado o adaptador TNSNAMES para resolver o apelido
    Tentativa de contatar (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=gabriel-103eff2
    )(PORT=1521)) (CONNECT_DATA=(SID=ms)) (HS=OK))
    OK (0 ms)
    Thank you so much!!!

    Hi Klaus,
    DG40DBC is installed in windows XP 32bit, tje DG4ODBC its installed in the oracle 11g EE r2, automatic right?
    The ODBC driver i had installed was mysql-connector-odbc-5.2.2-win32.exe
    Here is the registry key:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC]
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI]
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC File DSN]
    "DefaultDSNDir"="C:\\Arquivos de programas\\Arquivos comuns\\ODBC\\Data Sources"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI]
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Conversor de página de código MS]
    "Translator"="C:\\WINDOWS\\system32\\MSCPXL32.dll"
    "Setup"="C:\\WINDOWS\\system32\\MSCPXL32.dll"
    "UsageCount"=dword:00000002
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Driver da Microsoft para arquivos texto (*.txt; *.csv)]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "Setup"="C:\\WINDOWS\\system32\\odtext32.dll"
    "APILevel"="1"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.,*.asc,*.csv,*.tab,*.txt,*.csv"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Driver do Microsoft Access (*.mdb)]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "Setup"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "APILevel"="1"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="2"
    "FileExtns"="*.mdb"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Driver do Microsoft dBase (*.dbf)]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "Setup"="C:\\WINDOWS\\system32\\oddbse32.dll"
    "APILevel"="1"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.dbf,*.ndx,*.mdx"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Driver do Microsoft Excel(*.xls)]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "Setup"="C:\\WINDOWS\\system32\\odexl32.dll"
    "APILevel"="1"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.xls"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Driver do Microsoft Paradox (*.db )]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "Setup"="C:\\WINDOWS\\system32\\odpdx32.dll"
    "APILevel"="1"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.db"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Driver para o Microsoft Visual FoxPro]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\vfpodbc.dll"
    "Setup"="C:\\WINDOWS\\system32\\vfpodbc.dll"
    "APILevel"="0"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.dbf,*.cdx,*.idx,*.fpt"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Microsoft Access Driver (*.mdb)]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "Setup"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "APILevel"="1"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="2"
    "FileExtns"="*.mdb"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Microsoft Access-Treiber (*.mdb)]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "Setup"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "APILevel"="1"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="2"
    "FileExtns"="*.mdb"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Microsoft dBase Driver (*.dbf)]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "Setup"="C:\\WINDOWS\\system32\\oddbse32.dll"
    "APILevel"="1"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.dbf,*.ndx,*.mdx"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Microsoft dBase VFP Driver (*.dbf)]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\vfpodbc.dll"
    "Setup"="C:\\WINDOWS\\system32\\vfpodbc.dll"
    "APILevel"="0"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.dbf,*.cdx,*.idx,*.fpt"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Microsoft dBase-Treiber (*.dbf)]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "Setup"="C:\\WINDOWS\\system32\\oddbse32.dll"
    "APILevel"="1"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.dbf,*.ndx,*.mdx"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Microsoft Excel Driver (*.xls)]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "Setup"="C:\\WINDOWS\\system32\\odexl32.dll"
    "APILevel"="1"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.xls"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Microsoft Excel-Treiber (*.xls)]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "Setup"="C:\\WINDOWS\\system32\\odexl32.dll"
    "APILevel"="1"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.xls"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Microsoft FoxPro VFP Driver (*.dbf)]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\vfpodbc.dll"
    "Setup"="C:\\WINDOWS\\system32\\vfpodbc.dll"
    "APILevel"="0"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.dbf,*.cdx,*.idx,*.fpt"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Microsoft ODBC for Oracle]
    "UsageCount"=dword:00000001
    "Driver"="C:\\WINDOWS\\system32\\msorcl32.dll"
    "Setup"="C:\\WINDOWS\\system32\\msorcl32.dll"
    "SQLLevel"="1"
    "FileUsage"="0"
    "DriverODBCVer"="02.50"
    "ConnectFunctions"="YYY"
    "APILevel"="1"
    "CpTimeout"="120"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Microsoft Paradox Driver (*.db )]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "Setup"="C:\\WINDOWS\\system32\\odpdx32.dll"
    "APILevel"="1"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.db"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Microsoft Paradox-Treiber (*.db )]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "Setup"="C:\\WINDOWS\\system32\\odpdx32.dll"
    "APILevel"="1"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.db"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Microsoft Text Driver (*.txt; *.csv)]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "Setup"="C:\\WINDOWS\\system32\\odtext32.dll"
    "APILevel"="1"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.,*.asc,*.csv,*.tab,*.txt,*.csv"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Microsoft Text-Treiber (*.txt; *.csv)]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\odbcjt32.dll"
    "Setup"="C:\\WINDOWS\\system32\\odtext32.dll"
    "APILevel"="1"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.,*.asc,*.csv,*.tab,*.txt,*.csv"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Microsoft Visual FoxPro Driver]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\vfpodbc.dll"
    "Setup"="C:\\WINDOWS\\system32\\vfpodbc.dll"
    "APILevel"="0"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.dbf,*.cdx,*.idx,*.fpt"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Microsoft Visual FoxPro-Treiber]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\vfpodbc.dll"
    "Setup"="C:\\WINDOWS\\system32\\vfpodbc.dll"
    "APILevel"="0"
    "ConnectFunctions"="YYN"
    "DriverODBCVer"="02.50"
    "FileUsage"="1"
    "FileExtns"="*.dbf,*.cdx,*.idx,*.fpt"
    "SQLLevel"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MS Code Page Translator]
    "Translator"="C:\\WINDOWS\\system32\\MSCPXL32.dll"
    "Setup"="C:\\WINDOWS\\system32\\MSCPXL32.dll"
    "UsageCount"=dword:00000002
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MS Code Page-Übersetzer]
    "Translator"="C:\\WINDOWS\\system32\\MSCPXL32.dll"
    "Setup"="C:\\WINDOWS\\system32\\MSCPXL32.dll"
    "UsageCount"=dword:00000002
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MySQL ODBC 5.2w Driver]
    "UsageCount"=dword:00000001
    "Driver"="C:\\Arquivos de programas\\MySQL\\Connector ODBC 5.2\\Unicode\\myodbc5w.dll"
    "Setup"="C:\\Arquivos de programas\\MySQL\\Connector ODBC 5.2\\Unicode\\myodbc5S.dll"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Core]
    "UsageCount"=dword:00000001
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]
    "SQL Server"="Installed"
    "Microsoft Access Driver (*.mdb)"="Installed"
    "Microsoft Text Driver (*.txt; *.csv)"="Installed"
    "Microsoft Excel Driver (*.xls)"="Installed"
    "Microsoft dBase Driver (*.dbf)"="Installed"
    "Microsoft Paradox Driver (*.db )"="Installed"
    "Microsoft Visual FoxPro Driver"="Installed"
    "Microsoft FoxPro VFP Driver (*.dbf)"="Installed"
    "Microsoft dBase VFP Driver (*.dbf)"="Installed"
    "Microsoft Access-Treiber (*.mdb)"="Installed"
    "Microsoft Text-Treiber (*.txt; *.csv)"="Installed"
    "Microsoft Excel-Treiber (*.xls)"="Installed"
    "Microsoft dBase-Treiber (*.dbf)"="Installed"
    "Microsoft Paradox-Treiber (*.db )"="Installed"
    "Microsoft Visual FoxPro-Treiber"="Installed"
    "Driver do Microsoft Access (*.mdb)"="Installed"
    "Driver da Microsoft para arquivos texto (*.txt; *.csv)"="Installed"
    "Driver do Microsoft Excel(*.xls)"="Installed"
    "Driver do Microsoft dBase (*.dbf)"="Installed"
    "Driver do Microsoft Paradox (*.db )"="Installed"
    "Driver para o Microsoft Visual FoxPro"="Installed"
    "Microsoft ODBC for Oracle"="Installed"
    "Oracle em OraDb11g_home1"="Installed"
    "MySQL ODBC 5.2w Driver"="Installed"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Translators]
    "MS Code Page Translator"="Installed"
    "MS Code Page-Übersetzer"="Installed"
    "Conversor de página de código MS"="Installed"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Oracle em OraDb11g_home1]
    "APILevel"="1"
    "CPTimeout"="60"
    "ConnectFunctions"="YYY"
    "Driver"="C:\\app\\Administrador\\product\\11.2.0\\dbhome_1\\BIN\\SQORA32.DLL"
    "DriverODBCVer"="03.51"
    "FileUsage"="0"
    "Setup"="C:\\app\\Administrador\\product\\11.2.0\\dbhome_1\\BIN\\SQORAS32.DLL"
    "SQLLevel"="1"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\SQL Server]
    "UsageCount"=dword:00000002
    "Driver"="C:\\WINDOWS\\system32\\SQLSRV32.dll"
    "Setup"="C:\\WINDOWS\\system32\\sqlsrv32.dll"
    "SQLLevel"="1"
    "FileUsage"="0"
    "DriverODBCVer"="03.50"
    "ConnectFunctions"="YYY"
    "APILevel"="2"
    "CPTimeout"="60"
    Thanks Klau!
    Edited by: 980258 on 07/01/2013 03:38

  • OraOLEDB.Oracle Provider Not Found- Windows 7 64 bit Excel 2010 32-bit Help

    Currently, I have an excel 2010 application that users on Windows XP 32 bit are using to connect to an Oracle 32-bit database and extract data back into Excel. Each time they open the Excel file, the VBA code automatically creates a new connection using Provider =ORA.OLEDB.Oracle Provider. All users using the Excel file have installed Oracle 9.2.1 run-time client on their machine. All of that works well currently for over 100+ users on Windows XP 32-bit
    Starting very shortly our company is moving to Windows 7 64-bit. We acquired a test PC with Windows 7 64-bit and Excel 2010 32-bit. We tried to install Oracle 9.0.2 run-time client but we couldn't connect to the database ( even with Sql Plus). We therefore downloaded Oracle 10g 10.2.04 Run-time client. With this installed, we were able to connect to via SQL Plus to the database. However, using the same Excel file and the following same VBA code.
    Set cn = New ADODB.Connection
    cn.Open ThisWorkbook.getDBCon()
    Public Function getDBCon()
    getDBCon = "Provider=OraOLEDB.Oracle;" & _
    "Data Source=MyOracleDB;" & _
    "User Id=" & getDBUser() & ";Password=" & getDBPss()
    End Function
    I get a "Provider Not Found error". The VBA code and file work perfect in XP 32-bit. It seems going over to Windows 64-bit has caused issues with the file's macro. I am looking for help assessing if I have more of an Oracle Client issue or a Microsoft ADO issue. Any input would be greatly appreciated. Thank You.

    @damorgan
    Yea agreed with Excel to Oracle comment. This is due to issues with global implementation of an ERP system and the disconnets between IT and Business. Therefore the business intelligence tables in oracle are most easily pulled and acted on by novice PC users via Excel. In the business, Excel is the standard tool novice non-IT people feel comfortable in to share and act on data. Most of these users have no IT knowledge whatsoever, so we create buttons and filters for them to query and then massage in Excel as they see fit.
    Having said that, still wondering if it's a ADO or Oracle Client issue. This is something beyond my knowledge. I wouldn't imagine it's the Visual Basic issue since this same file works in Windows XP. I am not in the position to just scrap Excel as the business relies on this in production and I am the only support. What could 64 bit vs 32 bit differences be having here? Thank You.

  • Refreshing Excel 2010 workbook with connection to Access database on shared network drive

    I have an Excel 2010 workbook that has a connection to an Access database that's on a shared drive on the company network. I can refresh the data in the regular Excel application but when it's hosted in the browser I get this error message "The data
    connection uses Windows Authentication and user credentials could not be delegated."
    Next, I installed PowerPivot for SQL server 2008 and used PowerPivot to connect to the same Access database. I uploaded it to a PowerPivot gallery but when I try to refresh the data but it says "the workbook was created in an older version of Excel
    and PowerPivot and cannot be refreshed until the file is upgraded." I tried to go to "Manage data refresh" but I get the "Sorry, something went wrong" page. Do I need to install PowerPivot for SQL server 2012 to do scheduled data refreshes?
    What about manual refreshes?

    I have an Excel 2010 workbook that has a connection to an Access database that's on a shared drive on the company network. I can refresh the data in the regular Excel application but when it's hosted in the browser I get this error message "The data
    connection uses Windows Authentication and user credentials could not be delegated."
    Next, I installed PowerPivot for SQL server 2008 and used PowerPivot to connect to the same Access database. I uploaded it to a PowerPivot gallery but when I try to refresh the data but it says "the workbook was created in an older version of Excel
    and PowerPivot and cannot be refreshed until the file is upgraded." I tried to go to "Manage data refresh" but I get the "Sorry, something went wrong" page. Do I need to install PowerPivot for SQL server 2012 to do scheduled data refreshes?
    What about manual refreshes?

  • Instant Client Connection Problem - Excel 2007 to Oracle 10g

    Dear users,
    I would some help to connect Excel to Oracle.
    I am using Excel 2007 (32-bit) on Windows Vista Enterprise 64-bit. I want to connect to an Oracle 10g database through our local network using ODBC. I need to fetch some data once into an excel sheet.
    There are no firewall issues or connection issues between my current machine , as I can connect from my machine, using SQL developer as a local client to the Oracle Database which is on another machine on the network.
    I tried to make an ODBC connection but Oracle is not listed as a driver.
    I beleive ODBC is the best way to do this, but please correct me if I am wrong.
    It is an Oracle 10G database.
    I downloaded instantclient-basiclite-windows.x64-11.2.0.2.0.zip a
    I also downloaded the extra ODBC components: *Instant Client Package - ODBC: Additional libraries for enabling ODBC applications.
    I unzipped both in a folder called C:\instantclient_11_2
    The system path included that. I checked after rebooting.
    I placed my tnsnames.ora (which I copied from the server) in that folder.
    I got ti from the server : D:\Oracle\Ora10gR2DB\network\admin\tnsnames.ora
    I ran the exe "odbc_install" and It told me the ODBC was intalled successfully.
    When I went the control panel, administrative tools, ODBC
    In the user dsn tab
    I added a new entry. I chose the Oracle driver (previously it was not in the list)
    Used the following values
    Data Source name: OracleL
    Description 123
    TNS Service NAme: I chose fro ma drop down menu our prod environment. (There are two entries with the production name, one in caps and the other in lowercase)
    Userid: my username
    I tried Test the connection and got this:
    Unable to Connect
    SQlState=S1000
    [Oracle][ODBC][Ora]ORA-12545: Connect failed because target host or object does not exist
    Any suggestions please.
    Thnaks in advance.
    A.
    Thanks for all your help, in advance.
    Akajohn.
    Edited by: user12282521 on May 19, 2011 1:47 PM

    user12282521 wrote:
    I would some help to connect Excel to Oracle.
    I am using Excel 2007 (32-bit)
    I downloaded instantclient-basiclite-windows.x64-11.2.0.2.0.zip aIf Excel is 32-bit (2007 is) and Oracle client libraries are 64-bit, it won't work. 32-bit needs 32-bit.
    You probably should remove current ic packages and get the 32-bit ones instead.
    Start over.
    When I went the control panel, administrative tools, ODBCOn Windows x64, to manage 32-bit ODBC DSNs/drivers one needs to run the tool from Windows\SysWoW64\odbcad32.exe.

Maybe you are looking for

  • Vendor "SAPGUI" Portal?

    The business would like to grant a Vendor access to our system via SAP GUI so they can monitor inventory, PO's and the like.  Think of Vendor Portal without the Portal. The challenge is limiting their access to only their "vendor" information (PO's,

  • Organizing Material in a Pages '09 (v.4) Document

    In a Pages '09 Word Processing document with facing pages: Is there a way to control the formatting in a Word Processing document with facing pages such that the both the text and the objects on a given page will remain together as they were original

  • How do I change the name on my Time Capsule?

    I had the blinking yellow light on my TC and after fixing that finally and AirPort did it's search, it found the TC ok but it had a different name. xxxx-Time Capsule. Now I can't get to the time capsule to backup and retrieve. I know my old name but

  • Rmi-iiop1.2.jar and CyberSource cdkjava3300,jar

    We are trying to use CyberSource with BEA. When we include cdkjava3300.jar (from CyberSource) to WL-classpath with rmi-iiop1.2.jar and test our client, it throws a " I get an exception java.lang.UnsatisfiedLinkError: no jsafe in java.library.path." A

  • Problems with downloading songs

    i tried to download a song, but it only plays half way through, so i tried to download another copy, but it asked me if i wanted to download it for free since i had already downloaded it, but it still billed me. then i went on my ipod and downloaded