Windows 7 64 Bit machine with Instant Client and 32Bit application

Hello everybody,
the last days a tried to get a 32Bit application to run on a Windows 7 SP1 64 Bit machine ... unfortunately with no success. The application runs on XP Pro and Vista Pro 32 Bit machines against a 11g RDBMS for years. As a refenence we use SQLTools from sqltools.net. It has nearly the same behaviour like the application, because it is a 32 bit application too.
First thing was to install a 64 bit environement to verify if the connection is allright.
- Downloaded instantclient-basic-windows.x64-11.2.0.2.0.zip an instantclient-sqlplus-windows.x64-11.2.0.2.0.zip
- Unpacked both packages into C:\oracle so that they reside in C:\oracle\instantclient_11_2
- Made a directory C:\oracle\tnsnames with tnsnames.ora in it, because the app uses it
- Set the environement variables TNS_ADMIN to point to C:\oracle\tnsnames and added C:\oracle\instantclient_11_2 in front of the path variable
- Restarted the machine
- Opened a commnd shell and startet sqlplus user/password@sid
Everything was allright, I was able to connect to the database as expected
Second thing was to start SQLTools, but as I feard it quitted with an error message when trying to access oci.dll of the instant client.
So i decided to switch to a 32 bit environement as a third thing.
- Downloaded instantclient-basiclite-nt-11.2.0.2.0.zip and instantclient-sqlplus-nt-11.2.0.2.0.zip
- Deleted the old C:\oracle\instantclient_11_2
- Unpacked both 32 bit packages into C:\oracle so that they reside in C:\oracle\instantclient_11_2
- Didn't change anything in the environement, because nothing changed from the view of the system
- Opened a commnd shell and startet sqlplus user/password@sid
But now I wasn't able to connect and got the following error
ORA-28547: connection to server failed, probable Oracle Net admin error
SQLPlus was able to start now, but when trying to connect to the database I got the same error like when connecting with sqlplus.
Does anybopdy have an idea how to manage to get a 32 bit application to run on a Windows 7 64 Bit machine?
Thanks in advance
My packages:
Windows 7 64 bit SP1
Oracle Instant Client basic lite 11.2.0.2.0
SQLPlus 1.5 22D

Have you tried WOW64 ? I have not used this emulator for sqlplus but it works for other 32 bit applications.
http://msdn.microsoft.com/en-us/library/aa384249%28v=VS.85%29.aspx
Thanks

