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

Similar Messages

  • 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

  • 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

  • Linux ODBC Instant Client and Web access?

    Hi,
    I have downloaded instant client 10.2 and the corresponding ODBC RPM, installed them on a CentOS 4.7 (32 bits) Linux machine. I have also installed UnixODBC on this machine. After a lot of experiments and searches on Internet, I have finally obtained a working state. I.e. using DataManager to test the connection, I access to the Oracle Server that is on another computer.
    Now, I am in the second step of my tests. I have to access to the database through Internet. The scheme is the following:
    1- a web client is connected, to my web server (server is HTTPD),
    2- the web server has to access to the Oracle server by using the ODBC Instant Client.
    But this does not work yet. When I try this configuration, I see the error "*can't find the lib libsqora.so.10.1. libcintch.so.10.1 cannot open shared object library*". To solve this problem, I have to tried to define (and export) LD_LIBRARY_PATH in the /etc/sysconfg/httpd file. But this does not work.
    Does anyone has a solution?
    Thanks in advance.

    here, the trace from the log file:
    [ODBC][8089][SQLConnect.c][3549]
              Entry:
                   Connection = 0x81db4a0
                   Server Name = [GTModus][length = 7 (SQL_NTS)]
                   User Name = [GTModus][length = 7 (SQL_NTS)]
                   Authentication = [*******][length = 7 (SQL_NTS)]
              UNICODE Using encoding ASCII 'ISO8859-1' and UNICODE 'UCS-2LE'
    [ODBC][8089][SQLConnect.c][1012]Can't open lib '/usr/lib/oracle/10.2.0.4/client/lib/libsqora.so.10.1' : libclntsh.so.10.1: cannot open shared object file: No such file or directory
    Concerning exporting LD_LIBRARY_PATH I did as explained in one of the few posts found on internet. I have also tested by modifying the httpd.conf file by adding SetEnv directives. But whatever the changes I did, it seems that, through internet, the environment is lost.

  • 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

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

  • Difference between instant client and full oracle client

    Everyone,
    I had read the below lines from a goldengate pdf. Someone please explain me what is the difference between instant client and full oracle client?
    What is the use of XDK libraries.?
    " The full Oracle client must be used with GoldenGate so that the GoldenGate programs
    have access to the Oracle XDK libraries. Do not use Oracle Instant Client, which lacks
    those libraries. You can download the full client from Oracle’s website."
    Regards,
    SAKTHi

    The dealio is this:
    When you install client software, you have several options as to the degree of what you get/install. The big chicken dinner is administrator, so you get all kinds of extra features, add-ons, libraries, utilities, etc. At the hard candy Christmas end is instant client, and that has just enough functionality to, as you may surmise by now, connect a client and that's about it. Various libraries have functionality built in to do whatever extra is required. An example is FAN, or fast application notification, used in Data Guard failover. A FAN API (Java) will detect a failover and re-direct a client connection to the new primary. What GG uses XDK for (specifically) isn't of importance to a user, just the fact that it is available for connecting to Oracle is.

  • 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

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

  • Can't find example oci makefile with instant client

    A couple of references indicate that Instant Client comes with an example make file. Where is it?
    I've installed all the instant client rpm files, including the 'developer' file. But I can't find the example makefile. The 'developer' rpm file is described on the download web page as follows:
    *Instant Client Package - SDK: Additional header files and an EXAMPLE MAKEFILE for developing Oracle applications with Instant Client
    So far I can't find the example makefile. I see the header files and some shared library (.so) files but no example makefile.
    Anybody know how to find the example makefile?
    Anybody have any pointers on how to make OCI programs on an instant client system? My programs already run on another system. The other system has a full blown Oracle development environment instead of instant client.
    I am trying to make the programs on a RedHat enterprise linux 4 system (actually a clone of RHEL4 called centos4).
    thanks,
    David
    xyz

    Never mind. Don't bother. I think I found it.
    I forgot that it's not called "Makefile", "makefile", or anything that you might ordinarily think to look for. It's called demo.mk instead.
    David

  • 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

  • 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 ;-))

  • Dynamic VLAN Assignment with RADIUS Server and Aironet Access Points

    Hi Guys,
    I would like to go for "Dynamic VLAN Assignment with RADIUS Server and Aironet Access Points 1300". I want the AP to broadcast only 1 SSID. The client find the SSID ->put in his user credential->Raudius athentication->assign him to an specific vlan based on his groupship.
    The problem here is that I don't have a AP controller but only configurable Aironet Access Points 1300. I can connect to the radius server, but I am not sure how to confirgure the AP's port, radio port, vlan and SSID.
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008076317c.shtml#switch
    I go through some references:
    3.5  RADIUS-Based VLAN Access Control
    As discussed earlier, each SSID is mapped to a default VLAN-ID on the wired side. The IT administrator may wish to impose back end (such as RADIUS)-based VLAN access control using 802.1X or MAC address authentication mechanisms. For example, if the WLAN is set up such that all VLANs use 802.1X and similar encryption mechanisms for WLAN user access, then a user can "hop" from one VLAN to another by simply changing the SSID and successfully authenticating to the access point (using 802.1X). This may not be preferred if the WLAN user is confined to a particular VLAN.
    There are two different ways to implement RADIUS-based VLAN access control features:
    1. RADIUS-based SSID access control: Upon successful 802.1X or MAC address authentication, the RADIUS server passes back the allowed SSID list for the WLAN user to the access point or bridge. If the user used an SSID on the allowed SSID list, then the user is allowed to associate to the WLAN. Otherwise, the user is disassociated from the access point or bridge.
    2. RADIUS-based VLAN assignment: Upon successful 802.1X or MAC address authentication, the RADIUS server assigns the user to a predetermined VLAN-ID on the wired side. The SSID used for WLAN access doesn't matter because the user is always assigned to this predetermined VLAN-ID.
    extract from: Wireless Virtual LAN Deployment Guide
    http://www.cisco.com/en/US/products/hw/wireless/ps430/prod_technical_reference09186a00801444a1.html
    ==============================================================
    Dynamic VLAN Assignment with RADIUS Server and Wireless LAN Controller Configuration Example
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008076317c.shtml#switch
    ==============================================================
    Controller: Wireless Domain Services Configuration
    http://www.cisco.com/en/US/products/hw/wireless/ps4570/products_configuration_example09186a00801c951f.shtml
    Any help on this issue is appreicated.
    Thanks.

    I'm not sure if the Autonomous APs have the option for AAA Override.  On the WLC, I can go into the BSSID, Security, Advanced, and there's a checkbox that I would check to allow a Radius server to send back the VLAN.
    I did a little research and it looks like the 1300 may give this option but instead is defined as "VLAN Override".  I've found the release notes for 12.3(7)JA5 (not sure what version you're running) that give mention and a link to configuring EAP on page 4: http://www.ciscosystems.ch/en/US/docs/wireless/access_point/1300/release/notes/o37ja5rn.pdf
    Hope this helps

  • I want to go back to the previous 2014.2 version.  .3 is much too buggy and full of error messages. Creating problems as I am on a timeline with my client and I don't have time to fool around with all the problems.

    2014 .3 is much too buggy and full of error messages. Creating problems as I am on a timeline with my client and I don't have time to fool around with all the problems.

    You didn't mention what error(s) you've encountered? A workaround for the most commonly hit problem is here Re: error in Muse : Object UID:U6875 has two (or more) owners: U3633 and U3165
    If you have a copy of your .muse file that has not been saved using 2014.3, you can downgrade by uninstalling Muse and then choose Previous Version in the Filters drop down in the Apps panel of the Creative Cloud desktop app. There will be a popup next to Muse where you can select a prior version to install.

Maybe you are looking for

  • Finder Window

    Hi, I was organizing my finder window and I accidently changed the way the icons are listed so now they're listed z-a instead of a-z. I want to view it in cover flow but if i do this I can't click on the 'arrange by' icon under the view menu. How do

  • Bookmark method for a page is not getting called

    Hi, I am developing a simple ADF application which contains two jspx pages, in JDEVELOPER 11g (build JDEVADF_MAIN_GENERIC_080910.1420.5124). I have a commandLink in Page1 which takes me to the Page2.I have a bookmark method for Page2, which gets call

  • Qosmio F30-117: How long does the repair take?

    can any body tell me how long does it take for toshiba repair center to repair the laptop and send it back. I bought this new laptop but there was harddisk fault, then i sent it for repair but not yet received. Its two weeks now.

  • Vendor blocking after particular quality score automatically

    Hi Everybody I hav following seniario My client want to block the vendor for either creating purchase order or Goods receipt automatically after that particular vendor quality score reaches below certain level After blocking the vendor he can release

  • BPC 10.0 - Time Dependent Hierarchy?

    Dear All, In BPC 10, is time-dependent hierarchy allowed/used? Any pointers will be appreciated. Thank you! Regards, Peri