Oracle 10g ODBC driver with Windows 7 32 bit connecting to Excel

Hi Everyone,
I'm having an issue connecting to our oracle 10g database (64 bit system) from a 32 bit windows 7 installation running excel 2010/2007 using odbc drivers. Our excel spreadsheets worked without issue in windows xp.
In windows 7 I have been able to install the odbc driver via the following method:
1. Download the oracle 'basic' client and oracle 'odbc' client from www.oracle.com and extract the contents:
instantclient-basic-win32-10.2.0.3-20061115
instantclient-odbc-win32-10.2.0.3-20061115
2. Create a folder 'oracle' and place the instantclient_10_2 folder inside.
3. Ensure all the basic and odbc files reside in this folder.
4. Create a 'network' folder within instantclient_10_2
5. Create an 'admin' folder within 'network'
6. Create sqlnet.ora and tnsnames.ora files within the 'admin' folder:
7. Run 'obdc_install' within the instantclient_10_2 folder
8. Download and run the oracle odbc driver exe file from www.oracle.com (ORA10203.exe)
9. Go to Control Panel -> Administrative Tools -> Data Sources and create a new System DN
This allows excel spreadsheets connecting ONLY to oracle to function.
Unfortunately some of our spreadsheets connect to both a MySQL database as well as oracle. Spreadsheets connecting only to MySQL also function correctly, however, as soon as the vb associated with a spreadsheet includes a mysql call followed by an oracle call the spreadsheets fail. In Excel 2007 excel crashes completely everytime. In Excel 2010 the mysql data is generated, then when the script hits to oracle odbc connection there is a long pause, the oracle ODBC driver connect pops up requesting a username/password (this didn't happen in xp), then the data source selection pops up, then the username/password connect screen pops up again, and finally it fails with a runtime error '1004' General ODBC error.
If you look at the VB script it's failing at the Refresh BackgroundQuery statement in the ODBC connection block:
With Worksheets("Oracle1").QueryTables.Add(Connection:= _
"ODBC;DSN=Oracle_ODBC;UID=user;PWD=password;SERVER=ORACLE_LINUX;", _
Destination:=Worksheets("Oracle1").Range("A1"))
.CommandText = strSql
.Name = "Oracle1_data"
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlOverwriteCells
.SavePassword = True
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.PreserveColumnInfo = True
.Refresh BackgroundQuery:=False
End With
Does anyone know how to get around this? It's very important!!
Also if you try to edit the oracle ODBC connections in Control Panels -> Administrative Tools -> Data Sources, ODBC crashes 95% of the time.
Advice greatly appreciated!!

Well, here's what I'd check anyway..
1) get Process Explorer from http://sysinternals.com
2) make a mysql connection, get a list of dll's loaded (include the location and version columns in the lower pane output)
3) close that, then make an ora odbc connection, get a list of dlls.
4) close that, then make a mysql connection followed by an ora odbc connection, get a list of dlls
5) compare the lists of loaded dlls. In particular, the difference between #3 and #4, is there a dll dependency that gets loaded by oracle's odbc that comes from a different location when you've opened a mysql connection first?
May or may not help, but might turn up a difference to help point you in a direction.
Greg