Similar Messages

  • Windows 7, Oracle DB, Instant Client and VBScript

    I'm trying to to connect to a Oracle database via vbs on a Windows 7 machine using the instant client.  I get an error [Oracle][ODBC][Ora]Ora-12560: TNS:protocol adapter error Code 80004005.  Script still works fine in XP using the Microsoft ODBC for oracle.  I've setup the system dsn, and added tns_admin option to the system environmental path.  Here's the connection line
    psconn.Open "DRIVER={Oracle in instantclient_11_2};SERVERNAME=192.168.50.1:1521/PSPRODDB;User Id=user;Password=pass;"
    I've tried 32 bit instant client and the 64 bit and get the same messages with both.  Any suggestions?

    12560 means you didnt supply a tnsnames alias, and a database was not found in that home.
    Try this:
       "DRIVER={Oracle in instantclient_11_2};DBQ=192.168.50.1:1521/PSPRODDB;uid=user;pwd=pass;"
    Using Oracle ODBC Driver
    Hope it helps,
    Greg

  • SP2-0750: You may need to set ORACLE_HOME with instant client and sqlplus

    On an hp-ux 32 ,,,
    - i downloaded instant client from here http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/hpsoft.html
    - installed and set my shlib_path to directory where I extracted it.
    - running sqlplus comes up with this ...
    Error 6 initializing SQL*Plus
    Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory.
    - what the heck am i missing here?
    Thank you.

    you can see from the 'tusc' ouput below that it is clearly trying to locate msb files. These files are not packaged with the instant client. So how it this supposed to ever work? These files are simply missing from the distribution.
    close(3) ............................................................................................................. = 0
    stat("/home/oracle/oraclnt/clnt/libclntsh.sl.10.1", 0x7f7e3070) ...................................................... = 0
    open("/home/oracle/oraclnt/clnt/libclntsh.sl.10.1", O_RDONLY, 02) .................................................... = 3
    fstat(3, 0x7f7e3138) ................................................................................................. = 0
    read(3, "0210010e0512@ \0C f7h 13\0\0\0\0".., 128) ................................................................... = 128
    lseek(3, 128, SEEK_SET) .............................................................................................. = 128
    read(3, "10\0\004\0\0\0( 01L W a4\0\010\0".., 48) .................................................................... = 48
    read(3, "80\0\0\v\0\0\004\0\0\0\0", 12) .............................................................................. = 12
    lseek(3, 4059136, SEEK_SET) .......................................................................................... = 4059136
    read(3, "058cy 10\0\0, \ \004: 8 \0\0\0\n".., 112) ................................................................... = 112
    mmap(NULL, 21782528, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 0x3df000) ......................................... ERR#12 ENOMEM
    close(3) ............................................................................................................. = 0
    munmap(0xcc000000, 70111232) ......................................................................................... = 0
    munmap(0x7f684000, 4096) ............................................................................................. = 0
    open("./nls/data/lx1boot.nlb", O_RDONLY|O_LARGEFILE, 0) .............................................................. ERR#2 ENOENT
    open("./sqlplus/mesg/sp1us.msb", O_RDONLY|O_LARGEFILE, 0121430) ...................................................... ERR#20 ENOTDIR
    open("./sqlplus/mesg/sp1us.msb", O_RDONLY|O_LARGEFILE, 0121430) ...................................................... ERR#20 ENOTDIR
    Error 6 write(2, "E r r o r 6 ", 8) ...................................................................................... = 8
    iwrite(2, "i ", 1) .................................................................................................... = 1
    nitializwrite(2, "n i t i a l i z ", 8) ...................................................................................... = 8

  • Encoding issues with Instant Client and Win-1252 database

    Hi,
    I'm connecting to a Win-1252-encoded Oracle XE database from a Ruby on Rails application via ruby-oci8.
    NLS_CHARACTERSET WE8MSWIN1252
    NLS_NCHAR_CHARACTERSET AL16UTF16
    When the database and the application reside on the same physical server, the application retrieves the correct characters from the tables. But if the database resides on a different machine, then I use Oracle Instant Client; unfortunately the characters I get back from the database are then incorrect ('e' instead of 'é', 'a' instead of 'à', etc.).
    Is there some kind of setting (or another version of the Instant Client) that I can use to fix this encoding problem?
    Thanks,
    Chris.

    Hi,
    >>then I use Oracle Instant Client
    It's possible that maybe a NLS environment variables configuration problem ... For more information, I advise you to take a look at [url http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm] NLS_LANG FAQ
    Cheers
    Legatti

  • NLS_LANG with Instant Client and MS Access

    Hello Everybody.
    Recently I downloaded Oracle Instant Client 10.1.0.3. I made a custom instalation for my little Access (ODBC)application.
    In the begining the installation had not any other configuration than PATH Environment variable and ODBC basic DLL paramaters. That configuration worked very well for some minutes, until I realized that some rows in my linked tables appeared as #DELETED.
    I made a little web-based investigation on the Microsoft and Oracle web site and I arrived to the NLS_LANG parameter. I realized it was my problem because I have Latin American characters in my rows and those rows were the "#DELETED" row I saw in my tables.
    I did "select * from NLS_DATABASE_PARAMETERS" and that command showed AMERICAN and WE8DEC as NLS_CHARACTERSET.
    I set the NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1 and the problem disapeared.
    My question is: Is that the correct configuration in this case?
    PD:I'am using Win XP Pro in Spanish.
    Thanks

    Hi,
    >>then I use Oracle Instant Client
    It's possible that maybe a NLS environment variables configuration problem ... For more information, I advise you to take a look at [url http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm] NLS_LANG FAQ
    Cheers
    Legatti

  • Database connectivity problem with instant client.

    Guys,
    I've installed the Oracle instant client basic and ODBC files in my system.
    But when I create a system DSN and test the connectivity my database connectivity,it fails with
    ORA-12637:Packet receive failed error
    My TNSNAMES reads below:
    ONDSP101.DIGITALINDIASW.NET =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = namesrv1.xy.zz.com)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ONDSP101)
    and my SQLNET as below:
    AUTOMATIC_IPC = OFF
    TRACE_LEVEL_CLIENT = ON
    SQLNET.INBOUND_CONNECT_TIMEOUT=20
    NAMES.DEFAULT_DOMAIN = na.pg.com
    NAME.DEFAULT_ZONE = na.pg.com
    SQLNET.CRYPTO_SEED = "kdg:9yv2$-plo*u6b2x!"
    NAMES.DIRECTORY_PATH = (ONAMES,TNSNAMES)
    NAMES.PREFERRED_SERVERS =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = TCP.xy.zz.com)
    (PROTOCOL = TCP)
    (Host = namesrv1.xy.zz.com)
    (Port = 1522)
    (ADDRESS =
    (COMMUNITY = TCP.xy.zz.com)
    (PROTOCOL = TCP)
    (Host = namesrv2.xy.zz.com)
    (Port = 1522)
    I've placed my TNSNAMES and SQLNET file in the same folder having the instant client files and I've set my TNSADMIN,LD_LIBRARY_PATH and PATH environmental variable to the folder location.
    Note:I'm able to connect to the database using SQLplus.
    Thanks,
    Bhagat

    12637, 00000, "Packet receive failed"
    // *Cause:  A process was unable to receive a packet from another process.
    // Possible causes are:
    // 1. The other process was terminated.
    // 2. The machine on which the other process is running went down.
    // 3. Some other communications error occurred.
    // *Action: If the cause is not obvious, contact Oracle Customer Support.
    These days I very seldom use ODBC for Oracle - most recently it was simply to get Enterprise Architect to "talk" to Oracle. I never used it for my client applications (unlike in the fast distant past), so what I know about ODBC is seriously outdated.
    Even so, a few comments. :-)
    Have you tried creating a user DSN, in case a system DSN somehow works different environment wise?
    The above error description sounds like the original TCP connection was successful (i.e. it is not a host unknown or not reachable error). Subsequent packets seem to fails.
    To confirm, run the listener on namesrv1.xy.zz.com with logging enabled and have a look at the listener.log - does it show a connection being accepted/handled from your PC when you use the ODBC DSN?
    Have you tried the Oracle ODBC drivers? When getting EA connected I had problems (also with Instant Client) and Microsoft ODBC driver for Oracle. Downloaded and installed the Oracle ODBC driver and it worked just fine first time around.
    PS. You should raise this topic on the Instant Client Forum instead.

  • Can a program compilied with 32 libraries work with Instant Client 64 bit?

    We are compiling our program on IBM AIX 5L and HP-UX PA_RISC with 32 libraries (using ORACLE_HOME/lib32)
    for AIX and HP-UX RISC the only available Instant Client 10gR2 is 64 bit. there is no 32 version.
    can a program compilied with 32 libraries work with Instant Client 64 bit?

    64 bit clients can be downloaded from here: http://www.oracle.com/technetwork/topics/dotnet/downloads/index.html
    That said, Visual Studio itself is 32 bit, so if you want the developer tools to work, you'll need a 32 bit client. If you're not using the developer tools in your project and you're compiling your project for AnyCPU or x64, the 64 bit client will work. If you're compiling for x86, you need the 32 bit client. (If you want to do both, you'll need two clients installed.)
    edit - Actually, it looks like in this case you might be running into a problem of needing a 32 bit client & ODBC connection. The error mesage could be misleading here as Visual Studio itself is 32 bit. Did you create the ODBC connection using control panel? If so, that's a 64 bit connection.
    32 bit ones are created using c:\windows\syswow64\odbcad32.exe
    Edited by: Tridus on Jan 3, 2013 3:24 PM
    Edited by: Tridus on Jan 3, 2013 3:24 PM

  • Install Captivate 4 on Windows 7 64-bit machine with Windows XP mode?

    Hi,
    I have been searching the web to find out the best way/place in which to load Captivate 4 on my Windows 7 64-bit machine. Seems some people have issues with recording, others don't. I have Windows XP mode on my machine.
    My question is... what's the best way to load Captivate 4 on Windows 7 - should I install to Windows 7 and see how it goes. Or should I install under Windows XP mode?
    Thank you!
    Michele

    Yea it works in XP mode
    Daniel Wooden
    Systems
    U.S. District Court Middle District of Tennessee
    615-736-7485
    From:   RodWard <[email protected]>
    To:     DEW45 <[email protected]>
    Date:   09/24/2011 12:01 AM
    Subject:        Install Captivate 4 on Windows 7 64-bit
    machine with Windows XP mode?
    Re: Install Captivate 4 on Windows 7 64-bit machine with Windows XP mode?
    created by RodWard in Adobe Captivate - View the full discussion
    Try running Cp4 in WinXp compatibility mode on Win7.  Also make sure
    you're set to Run as Administrator.
    I run Cp4 on Win7 without issues.  But other users report similar problems
    to yourself.  In the end, it may or may not work for you because Adobe has
    never claimed Cp4 was compatible with Vista or Win7 64bit.
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either
    reply to this email or visit the message page: [
    http://forums.adobe.com/message/3935593#3935593]
    To unsubscribe from this thread, please visit the message page at [
    http://forums.adobe.com/message/3935593#3935593]. In the Actions box on
    the right, click the Stop Email Notifications link.
    Start a new discussion in Adobe Captivate by email or at Adobe Forums
    For more information about maintaining your forum email notifications
    please go to http://forums.adobe.com/message/2936746#2936746.

  • Trying to install a setup on a 64 bit machine with Windows server 2012 R2 which writes to registry FAILES

    My msi is a 32 bit setup.
    When I install it on a 32 bit machine with Windows XP it works fine .
    I tried to install it on a 64 bit machine with windows server 2008 and it succeeds
    While running my setup on a 64 bit machine with Windows server 2012 R2 it failes and I get the folloawing message:
    "Registry object reference not set to an instance of an object"
    Then the setup exits and leaves the app partially installed
    I tried searching for known problems over the net, but found nothing
    I will be happy to get some advice
    Thanks
    Liora

    Sounds like you are trying to update a registry object that is not there.
    Is this your own msi, or is it from a third party application?  If third party, check with them to see if they support it on 2012 or if they have a known workaround.
    If it is your own msi, sounds like it is time to debug it.
    .:|:.:|:. tim

  • I have a desktop machine windows 7 based with CS5 loaded and working without problem. I have recently purchsed a laptop running 8.1 windows.  I have loaded the cs5 package onto the laptop and it appears ro work but I am being told there are updates. I hav

    I have a desktop machine windows 7 based with CS5 loaded and working without problem. I have recently purchased a laptop running 8.1 windows.  I have loaded the cs5 package onto the laptop and it appears to work but when I try to update, although  I am being told there are updates it attempts to download the update but then tells me there is a problem and to quit and try again later.. I have tried a number of times to download the updates but itkeeps telling  me to quit and try later. what is wrong please?

    There could be a 32 bit vs 64 bit issues-is the old machine a 32 bit? and what is the new machine as far as 32/64 bit. I am not sure now if CS5 has in the help menu of the PS app the selection to update within PS if so that might work. I know that the Creative cloud app for installs updates  etc has caused me much consternation  over the last couple few years. Last it could be something like your Software firewall settings or  anti-virus anti malware programs. I know that updating the infamous adobe flash that Internet Explorer pop ups setting and having AV turned on as opposed to off can interfere or plain break the update ability

  • Cannot get ODBC to work with Instant Client

    Hi,
    I am having problems getting ODBC working with instant client. This is what I have done so far:
    1. I installed Instant Client from this page: http://www.oracle.com/technetwork/topics/winsoft-085727.html
    The file I downloaded was: instantclient-basic-win32-10.2.0.3-20061115.zip
    2. Next, I installed SQL*Plus with this file: instantclient-sqlplus-win32-10.2.0.3-20061115.zip
    Now I have SQL*Plus working with instant client.
    3. After that I downloaded instantclient-odbc-win32-10.2.0.3-20061115.zip for ODBC.
    4. I unzipped the odbc zip file into the Instant Client folder and ran odbc_install.exe. Now I have 'Oracle in instantclient 10_2' showing up in the drivers tab of ODBC Data Source Administrator.
    5. Now, if I try to add add a DSN and choose 'Oracle in instantclient 10_2' as the data source, I get an error "ODBC Administrator has stopped working" (http://i50.tinypic.com/jifl2g.png)
    I can add DSNs using any other data source without problems. The aforementioned error comes up only when I use 'Oracle in instantclient 10_2' as the data source.
    Can someone please let me know how to resolve this?
    I am running Windows Vista Business edition 32-bit.
    Thanks & Regards,
    Ubaidullah Nubar.
    Edited by: unubar on Dec 17, 2012 9:42 PM

    Two dimensions of compatibility/requirements:
    Vertically - This is your application, APIs, .Net, operating system etc. that may define requirements on Oracle Client version, and vice versa.
    Horisontally - "on the wire" or connectivity wise - Oracle certifies client - server interoperability at least two releases or major versions back/apart, so yes, 10.2 is/was* supported. See MOS interoperability matrix for your specific case.
    (*was since 10.2 Database is out of support or even Extended support by now. Perhaps it is time to upgrade the server side also ;-))

  • How to run Pro*C application with Instant Client in Oracle 10g

    i am try to run but Pro*C application give error orasql10.dll
    i have downlod Instant Client in Oracle 10g from site. i have unzip and maked environmental virable in PC.
    but application not run. given error orasql10.dll .......
    my problem is thrat i want to run Pro*C application with Instant Client in Oracle 10g .....
    oracle say that run but how........

    According to this thread, it does not work on Windows:
    Does Instant Client 10.1.0.4 for Windows 32 support ProC ?

  • Sharing p4014n printer on windows 7 machine with XP machine

    I have installed a Laserjet P4014n on a new Windows 7 machine with the USB connection - I allowed it to detect and install the drivers automatically.  The printer works great on the Win7 machine.
    I shared the printer and would now like to have an XP machine also be able to use it for printing.  However when I add a printer and I browse out to the shared printer on the Win7 machine,  the XP machine gives the error:  "The server for the HP LaserJet P4014/P4015 PCL6 printer does not have the correct printer driver installed.  If you want to search for the proper driver click OK.  Otherwise click Cancel..."  I tried to find the correct driver (.INF) file on the CD that came with the printer, but it does not seem to like any of the files on the CD.
    I have tried to install on the XP machine the drivers using the CD that came with the printer, but because there is not a printer connected, it will not install.  I have also downloaded the XP drivers (PCL6 and Universal Printer Drivers for PCL5 and PCL6)  for the printer from the HP website, and tried to browse to those when installing the drivers but it still cannot find a file it likes.
    What file should I be looking for on the CD or downloaded files for XP? 
    I also tried to add additional drivers on the Win7 machine but again can not find a file that installs from the CD or downloaded files.

    i am having the same problem. the printer is installed on a new windows 7 computer and we are trying to share it to a windows vista computer. did you figure out how to get it to work?! we r getting very frustrated!!

  • Problem with VPN Client and network access

    We are running VPN client 4.0.1 on our laptops, and there are a number of users who are getting documents they are using on the internal network (off VPN) corrupted. The initial cause seemed to be the stateful firewall, but I have that turned off, and we are still getting it.
    It only seems to be on the machines with VPN client installed, and it is only happening when the user is working on a file direct from the network drive. They are not connecting via the VPN client when the problem occurs.
    any suggestions?
    William.

    Did you get any joy with this ? We seem to be having the same issue.
    Thanks

  • Connect SQL Server 2012 from Windows Server 2003 with native client 9.0

    Hi,
    I currently have a setup where ETL tool Ab Intio, running on a Linux server, connects to the SQL Server 2005 through a passthrough Wintel server with Windows Server 2003 OS using SQL server native client 9.0
    Now I have the requirement to upgrade the SQL server from 2005 to 2012.
    My question is, will it be possible to connect to SQL server 2012 through Windows Server 2003 with native client 9.0?
    As per the specs, I need native client 11.0+ to fully support SQL Server 2012, but then, as per specs, native client 11.0 doesnot run on Windows server 2003. OS upgradation is currently not on the cards.
    So will it be possible to the run the basic queries we use currently, if we can connect SQL server 2012 through Windows Server 2003 with native client 9.0/10.0, without updgrading the OS of the Wintel server?
    Thanking you in advance! 

    Hi Soumya,
    Yes, you can use the SQL Server Native Client shipped with SQL Server 2005 to connect to a SQL Server 2012 instance, and there is no need to upgrade the operating system.
    Regards,
    Mike Yin
    TechNet Community Support

Maybe you are looking for