ORA -12705  Error

Hi
I am getting the following error while trying to connect to a repository in OMB:
ORA-12705 cannot access NLS data files or invalid environment specified.
Can someone please help me with this ?
Regards
azaman

http://www.dba-oracle.com/t_ora_12705_resolution.htm

Similar Messages

  • ORA-12705 Error Message while trying to connect to the DB

    A colleague of mine has been trying to connect to the DB through PL/SQL Developer. The error message returned is :
    ORA-12705: invalid or unknown NLS parameter value specified
    Checked the registry for NLS_LANG which is set to NA. I did that because the ORA message references the NLS_LANG parameter. However, I doubt that is the problem. Went about to create a new TNS Name entry through Oracle NET Manager and get the same Error Message while performing the TEST function.
    Any clues ? I am clueless at this point.

    This can occur with any NLS_ environment variable of registry value.
    Your assertion ' the ORA message references the NLS_LANG parameter' is incorrect.
    You can set NLS_TERRITORY, NLS_DATE_FORMAT etc, etc, etc.
    The order of precedence is environment variable, registry, Oracle provided default.
    To find out what is going on set every NLS related environment variable to the empty string.
    In sqlplus
    select * from v$nls_valid_values
    will show you what can be set,
    This error will also occur when you installed the software with English as the only language.
    SQL developer doesn't use tnsnames.ora
    The new tnsname entry has nothing to do with it.
    You have an incorrect environment variable or registry value somewhere
    (in HKLM\software\oracle)
    Sybrand Bakker
    Senior Oracle DBA

  • Embed test throwing ORA-00604 and ORA- 12705 errors

    Hi,
    I've setup a JEE application and when tried to make a connection the IDE was throwing errors
    ORA-00604: error occurred at recursive SQL level 1
    ORA- 12705: invalid or unknown NLS parameter value specified
    That I fixed adding two entrances in the jdev.conf file
    AddVMOption -Duser.region=us
    AddVMOption -Duser.language=en
    Now, when I try to run an embed test throws again the same errors
    oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    javax.ejb.EJBException: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: Cannot access NLS data files or invalid environment specified
    how can I fix this in a jdev 10.1.3.4?
    Thanks in advance.

    Hi, thanks for the reply.
    First, a question. How do I file a bug with customer support?
    Then, back to the problem.
    I have installed on a Windows Vista system the database. The windows system is set in Spanish and the database is an express edition 10.2.1015
    The JDeveloper's version where I have setup the project is 10.1.3.4.0
    The original value for the HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/KEY_XE/NLS_LANG entrance was LATIN AMERICAN SPANISH_ECUADOR.WE8MSWIN1252, and now I have changed it to the result from querying from dual AMERICAN_AMERICA.AL32UTF8, with SELECT USERENV('LANGUAGE') FROM DUAL;
    I did this, because so I understood from the [error description|http://ora-12705.ora-code.com/]
    I also looked for a key like ORA_NLSxx in the registry, but not found
    Also checked the ORACLE_HOME and the path does lead me to the oracle installation and there is the nls folder
    But still showing the same error
    Please let me know if more info is needed.
    Thanks in advance.

  • Problem Connection To Apex - Getting a ORA-12705 Error in the Apache Log

    Hello,
    We are having issues trying to connect to out Apex instance on our gateway server, as we are getting a 503 Server Temporary Unavailable response and looking in the log file we can see its reporting a:
    HTTP-503 ORA-12705: invalid or unkown NLS parameter value specifiedAnd we dont know what is causing this at all. Our DBA has tried to re-create the DAD and we have had a look at our NLS settings and there doesn't seem anything to suggest there is a problem. Also our DBA has been able to connect to the database using SQL plus and as the user APEX_PUBLIC_USER. Below is our NLS settings on the database:
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET     WE8MSWIN1252
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY     $
    NLS_COMP     BINARY
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_RDBMS_VERSION     11.2.0.2.0and our dad configuration is:
    Alias /i/ "<$ORACLE_HOME>/Apache/images/"
    AddType text/xml xbl
    AddType text/x-component htc
    <Location /pls/apex>
    Order deny,allow
    PlsqlDocumentPath docs
    AllowOverride None
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlDatabaseConnectString <host>:<port>:<service name> ServiceNameFormat
    PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDefaultPage apex
    PlsqlDatabasePassword <apex_public_user password>
    PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
    Allow from All
    </Location>Our database version is: 11.2.0.2 and our application server is 10g release 2.
    Any help on this would be greatly appreciated.
    Cheers,
    Paul.

    This is normally an issue related to environment variables.
    can you connect from your application server host to your database using sqlplus.
    SET NLS_LANG=AMERICAN_AMERICAN.WE8MSWIN1252
    sqlplus <username>/<password>@alias

  • Getting OERR: ORA 12705 error when trying to connect.

    I have tomcat running on red hat and I'm trying to connect to a remote server running Oracle 10g using a thin driver. But I keep getting this error when I try to connect. I've tried setting NLS_LANG=AMERICAN_AMERICA.UTF8, NLS_LANG=AMERICAN_AMERICA.US7ASCII, and NLS_LANG=.
    I'm not doing any ALTER SESSIONS. I wrote a test app and all it does is connect and does 1 simple select query.

    Unset it on the client and try again.
    Also see if Note:294104.1 will help you

  • SQL Developer 1.5: Logging Page - oracle.dbtools.db.DBUtil - ORA-12705

    I just downloaded SQL Developer 1.5.
    When I try logging into any database, the Logging Page shows:
    Source: oracle.dbtools.db.DBUtil
    Message: ORA-12705: Cannot access NLS data files or invalid environment specified
    I've tried setting the NLS preferences to the default ... no dice/
    SQL Developer 1.2 works fine.

    Hi Helder,
    I think you're on the right track but when I made the changes you described
        Tools -> Preferences -> Database -> NLS parameters
        "Decimal Separator" from . to '.'
        "Group Separator"   from , to ','
        "Currency"          from $ to '$'I found that, while the error messages did indeed stop, my numbers started being formatted incorrectly.
    select to_char( 12345.23, '99G999D99' ) from dual
    TO_CHAR(12345.23,'99G999D99')
    12.345'23   Note how the single quote appears as a decimal separator and a period appears as the group separator.
    Your idea did however lead me to the following workaround which eliminates the ora-12705 error and sets the decimal and group separators properly.
        Tools -> Preferences -> Database -> NLS parameters
        "Decimal Separator" from . to .,
        "Group Separator"   from , to      (i.e. leave the field blank)The currency separator can stay at its original value, a single $ character. After making these changes the query above returns this.
    select to_char( 12345.23, '99G999D99' ) from dual
    TO_CHAR(12345.23,'99G999D99')
    12,345.23                    --
    Joe Fuda

  • ORA-12705 Invalid or unknown NLS_LANG parameter value specified

    Hi,
    I am trying to connect to a remote Oracle 8i database using TOAD.I have Oracle 8i and 9i installed on Windows XP Professional.I am able to connect via SQL*PlUS and OEM.Initially I was able to connect with TOAD.Then I changed the environment variable NLS_LANG to the server setting and afterwards unset it.I haven't been able to connect to remote db via TOAD since and get the following error:
    ORA-12705:Invalid or unknown NLS_LANG parameter value specified
    I have unset the value of NLS_LANG in the registery settings of both the Oracle homes.it is not set in environment also.I have exhausted the resources but haven't been able to come up with an explanation and solution.please help.

    When I connect TOAD with 9i as ORACLE_HOME, it connects fine but when I try to connect with 8i as ORACLE_HOME, I get the ORA-12705 error.does this mean there is some wrong setting in 8i Home? I have removed NLS_LANG setting from the 8i Home registry setting. Any help will be greatly appreciated.Thanks.

  • VERY weird ora-12705 problem

    I have on a database running on Unix True64 a database link to another database. Also a True64 machine. The Oracle version is 8.1.7.0.0.
    What happens is that I get a ora-12705 problem. Yes I know this has to do with NLS environment setting. But I doubt this is the case with this one. Look at the example:
    unix> sqlplus /
    SQL> select count(*) from zfindau;
    select count(*) from zfindau
    ERROR at line 1:
    ORA-12705: invalid or unknown NLS parameter value specified
    ORA-02063: preceding line from HUBD
    SQL> connect system/<password>
    SQL> connect /
    SQL> select count(*) from zfindau;
    COUNT(*)
    74991
    So under Unix I connect to an ops$ account. The zfindau is a synonym to the remote database table. First I do the select statement and get the ORA-12705 error. After I connect to a different user (system, or any other user available), do nothing and directly connect to the ops$account the same sql statement does work.
    Does anyone of you know what's going on here.
    Andre Seesink

    anyone??

  • ORA-00604: error occurred at recursive SQL level 1 ORA-12705: invalid or un

    Hello, I'm so worried because I can't resolve the following problem with my oracle clients on my desktop.
    Initial state:
    SO: Windows XP SP1
    Oracle clients: Oracle 8i
    Issue: I can get connection and access to the DB successfully
    Middle state:
    SO: Windows XP SP1
    Oracle clients: The same Oracle 8i and a new Oracle 9 client.
    Issue: We need to swap between each DB 8 and 9 using the HOME SELECTOR to get connections and access. I understand that the Oracle 9 Client have back-compatibility with 8i DBs. If I tray to get connection to the DB 8i using the Oracle 9 we get the following errors.
    Errors: ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: invalid or unknown NLS parameter value specified
    I decided to uninstall all the products (Oracle 8 and 9) using the Oracle Universal Installer. We didn't erase folders nor registers, we just used Oracle Universal Installer. Then we installed Oracle 10g
    Final Sate:
    SO: Windows XP SP1
    Oracle clients: only Oracle 10g
    Issue: I can get connection and access to the Oracle 9 DB. But trying with the Oracle 8i DB I got the same problem described above.
    Errors: ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: invalid or unknown NLS parameter value specified
    Please can somebody tell me how can I resolve this problem.
    Thanks.
    Luis Carlos

    You need to check you're NLS environment settings, check out this thread
    ORA-12705:  invalid or unknown NLS parameter value specified

  • ORA-00604: error occured at recursive SQL level 1 ORA-12705: Cannot access

    Oracle Database 10g Express Edition Release 10.2.0.1.0 on
    OS Linux Debian 3.1_r4_stable
    SQL> select userenv('LANGUAGE') from dual;
    USERENV('LANGUAGE')
    RUSSIAN_RUSSIA.AL32UTF8
    Client OS MS Vista Ultimate EN , region=RUSSIAN.RUSSIA
    Oracle Developer suite 10
    SQL-Developer
    Version 1.1.0.23.
    NLS_LANG=RUSSIAN_RUSSIA.CL8MSWIN1251
    Oracle Developer suite 10 is working properly but when
    i am attempting a connection between Oracle 10g XE and SQL-Developer.
    Need some help to resolve this error message....
    ORA-00604: error occured at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid enviroment specified

    Hi,
    You have to set NLS_LANG before connect to Oracle Database.
    $export NLS_LANG=.AL32UTF8

  • Database link from XE to 8i - Ok for XE, but error ORA-12705 for ApEx

    I have oracle 8.1.7.4 (8i) with these settings:
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    {color:#ff0000}NLS_CHARACTERSET CL8MSWIN1251{color}
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT dd-mon-rr
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    {color:#ff0000}NLS_NCHAR_CHARACTERSET CL8MSWIN1251{color}
    NLS_RDBMS_VERSION 8.1.7.4.0
    And oracle XE:
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    {color:#ff0000}NLS_CHARACTERSET AL32UTF8{color}
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    {color:#ff0000}NLS_NCHAR_CHARACTERSET AL16UTF16{color}
    NLS_RDBMS_VERSION 10.2.0.1.0
    I create database link from XE to 8i - it works fine:
    I create view in XE based on table from 8i
    and using SQL Developer {color:#0000ff}I can Select/Insert{color} into this view {color:#0000ff}from XE{color}.
    BUT when I login {color:#0000ff}to Application Express{color} and try the same SELECT from the view - {color:#0000ff}I get error:{color}
    ORA-12705: ORA-12705: invalid or unknown NLS parameter value specified
    ORA-02063: preceding line from LINKED8i
    What should I do to make Application Express work with the view based on table in remote database correctly - i.e. allow me to Select/Insert/... ?

    Hi,
    i don't have a solution for your problem but i want to share with you my research in using Database Links with XE/Apex.
    I have done it a in a lot of projects and in most of all cases it shows a strange behavior when using Database Links via Apex. As far as i know SQL-Request in Apex are executed via the DBMS_SQL-Package. And that seems to be source for all errors and strange behaviors you get.
    If you post a SQL-Request directly from your XE, everything's fine. If you do the same from APEX, sometimes it is very slow and sometimes it fails.
    So, my approach to this issue is to work with Materialized Views. Your can create MV's on your XE to reference your remote tables and even schedule refreshes. In Apex, you only work with these MV's instead of the remote tables. And everything's going to be fine!
    Hope this helps!
    Regards, Jens

  • Error while trying to retrieve text for error ORA-12705

    I am getting the message "Error while trying to retrieve text for error ORA-12705" when trying to connect to a remote oracle database on the network.
    I can access this database using:
    sqlplus username/password@database
    from a dos prompt.
    For some reason I can't connect when using PHP (through my local Apache2 server on Windows XP).
    'phpinfo' says oracle in enabled (installed as per: http://www.oracle.com/technology/pub/notes/technote_php_instant.html), so I'm pretty sure the problem isn't with php itself.
    My guess is it's something with Apache, and maybe environment variables or user permissions or instantclient (10).
    All the folders, from instantclient to the Apache server have full permissions set for "Everyone" which I would assume includes this mysterious "nobody" user I've read about.
    As for instantclient, I have placed that "tnsnames.ora" file from the oracle server there, and that hasn't changed much.
    I've tried setting, unsetting, editing (environment variables):
    LD_LIBRARY_PATH
    ORACLE_HOME
    ORACLE_SID
    TNS_ADMIN
    NLS_LANG
    ORA_NLS33
    in both the system environment, and even with PHP's "putenv" function. (Note: and restarting each time I changed a system var.)
    In PHP i'm using:
    $c = oci_connect("username","pasword", "database")
    I've tried OCILogon instead of oci_connect
    For "database" I've tried:
    - using the path to the oracle db: //Oracle1/e/oracle/ora81
    - mapping the path to x: drive and using: x:/oracle/ora81
    - using the name of the database by itself
    - using the name of the database underscored with the database name
    - using "(ADDRESS=(PROTOCOL=TCP)(HOST = host)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=database)))"
    I have tried everything I can find from:
    the Oracle installation page: http://www.oracle.com/technology/pub/notes/technote_php_instant.html
    the Oracle troubleshooting page: http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#connect
    and these forumswith no results, just the same error.
    I have also spent about 16 hours Googling for help, and nothing.
    Can someone please tell me, what exactly does a user using:
    Windows XP
    Apache 2
    PHP
    intantclient10
    Oracle 8i (on a remote server)
    need to do to connect to Oracle before jumping off a bridge?

    Turns out Oracle was previously installed on this company laptop :(
    I deleted any 'Oracle' mention in the registry with 'regedit' (from the command line) using the Find option. Not sure if it's always a good idea to do that, but I backed up the important stuff first anyway.
    I uninstalled and reinstalled everything using the same guide mentioned above, and then it worked.
    Now I can be friends with Oracle again.
    Would be nice if the "Deinstall" removed the registry entries that caused this issue...

  • Changing locale generates ORA-12705: invalid or unknown NLS parameter error

    By mistake I changed the default locale with following code:
    Locale.setDefault(new Locale(localeCode))
    and I get:
    JBO-30003: The application pool (com.photoswing.model.site.WebPhotographerGlobalAMLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.JboException.<init>(JboException.java:343)
    ## Detail 0 ##
    java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: invalid or unknown NLS parameter value specified
    Thanks
    Fred

    Can somebody explain the relation between default locale and NLS application pool connection parameter?
    Thanks
    Fred

  • Getting error ORA-12705, while connecting through Sql*Plus?

    Hi TOM,
    While connecting ORACLE Database through Sql*Plus / via through Application. We getting error called "Error while trying to retrieve text for error ORA-12705".
    How to re-solve this one?
    Thanks & Regards,
    Senthil K Kumar.

    Maran,
    check the registry NLS_LANG in the registry rename it as suggested by burleson and add a new entryCurrently, it was more suggested by Maxim ;-)
    Nicolas.

  • Error while connect -  ORA 12705

    I have installed Forms 6.0 on c:\orawin95
    and installed Client 8i on c:\aclient
    I am getting problem to connect Database 8i from Forms 6.0.
    It is giving error ORA 12705,
    The same database can be connected from client (c:\aclient)
    tnsnames settings on SQLPLUS,
    While the same is not possible from Forms 6.0.
    Please suggest me solution.
    Thanks.
    Dilip Patel.

    This certainly sounds as if it was a "multiple Oracle homes"
    problem:
    I assume that you installed Forms in an Oracle home different
    from the database's.
    In that case you will have to ensure that the same set of
    "server names" is available to Forms and SQL*Plus.
    Two solutions come to mind:
    a) Copy your TNSNAMES.ORA from the database's Oracle home
    over to your Forms Oracle hime.
    b) Set the TNSADMIN registry entry to point to the correct
    directory.
    Hope that helps.
    Michael

Maybe you are looking for

  • Can not connect from Forms6i to PO8i.

    Hi, My PC is a NT named 'oracle'. I have first installed Forms6i in DEFAULT_HOME, c:/orant. PO8i is installed as: Oracle Home: ora8i Full Path: c:\orant\ora8i Choose Typical Install Global Database Name: ora8i.oracle.master.com.au SID: ora8i Then I a

  • Exchange ActiveSync doesn't have sufficient permissions to create the..

    I have just upgrade my DC to 2012r2 and Exchange 2010 from an SBS 2003 environs. I am running into the above issue even thought I have added the Exchange server to the security at domain level, enabled the inheritance and it is still coming up with t

  • NullPointerException in MinusNode with EJB-QL, bug?

    Hi, I have an EJB 2.1 application with a simple EJB-QL query: SELECT OBJECT(a) from ApprovalDataBean a WHERE a.approvalid=?1 and (a.status=-1 or a.status=0 or a.status=-2) This query generates the following error in the query parser of Toplink. I Use

  • Sample java studio creator application for displaying in three languages

    please send me a sample web application in java studio creator which should consists of hyperlinks to display web application in three languages french german and engish when i click on the hyperlink

  • Motion Blur

    I have created a dvd (to be played on a TV) as I was viewing it a few of the clips had motion blur. What cause this? How do I fix this problem? Does it stem all the way back to how I imported it into Final cut express or exported it?