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.

Similar Messages

  • A client connection problem....

    Hi All,
    I have a client connection problem.
    The project which i did with C# (vs.net 2005) and Oracle XE , works well on my developer machine but i am getting a connection string error on the client side. The error comes from System.Exception class not from OracleException.
    The properties of the Oracle.DataAccess reference are ;
    Description: Oracle.DataAccess.dll
    Runtime Version:v1.0.3705
    Version: 10.2.0.100
    Path: C:\oraclexe\app\oracle\product\10.2.0\server\bin\Oracle.DataAccess.dll
    The sample code is:
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    private void button1_Click(object sender, EventArgs e)
    OracleConnection cnn = new OracleConnection();
    OracleCommand cmm = new OracleCommand();
    try
    cnn.ConnectionString = "USER ID=" + textEdit1.Text + ";PASSWORD=" + textEdit2.Text +
    ";DATA SOURCE=" + textEdit3.Text + ";";
    DataSet ds = new DataSet();
    cmm.Connection = cnn;
    cmm.Connection.Open();
    cmm.CommandType = CommandType.Text;
    cmm.CommandText = "SELECT * FROM FORMS";
    OracleDataAdapter ad = new OracleDataAdapter(cmm);
    ad.Fill(ds);
    gridControl1.DataSource = ds.Tables[0];
    cmm.Connection.Close();
    cnn.Dispose();
    catch (OracleException oexx)
    MessageBox.Show(oexx.Message,"From OracleException");
    cmm.Connection.Close();
    cnn.Dispose();
    catch (Exception exx)
    MessageBox.Show(exx.Message,"Fromn Exception");
    cmm.Connection.Close();
    cnn.Dispose();
    And the error message is:
    'user ıd' is an invalid connection string attribute --> Oracle.DataAccess
    Any idea ?
    Thanks in advance for your help.
    Adam

    1. What is the client machine locale? Is it Turkish by any chance?
    2. Try using lowe case "user id" in the connection string instead of upper case "USER ID".

  • ERROR while connecting to Netezza Database from oracle 10g via dblink.

    Gurus,
    We are trying to connect to Netezza DB from oracle 10g DB.. We successfully establised ODBC connection but unable to retrieve data over the dblink connected from oracle to Netezza. We get this error.. Please HELP ASAP!!!!!!!!
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    Server and/or port attributes are empty {HY000,NativeErr = 33}

    Manik wrote:
    We are trying to connect to Netezza DB from oracle 10g DB.. We successfully establised ODBC connection but unable to retrieve data over the dblink connected from oracle to Netezza. We get this error.. Please HELP ASAP!!!!!!!!
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    Server and/or port attributes are empty {HY000,NativeErr = 33}Always test ODBC client connectivity on the Oracle server to the remote and foreign database, first. Use the isql ODBC client command line interface (as the oracle or grid o/s user).
    If this does not work, then Oracle HSO will also not work.
    Once you have confirmed that this is working, then configure the HSO service for Oracle.
    If that fails, enables ODBC client tracing for that HSO service (in the init file for that service) to see exactly what ODBC calls Oracle is making and which of these are failing.

  • Can we establish connection between developer 6i with oracle 10g

    hi all
    can some body guide me that how we establish connection between developer 6i with oracle 10g. i have install developer and oracle 10g on different machine
    please guide me

    Look at following thread
    Re: Patch 18 available for Windows Client/Server Forms 6i
    I had installed Patch 18 against 10G DB and Forms work well.
    Anyway you can see patches in
    http://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=4948577&release=3060000&plat_lang=912P
    Hope this helps
    Regards
    Rosario

  • Oracle Streams b/w MS-Access 2007 and Oracle 10g.

    Can we set up Oracle Streams between MS-Access 2007 and Oracle 10g? Ms-Access as source and Oracle 10g as destination database. If so, can any one please give me little heads up with supported doc's or any source of info.

    Help Help....!!!

  • Instant Client Installation problems

    I am trying to install the 10g Instant Client to connect to our Oracle database via ODBC in Windows. I have downloaded the Instant Client Basic and the ODBC packages and put them into one folder on my hdd, ran the odbc_install.bat and added the folder to my PATH Environment variable. But when I try to create a new ODBC data source, the TNS Service Names don't make any sense and look like characters not readily found on my keyboard!
    Am I doing something wrong? Is there a walk through instruction manual available somewhere?
    Please help!!
    Many thanks

    I'm not sure to be honest, but what I downloaded did not have a setup.exe.
    Does what you're talking about allow you to connect to Oracle databases via ODBC? If so, is it downloadble from the Oracle site?

  • 2504 controller + 2602 APs = wireless clients connectivity problems

    Hello, everybody!
    I have a connectivity problems of wireless clients. The symptoms are:
    1) Some clients receive 169.254.x.x., instead a correct DHCP addresses, less in a minute connection drops, and in controller's "Monitor" > "Clients" tab these clients are marked as "Excluded".
    2) Most of the clients receive the correct addresses from DHCP (192.168.2.x), but also loose connection soon.
    3) Wireless clients with correct addresses can't ping each other, gateway and an address of the controller's dynamic interface (all of them are in same subnet).
    4) And the most suspicious problem is that some machines are unable to connect to APs after several attemps to do that. I mean, I configure controller and change some options, trying to understand, whether they were applied or not and constantly connect and disconnet certain PC to the SSID. After five or ten attempts I can't connect to the SSID. During these attempts, the others PCs stay connected, without interruptions, and they could be reconnected again. It's like some kind of port security works, but I'm not sure...
    Do you have any ideas which options should I configure?
    My configuration:
    I have three interfaces on the controller: virtual, management (default) and dynamic (it is set to the WLAN)
    I have one SSID, WPA/WPA2, AES/TKIP, authentication PSK.
    My clients are a/b/g/n, all are permitted on the controller. No custom security policies were applied.
    All the devices are in a single room: controller, one AP and different clients: desktop, notebooks, iPad, Nokia Lumia, etc.
    I have an internal DHCP Server on the controller and it works perfectly well.
    I can provide all the screenshots required from web-interface of the controller...
    Many thanks in advance for all ideas that you have about these problems...

    Hi, there!
    The problem was solved.
    1) APIPA address receives only single machine with Win8 - I think there are some firewall issues
    2) Other devices have been loosing connection because they were mobile devices, like iPad and Lumia. If you keep working with it, it doesn't drop the connection
    3) The dynamic interface address and gateway address were inaccessible because i had not used an appropriate port on the controller. =)))) Firstly, it was just a guess, but it proved.
    Now, everything works with WPA2, AES, PSK...
    It is a very good day!)
    The only question remains: why I can't connect machines, which have a static IP? During the controller initialization, I said "yes" for permitting static IPs...
    Guys, many thanks for your help!

  • CSCum49200 - 7.6 Broadcom client connectivity problems if WMM enabled w/ ap2600

    I have this issue when using Apple Macbook Pro in my network.
    I have seen in thsi forum this problem occurs only with 3600 APs, but i`m having this same problem using 2602 APs.
    can someone tell me if this is the same problema and if i cansolve this disbling the WMM?
    Rgs

    I too am having a connection problem with Apple Macbook Pro (2013 retina) and Cisco WAP 2602.
    I am running 7.6.110.
    I have not tested disabling WMM. 
    I really need a fix for this!!!

  • Problem in em in Oracle 10g (10.2.0.3.0)

    Hello all,
    I m facing the following problem in oracle 10g (10.2.0.3.0). When I log on to em, database instance is shown inactive(status down). However, checking the local services I realised that instance is up and running. How could i correct that problem so that database status on em web console is shown correctly???
    please your help

    If not on Windows, we have AIX servers overhere and also see a lot of times databases being inaccessible from OEM.
    This is because of a bug in the Agent using a certain perl version, which causes the agent to be inresponsive.
    Check following:
    sqlplus system/<password>@SID
    This check ensures that you mistake the start of a SQLplus connection as SYS to be that the database is running.
    If the above statement connects your database and Listener are up and running.
    Preferably do this check from the server running the OEM.
    If that connection works, bounce the OEM services ( and database ), just to see if it has started correctly.
    Also restart the Oracle Agent on the target server.
    If these checks still show the database as being down ( wait a couple of minutes after the restart to let the agents communicate statuses ) then report back.

  • Conncet oracle client on Windows XP/7 to oracle 10g RetHot Linux server

    I have installed oracle 10g on Rethot Linux and oracle client 10g installed on windows 7 .how to connect oracle server from oracle client in different OS. Please give me step .

    Please Help Me..
    I have installed Oracle 11g server Release 2 on Oracle Enterprise Linux Release 5 Update 5 using VMWare and oracle 11g client R2 installed in windows 7 (host).My question is how to connect Oracle Server from Oracle Client?

  • Problem Pro*C for Oracle 10g

    Hello,
    I am compiling pro*c code for Oracle 10g, it is successfully compiling for Oracle 9i. But with Oracle 10g libs it's giving problems.
    This following error msg I m getting while compiling
    /application/Build/code/booking/>mk test
    *.cpp: No such file or directory
    make_depend
    `/opt/oracle/10.2.0/lib/libclntsh.so' is up to date.
    cat: cannot open *.u
    proc ireclen=132 lines=yes iname=pcutils.pc oname=~pcutils.c
    Pro*C/C++: Release 10.2.0.2.0 - Production on Sat May 26 07:39:59 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    System default option values taken from: /opt/oracle/10.2.0/precomp/admin/pcscfg.cfg
    cc -c -DBA_SUN -xCC -I. -I/application/Build/include -I/application/2.6Build/include -I/opt/ba/include - -I/opt/tux80/include ~pcutils.c
    "pcutils.pc", line 58: undefined struct/union member: sqlerrm
    "pcutils.pc", line 58: undefined struct/union member: sqlerrmc
    "pcutils.pc", line 58: warning: left operand of "." must be struct/union object
    "pcutils.pc", line 79: undefined struct/union member: sqlerrm
    "pcutils.pc", line 79: undefined struct/union member: sqlerrmc
    "pcutils.pc", line 79: warning: left operand of "." must be struct/union object
    cc: acomp failed for ~pcutils.c
    *** Error code 2
    make: Fatal error: Command failed for target `pcutils.o'
    Could you please suggest me, what should I do in order to build it.
    Inpreet

    To answer my own question, I'd say it's necessary to install the tarball, NOT the Debian files, for the Enterprise edition (perhaps to Standard is enough?).
    After installation at (for example) /usr/local/oracle, the "proc" precompiler should be at /usr/local/oracle/u01/app/oracle/oracle/product/10.2.0/db_1/bin
    The env.variable ORACLE_HOME should be set,
    export ORACLE_HOME=/usr/local/oracle/u01/app/oracle/oracle/product/10.2.0/db_1

  • Problem in installation of Oracle 10g database on RHEL 6

    I am facing the problem when I am trying to install Oracle 10g database on Red Hat 6. When ./runinstaller is run, the message seems to be if I remember correctly is like ‘……………bad ELF interpreter’. But, the same source seems to be installing correctly in Red Hat 5.
    Please, help in solving the doubt.
    Regards

    Hi;
    1. Please make search before posting your issue here. Similar issue mention here million time
    2. Please use certified platform such as *nix 5.x .
    3. For can check certification from metalink or from below note:
    Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) [ID 169706.1]
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Urgent: problem running reports in Oracle 10g application server

    Hi all,
    our problem is that we deployed a jsp report as Ear file in Oracle 10g application server in infrastructure node.deployment says successfull.when we try to run that report it says 401 unauthorised.while sending request we are passing the database username,password &sid is this correct or any configuration setting to be done to make it run.
    one morething normal jsp works fine.when we run reports jsp it gives the above mentioned 401 error.

    hello,
    when you deploy reports JSPs they still require the reports specific componentes (e.g. TLD file, classes, ...) etc be available. i doubt that's the case in your ear file.
    thanks,
    ph.

  • No suitable driver when connect MS SQL server from Oracle 10g using JTDS

    Hi,
    I have developed a java servlet application connection to MS SQL using jtds-1.2.jar. I have try to deploy this application to Oracle 9ias and it works fine.
    However, when I deploy the same application to Oracle 10g (10.1.2.0.2), I encounter this error - java.sql.SQLException: No suitable driver.
    I have copy the jtds-1.2.jar to Ora10g/jdbc/lib, Ora10g/j2ee/home/lib and also the Ora10g/j233/OC$J_GENERAL/applications/sampleApp/sampleApp/WEB-INF/lib folder, and also setup the data source via the EM interface. The data-source.xml entry is as follows:
    <data-source location="jdbc/ess" class="com.evermind.sql.DriverManagerDataSource" xa-location="jdbc/xa/essS" ejb-location="jdbc/ess" connection-driver="net.sourceforge.jtds.jdbc.Driver" username="scott" url="jdbc:jtds:sqlserver://202.xx.xx.xx:1433/sampleDB" inactivity-timeout="30" name="ess"/>
    </data-sources>
    Is there any configuration that I've forgotten to set?

    >
    I have developed a java servlet application
    connection to MS SQL using jtds-1.2.jar. I have try
    to deploy this application to Oracle 9ias and it
    works fine.
    However, when I deploy the same application to Oracle
    10g (10.1.2.0.2), I encounter this error -
    java.sql.SQLException: No suitable driver.
    I have copy the jtds-1.2.jar to Ora10g/jdbc/lib,
    Ora10g/j2ee/home/lib and also the
    Ora10g/j233/OC$J_GENERAL/applications/sampleApp/sample
    App/WEB-INF/lib folder, and also setup the data
    source via the EM interface.
    Is there any configuration that I've forgotten to set?The JAR file needs to be in a place the container can locate it correctly. This is the applib directory for your OC4J instance.
    Which I believe from what you have entered is:
    Ora10g/j2ee/OC4J_GENERAL/applib
    There's a general JDBC 3rd party driver set of documentation here:
    http://download.oracle.com/docs/cd/B14099_11/web.1012/b14012/datasrc.htm#sthref592
    This is not using jtds-1.2.jar but it shows how another set of 3rd party jdbc libs are used with the server.
    -steve-

  • Problems with the installation Oracle 10g 10202 - Platform x86 - Sol 5.10

    Hi,
    I am trying to install Oracle 10g R10202 in plataform x86 Solaris 5.10. I did all the tasks of preinstallation, and when I execute runInstaller, the following error appears ==>
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be 5.10. Actual 5.10
    Passed
    Checking Temp space: must be greater than 250 MB. Actual 7622 MB Passed
    Checking swap space: must be greater than 500 MB. Actual 1761 MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /opt/tmp/OraInstall2007-08-26_09-18-08PM. Please wait ...warning [../stage/Components/oracle.swd.jre/1.4.2.0.0/1/DataFiles/filegroup2.jar]: 1 extra byte at beginning or within zipfile
    (attempting to process anyway)
    file #0: bad zipfile offset (local header sig): 1
    (attempting to re-compensate)
    error: invalid compressed data to inflate /opt/tmp/OraInstall2007-08-26_09-18-08PM/jre/1.4.2/lib/sparc/libjvm.so
    file #516: bad zipfile offset (local header sig): 23197903
    (attempting to re-compensate)
    Error in writing to directory /opt/tmp/OraInstall2007-08-26_09-18-08PM. Please ensure that this directory is writable and has atleast 69 MB of disk space. Installation cannot continue.
    : Error 0
    Obviously it is not a problem of space in the directory/tmp.
    I have tried other options as ==>
    *-Run runInstaller con el parameter ignoreSysPrereqs
    *-Setting  others variables of environment like,  TMP =/opt/tmp
    and TMPDIR =/opt/tmp.
    But I don't fix the problem.
    Someone has some idea of like solving this bug or problem?
    Thanks in Advance.
    Best Regards.
    NSV

    Error is on small caps but it is straight forward:
    ".. error: invalid compressed data to inflate ..."
    Your oracle media is corrupt. Redownload it and verify the downloaded zip file.
    ~ Madrid

Maybe you are looking for

  • Slow DSL in Springfield Delco PA (1 MBs service)

    I am about 1 mile from the local CO and my connection slows down or stops completely on an internittant basis. Verizon support has been great and reboot of modem  (westell 7500 (cabled to my VISTA PC) always fixes the issue. All wires have been repla

  • Hard Drive Switching Question

    I'm using an iMac G4 800 MHz 15" Flat Panel. I am looking to replace my 60GB HD with a 250 GB one. I have a few questions: 1.) Can I put my 60 GB HD into a G4 Tower as a shell and transfer all the information from one HD to the Other with either an e

  • Standalone oc4j 1.0.2.2.2

    Hi All, Can anyone redirect me to the url to download standalone oc4j 1.0.2.2.2 because at below this url http://otn.oracle.com/software/products/ias/htdocs/winsoftold.html I could see only Version 1.0.2.2.1 and Version 1.0.2.2 for download. Thanks &

  • Where can I buy the Nokia 5370??

    I bought my Nokia 5320 from ebay, very satisfied with it. But I think I wanna move up, and the 5370 looked very nice from the pictures and reviews. My 5320 has survived the most vicious of falls and spills, anyone know if the 5370 is just as robust??

  • What is up with verizon!!????

    i have the droid and, granted, the area i am in is not the best for cells, but it had been working in certain areas. now i have to turn it off and put it back on or take the battery out and put it back in  in order to get any service.  i do this abou