Similar Messages

  • How to install Oracle 10g ODBC driver  for win 64 bit?

    I need to install Oracle 10g ODBC driver for win 64 bit, I donot know how to do that,
    where to find the driver....
    The driver 10.1.0.5.0 25-Apr-2006 2.1 MB isnot for 64 bits Win server 2003.

    Dear Sir,
    Yes, you can find the Driver here
    http://www.oracle.com/technology/software/tech/windows/odbc/index.html

  • Oracle 10g ODBC Driver Missing in Control Panel

    I have installed the Oracle 10g Client in a computer running Windows XP but the "Oracle in OraClient10g_client1" ODBC driver in the Drivers tab of the Control Panel/Administrative Tools/Data Sources (ODBC) form is missing. I know the Oracle ODBC driver is currently installed because:
    1. I can connect to the database using DSN-less connection. "Driver={Oracle in OraClient10g_client1}; DBQ=[TNSname];UID=[username];PWD=[password]"
    2. The HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers show an entry for "Oracle in OraClient10g_home1".
    Any help would be appreciated. Thank you.

    I don't know if you've got an answer yet or not, but I had the same problem when I installed Oracle 10 client. There is a similar issue on the Oracle forum (Re: ODBC Driver Install Problem. Basically, what was happening is a line had been entered in the ODBC Drivers file that contains "@=". Anything following that line is NOT displayed in the ODBC Admin list.
    To fix this problem, open Regedit and export the "HKLM\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers" key to a file. Edit the file to remove the line "@=" and save the file. Delete the registry key, and merge in your updated file.

  • Oracle 10g ODBC driver (ver 10.1.0.2) :  SQLConnect Hangs

    hi,
    We have a Win32 multithreaded app which uses the given 10g driver, but intermittently all the threads hang on SqlConnect.
    After running Adplus the call stack that we get , always point to oranls10. This is the call stack from the last time the server hanged when it tried to do a SQLConnect.The call stack generated by adplus is given below:
    ChildEBP RetAddr Args to Child
    WARNING: Stack unwind information not available. Following frames may be wrong.
    0135f088 612a1833 003ee494 00001399 00000002 ORANLS10!lmsapsc+0x78
    0135f2bc 612a176e 003ee494 00000002 00001399 ORANLS10!lmsagbcmt+0x103
    0135f2f0 612a1722 003ee494 00001399 00000000 ORANLS10!lmsagbcmt+0x3e
    0135f31c 031990f4 003ee494 00001399 00000000 ORANLS10!lmsagbf+0x22
    0135f334 036e0bcf 003ee494 00001399 00000000 oci!lmsagbf+0x24
    0135f360 036bed2f 02675e4c 00000000 00001399 sqora32!SQLTablesW+0x372df
    0135f3b8 036b61c3 02675e4c 0268f418 0267682c sqora32!SQLTablesW+0x1543f
    0135f4f0 036a3b2c 0268f334 02675bcc 00000006 sqora32!SQLTablesW+0xc8d3
    0135f524 4bf8e667 0268f334 0135f65c 00000006 sqora32!SQLConnectW+0xfc
    0135f554 4bf8efed 00000001 0135f65c 00000006 odbc32!SQLInternalConnectW+0xfa
    0135f6a4 4bfa1e5e 00781b28 00782628 00000006 odbc32!SQLConnectW+0x250
    0135f6e0 00397454 00781b28 01d7fffd fffffffd odbc32!SQLConnect+0x140
    01360068 016dc13a 00000005 0136f9d0 0136fa14 libsas!CM_dbopen+0x341
    Since we have been facing this issue for a long time, we decided on making use of the SQL_ATTR_LOGIN_TIMEOUT value before we issue a SQLConnect, but that driver doesn't seem to like that option even though it says its 3.5 compliant
    lRetcode = SQLSetConnectAttr( OD_DBDBC(pCtx),          SQL_ATTR_LOGIN_TIMEOUT,(SQLUINTEGER )10,     SQL_IS_UINTEGER );
    Setup details
    Oracle 10g Release 1 Enterprise database server
    App has been built using VC++6 and is running on Win2003 Enterprise Server
    Our analysis has shows that the network was fine as other apps were able to connect to the database at that time
    Question
    1. Is this a Driver related issue? Because when we were using Merant ODBC driver, everything seems to be working fine!
    2. Is there some patch that is out there which might resolve this issue?
    If you all folks could help or provide some kind of advice , i would really appreciate that.
    regards,
    GG

    Well, do you have a code example that causes it? Don't take this the wrong way, but I've seen more than a few badly written multi-threaded applications which do nothing but corrupt memory and use handles in non-threadsafe ways; all of which cause issues which rear their ugly heads in various odd ways. It may also be an Oracle bug, but comparing two different drivers does not mean it's not your application causing the crash as well.
    If you could provide a quick little code sample which causes the issue, I'll take a look at it for you.

  • Oracle 10g ODBC Driver Bug (10.1.0.3.1)

    Using the ODBC driver version 10.1.0.3.1, there is a problem retrieving BLOB data in chunks using multiple calls to SQLGetData() when the datatype specified is SQL_CHAR.
    Instead of returning (<BufferLength> - 1) characters (ANSI) along with a NULL, it returns exactly <BufferLength> characters (possibly with a NULL, I haven't double checked this) - pretty much the behavior you would expect if SQL_BINARY was specified. This has the affect of losing one character for each truncated chunk.
    According to the ODBC spec, "If the length of character data (including the null-termination character) exceeds BufferLength, SQLGetData truncates the data to BufferLength less the length of a null-termination character. It then null-terminates the data. If the length of binary data exceeds the length of the data buffer, SQLGetData truncates it to BufferLength bytes."
    The way I read this, as long as you specify the datatype as SQL_CHAR, the character data rules should be applied.
    I tried to submit this as a TAR in Metalink, but it seems I don't have the TAR button. Is this the correct forum for this issue? Thanks.
    Jon

    AFAIK, Oracle doesn't officially monitor these forums and where/when they do it is a haphazard and volunteer basis (personal observations).
    They do monitor the MetaLink forums so perhaps that was the cause of the confusion. At any rate the answer to use a forum to file a bug is wrong you do it through a support TAR and that can either be created from MetaLink (TARS button--missing for you) or via the phone.

  • ODBC Driver for Windows 7 - 64 bit

    Hi All,
    I am having problems with using the Microsoft ODBC for Oracle Driver in Windows 7 - 64bit system. I am using the following code in my VB script
    Set myConnection = CreateObject("ADODB.Connection")
    myConnection.Open "Driver={Microsoft ODBC for Oracle};" & "Server=xxxxxx;" & "Uid=xxxxx;" & "Pwd=xxxxx"
    Set myRecord = CreateObject("ADODB.recordset")
    Sql = "Select * from employees where id= '01234'"
    myRecord.Open Sql, myConnection
    For Each r In myRecord.Fields
    MsgBox r.Name
    Next
    I get the following error message: "The Oracle (tm) client and networking components are not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3 (or greater) client software installation, You will be unable to use this driver until these components have been installed"
    "[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed"
    Can you help me out on which version of Oracle client i need to install and what other settings I need to do on my Windows 7 system after the client installation.

    I tried installing "instantclient-basic-windows.x64-11.2.0.4.0" and "instantclient-odbc-windows.x64-11.2.0.4.0" both. I ran the odbc_install.exe in command prompt as administrator and got the message "Oracle ODBC Driver is installed successfully."
    I also set the environment Variable "Path" as "C:\instantclient_11_2".
    But when tried to use the above VBScript to connect to the Oracle DB, i get the same error message. I am really stuck with this for past two days.

  • Anybody installed Oracle 10g application server on windows 2008 (64 bit) se

    Has anybody installed Oracle 10g application server on OS : windows 2008 (64 bit) server.
    which version of OAS we should use?l. we are using dell server .
    regds
    santosh
    Edited by: user5429538 on Feb 24, 2010 2:59 AM

    Hi Santosh,
    Has anybody installed Oracle 10g application server on OS : windows 2008 (64 bit) server.I dont think any version of Oracle Application Server is certified for windows 2008 yes.
    But, u can Install Oracle Application Server 10g Release 2 (10.1.2.0.2) on windows 2003 (64 bit) server
    Please refer below links for download and to check certification:
    http://www.oracle.com/technology/software/products/ias/htdocs/101202.html
    http://www.oracle.com/technology/software/products/ias/files/as_certification_r2_101202.html
    http://www.oracle.com/technology/software/products/ias/files/oracle_soa_certification_101310.html
    Hope helps
    Regards,
    X A H E E R

  • Citadel ODBC Driver for Windows 7 64-bit?

    Lookout 6.5 Installation did not load Citadel ODBC drivers?  Drivers not available for addition in ODBC Data Source Administrator.
    Required for SQLExec....
    Thanks,
    Ed
    Solved!
    Go to Solution.

    Try the C:\Windows\SysWOW64\ODBCAD.exe or C:\Windows\SysWOW64\ODBCAD32.exe
    Ryan Shi
    National Instruments

  • ODBC driver with Oracle 10G on 64bit Windows OS.

    I m facing a issue with my peoplesoft application which is installed on Windows 2003 64bit OS.
    Setup Details
    Oracle 10G Server on AIX 5.3.
    peoplesoft CRM tools 8.48,Oracle 10G client in on Windows 2003(64bit) installed.
    When i open ODBC administrator from CRM its open showing all the drivers registred to 64bit registry. Whereas when i see ODBC admin from Control panel of OS , its showing driver register from 32bit. My observation is that oracle ODBC driver is getting registerd with 32bit and application is calling DDBCadmin of 64 bit. Hence driver is not getting registered with 64bit registry.
    sqora32.dll..
    Regards
    Alok

    Hi kamlesh,
    Thanks for your help, still i am not clear about installation on both nodes. once you install CI on one node you are giving the path of shared disk and if we go for other node then also we need to give the shared disk path : so will it or any other? if it is then alrady one usr and aracle folder exists after node  A installation. Do you mean to say copy usr and oracle folder? please explain in detail, will be higly appreciable.
    Bye,
    Nizam

  • How can I do to get Oracle ODBC driver in Windows?

    Hello,
    Please, I need help to use Oracle ODBC driver in Windows 7. I installed Oracle Client 10g with the ODBC driver, but I can't use it. OracleODBC driver don't appear in the driver list when I want to create a new datasource. How I can do to get Oracle ODBC driver for create a new datasource?
    Thank
    Edited by: user4528703 on 13 mars 2010 02:01

    Hello,
    To get the ODBC driver you should run a custom Oracle Client installation and Select
    Oracle Windows Interfaces 10.2.0.1.0.
    Then, you'll get the Oracle ODBC Driver 10.2.0.1.
    But, be aware that Oracle didn't certify Windows 7.
    So, if afterwards, you experience some trouble, think to install Oracle with Xp compatibilty mode, or
    wait to Oracle 11.2.0.1 which will be certified on Windows 7.
    Hope this help.
    Best regards,
    Jean-Valentin

  • ORA-12154 Windows 7 32bit ORACLE 11g ODBC Driver CONNECT

    Hi All,
    I'm having problems connecting to extenal database using Oracle ODBC driver for Windows 7 32bit  .
    I have downloaded the instantclient odbc nt 11.2.0.4zip drivers for 32-bit and unpacked it
    and run the installer and choose the default location ie c:\app\product\11.2.0\client_1
    2.I done all the necessary setting ie set the Path and creating new user variable for tns admin
    in the system environment and modified the hostfile on etc sys32 and copied both tsnamesn and sqlnet
    to Network\Admin file
    3.I then started the Data Sources (ODBC) manager, configured the driver and tested the
    configuration then I got a testing connection error SQLstate= 08004... ORA-12154 TNS couldn't connect.
    could you please help. Thanks in advance.

    I couldn't understand why you need two different tnsnames files. Are they resides in two different directories with filename "tnsnames.ora"? In that case, you need to set the TNS_ADMIN appropriately.
    If you haven't named tnsnames files as "tnsnames.ora", then Oracle ODBC driver may not able to access it.
    Also if TNS_ADMIN env variable is not pointed to the correct directory where tnsnames.ora file resides, then Oracle ODBC driver won't be able to access it.
    In any case, if Oracle ODBC driver unable to access the tnsnames.ora and there is no connection string value stored in the Windows registry, then it throws ORA-12154 error.
    Thanks,
    Senthil

  • Oracle7 ODBC Driver with an Oracle 8 database

    Does anybody know if there are any issues with using an Oracle 7 ODBC driver to access information on an Oracle 8 database?

    Assuming you have an Oracle 7.3.4 client with the Oracle 7 ODBC driver, you're probably fine connecting to any of the current database releases. Since Oracle7 was desupported a while ago, however, there's no guarantee that this will continue to be the case as time goes on. Additionally, you probably won't be able to get support if you run into problems with this configuration.
    Justin

  • Oracle 9i ODBC Drivers on Windows 7 Enterprise 32 bit

    Hi,
    Can any one help me with the information, If the Oracle 9i ODBC drivers supported on Windows 7 Enterprise 32 bit, Access 2007 as the front end and Oracle 9i database as the backend.
    If the 9i drivers are not supported on Windows 7 Enterprise 32 bit which version is the supported version.
    Thanks
    Srini

    There is no driver for windows 7 (32-bit) to connect Oracle 9i (9.1) for .Net.
    .NET libraries for Oracle and OLE DB providers for Oracle both are available for higher version
    Oracle.dataaccess.client http://www.oracle.com/technetwork/database/windows/downloads/index-101290.html
    but check this below link
    http://www.oracle.com/technetwork/database/windows/downloads/index.html

  • How to install Oracle Lite ODBC driver without connecting the mobile server

    My Oracle Lite version is 10g R3.
    I am using branch office version application.
    I wanted to connect oracle client database(.odb file) via Lite DSN in a windows XP machine without installing the client in that device.
    Some of my users wanted to access the client database from backend which requires a DSN entry in that device.Oracle Lite ODBC gets registered in the device only when we do a setup from the mobile server or if Oracle 10g Lite MDK is installed.
    I do not want either of this to be done in my user PC. I wanted a ODBC utility which will register oracle Lite ODBC Driver (Normal & Cleint) in the user PC so that i can manually create and configure the DSN.
    Does anyone have a solution for this?
    Regards,
    Ashok Kumar.G

    Dear Sir,
    Yes, you can find the Driver here
    http://www.oracle.com/technology/software/tech/windows/odbc/index.html

  • Oracle 10g R2 installation with ASM+RAC

    Gurus,
    Need some suggestuon on Oracle 10g R2 installation with ASM and RAC option.
    We have found many documents on the Oracle, HP, HP-Oracle CTC and third party web sites, but nothing that is specific to this particular combination of separate
    ORACLE_HOMEs, ASM and 10g RAC CRS. It is unclear for me from the documentation how this combination of ASM and 10.2g RAC may best be installed.
    The high level steps i got after reading lot of docs as follows - but i am not sure whether these are correct or not. if they are correct, can any one share their experience/notes please?
    1) Install CRS
    2) Install RDBMS for ASM HOME - create separater oracle home for ASM instance using OUI
    3) Install RDBMS for RAC Database Home - create separater oracle home for RAC database using OUI
    4) Create ASM database using DBCA -
    5) Use dbca to create database.

    Oracle provides 'paint by numbers' tutorials called 'Oracle By Example'. (Go to OTN, check under the Training tab)
    They have one for a Windows based ASM/RAC that you might want to review. Not your specific environment, but the steps will be dag-nabbed close.
    I recommend walking the path (http://otn.oracle.com >> training:OBE >> Database 10g Release 1:VMWare:Installation
    http://www.oracle.com/technology/obe/obe10gdb_vmware/install/racinstallwin2k/racinstallwin2k.htm

Maybe you are looking for

  • Patching ST_PI, open conversions in ABAP dictionary

    Hello during a patching of ST-21 2008 the tool stops at CHECK_REQUIREMENTS phase with the screen: open conversions in ABAP dictionary Some open conversion requests still exist in the ABAP Dictionary for the following ABAP Dictionary objects. To avoid

  • SETS Issue T-code GR55

    Dear Experts, I have an issue with a SET which is created by me in test systems. I have created the SET using T-code GS01 and assigned the SET to a report. When i am checking the total ALL BA column, the New SET amount is not getting added in the Tot

  • Define primary key in FormsGraph Bean

    Hi ! I read that I need to declare a primary key for using MODIFY_ROW_DATA or REMOVE_DATA. The problem is that there is 4 columns in the primary key of my table. So, how can I declare this primary key in the FormsGraph Bean ? Thanks for your help. Se

  • How can I uninstall Labview run time engine from the machine?

    I understand that Labview has not given any provision to show customized 'License Agreement screen'. Isn't it? This is the main cause of my problem. Since I want to show our own license agreement (LA) screen, I made the one using Labview. To show thi

  • Connected to airport but it doesn't appear in admin utility!

    I have a G4 powerbook set up with the airport extreme, I did not personally set it up. However, the G4 sees it and it connects to the internet. My Mac book sees it and cannot connect to the internet. The base station does not appear in either of the