Problem with APEX 4.1, DBLink and NLS_LANG

Hello

I get an error message:

"ORA-12705: unknown or invalid NLS parameter value specified.

When access to the content stored in another database of APEX via a DBLink

I use Application Express 4.1 on the Oracle 11 g XE database

I have an application that uses the dblink to access data on an Oracle 9i server.

NLS_LANG in database 11g: SPANISH_SPAIN. AL32UTF8
NLS_LANG in the 9i database: SPANISH_SPAIN. WE8ISO8859P1

I changed the NLS_LANG 11 g to SPANISH_SPAIN value. WE8ISO8859P1 but nothing happens.

What can I do?

Thank you!

Hello

Oracle 9i supports all Format of Date masks supported a 10g database. If you use a database connection, the database tries to set the same NLS settings on the remote database as defined in the current database session.

When you get the error? Do you get in report designer or in your own application? If it's in your own application, check the masks of date format of "globalization application-level attributes."

You must also ensure you actually close the database link in the ' Code from PL/SQL to cleaning "security-Session of database to avoid problems of links of open database in your database session pool. Because otherwise, database sessions that do not need the link database are also affected by this problem, as the generator,...

Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Tags: Database

Similar Questions

  • Problem with apex.navigation.popup.url and the symbol + (more)

    Hello
    I use Apex 4.2.6.00.03 in an Oracle DataBase 11g.

    I want to show in a popup over information about a line in a report, to do this, I use apex.navigation.popup.url JavaScript function to open an apex page and set a variable in this page with the ROWID of the register, the url is

    JavaScript:apex.navigation.Popup.URL ('f? p = & APP_ID.:59: & SESSION.: P59_ROWID: #ROWID #');

    It works fine, but when the ROWID contains a symbol '+', it is replaced with a space when the value is set to the article and the code that uses this value returns an error.

    Oracle Docs the ROWID can have letters, numbers and symbols '+' and ' / ', I tested it with "/" and it works fine.

    I could use the replace to replace the space with a '+', but I want to know if this can be corrected in the URL, and what other symbols he affects.

    Thank you

    Diego (SniperCat) wrote:

    I use Apex 4.2.6.00.03 in an Oracle DataBase 11g.

    I want to show in a popup over information about a line in a report, to do this, I use apex.navigation.popup.url JavaScript function to open an apex page and set a variable in this page with the ROWID of the register, the url is

    JavaScript:apex.navigation.Popup.URL ('f? p = & APP_ID.: 59: & session.: P59_ROWID: #ROWID #');

    It works fine, but when the ROWID contains a symbol '+', it is replaced with a space when the value is set to the article and the code that uses this value returns an error.

    Oracle Docs the ROWID can have letters, numbers and symbols '+' and ' / ', I tested it with "/" and it works fine.

    I could use the replace to replace the space with a '+', but I want to know if this can be corrected in the URL, and what other symbols he affects.

    That's why I only spend the alphanumeric key values as URL parameters. It could affect all the reserved characters in the URL.

    Add a hidden column of ROWID_URL to the report query, that JavaScript and URL does not escape the ROWID value:

    select
       ...
     , apex_escape.js_literal(apex_util.url_encode(rowid), null) rowid_url
     , ...
    from
       ...
    

    and use this column in the column link URL:

    javascript:apex.navigation.popup.url('f?p=&APP_ID.:59:&SESSION.::::P59_ROWID:#ROWID_URL#');
    
  • Are there problems with OS 10.11.4 and opening?

    Are there problems with OS 10.11.4 and opening?

    Upside down images in the mode list. There is no hope of any problem opening fixing. There will be no further development.

  • Problems with different e-mail addresses and the different Apple ID

    Hi, I have some problems with the different Apple ID and e-mail addresses connected to them, and I hope someone can help me in what to do.

    First a primer on my Apple ID

    ***@me.com - it's my account General iCloud (backup, iMessage, Facetime etc.).

    ***@losmail.no - my iTunes/App account (purchase and download music, app, etc..)

    ***@me.com: I have no problem connecting to this account (appleid.apple.com, iCloud.com etc etc..)

    ***@losmail.no: I have no problem connecting to this account in iTunes/App Store. However, I can not connect on appleid.apple.com with this account because he asked me to check the email address. However, this e-mail address use a messaging service that doesn't work anymore, so I can't check it out. Because it is a private messaging service, I want to change the Apple ID on my account @gmail.com.

    I believe, however, that the account @gmail.com has been connected to the account @losmail.no because I received my shopping etc. of my account @losmail.no sent to ***@gmail.com. These recipes also "Apple ID: * @gmail.com. When I connect to the account, however, use ***@losmail.no. However, an I said, I want to log on by using ***@gmail.com.

    What is strange is that in iTunes / App Store, I can connect with ***@gmail.com. However, this is not the same account as ***@losmail.noand previous purchases / comments etc. are not available. It's strange because said revenues (Ref. above).

    An other ting that indicates that the Apple ID where I use ***@losmail.no once was connected to ***@gmail.com, is what happens when I try to log in to ***@gmail.com to appleid.apple.com. Then, I get a message saying that the e-mail address must be verified. I can write the code sent to the ***@gmaiI.com, but it is said then that this e-mail address is already is used by another Apple ID, so it cannot be verified.

    So I guess my question is, basically, how I can change the ID of the ***@losmail.no to ***@gmail.com Apple when I can't access the account losmail, but the appleid.apple.com tells me that I need to check this email address.

    Best regards

    Philippe

    Hi phillla,

    Thanks for all the details with your accounts.

    Can be difficult to have more than one Apple with several e-mails all mixed together.  If an email is used with another Apple ID, for example, that e-mail can be used to create a new Apple ID or rename an old.

    The analysis of what you seem to have however...

    Your purchases are with your *@losmail.no Apple ID, but the emails for this go to your *@gmail.com email address.

    *@gmail.com is the primary e-mail address for your Apple ID *@losmail.no.

    You can connect to iTunes or manage your page ID with *@gmail.com Apple says it's an Apple ID on its own.  As an email address can only be verified for an Apple ID, which means that he must check with your *@losmail.no Apple ID and cannot be verified with *@gmail.com.

    You say you can not connect on appleid.apple.com with *@losmail.no you will need to check the email address.  You have a relief attached to this ID e-mail? This is the email that would be used to recover.   You receive your check or reset email - Apple Support

    Bottom line, you want to change your primary Apple ID but outdated to *@losmail.no to *@gmail.com, you must first rename *@gmail.com to something else and delete this email of all codes from Apple as well.  Then follow the link above to get access to *@losmail.no and control so that you can rename it.

    Best regards.

  • Problems with Windows 10 screen standby and sleep mode

    After downloading 10 Windows on my desktop all-in-one HP, I have problems with the display of standby and sleep mode.  When the computer turns off, he doesn't have the bright screen.

    After the upgrade to Windows 10, some laptops have experienced one or more of the following symptoms:

    • > Power LED remains lit after stopping
    • > Computer enters standby or hibernation.

    HP recommends that customers see these symptoms first update the graphics drivers by removing and then reinstalling the hardware in Device Manager.

    See the section updating the graphics driver from where can I find drivers Windows 10 and software for my model?

  • Error - there is a problem with the external Setup program and it must be closed when you try to install windows updates

    Original title: How can I fix external MSI?

    When I try to download the updates, the error message says there is a problem with the external Setup program and it must be closed.  Updates will not be installed.  Anyone know how to solve this problem...?

    Hi John,.

    ·         You are able to install other applications on the computer?

    It seems to be a problem with the corruption of the .net framework. I suggest trying to repair the .net framework on the computer and see if you can install the updates.

    http://support.Microsoft.com/kb/923100

    Hope the helps of information.

  • I'm having a problem with my Windows Media Player and its automatic scoring system.

    I'm having a problem with my Windows media player and its rating system. Usually in Windows Media Player the blue side star system only rate once internet-based critical car. Then after playing constant song change the blue stars. However, on my Windows Media Player ratings only to have automatically scored only once and every time I play the song the side remains the same.

    Whenever I play a song in Windows Media Player 11 it rates the song but when I play the song again the rating remains the same. It auto-taux only the song once. How can I fix it?

    chk this link

    How are ratings used in Windows Media Player?

    http://Windows.Microsoft.com/en-us/Windows-Vista/how-are-ratings-used-in-Windows-Media-Player

  • Downloaded and paid of Minecraft and having problems with Java, Anti Virus Scan and Windows Update - error code 800F081F

    Downloaded and paid of Minecraft and having problems with Java, Anti Virus Scan and Windows Update - error code 800F081F

    Would you advice, thank you.

    Hi Hugo,.

    1. what anti-virus software you have installed in the computer?

    2. What is the full error message/code?

    3. the issue occurred after you install Minecraft?

    4. are you able to play Minecraft without any problem?

    5. what happens with Antivirus and Java?

    Windows Update can occur if one or more of the following conditions are met:

    1. the Windows Update database is damaged.

    2. antivirus software is configured to scan the %Windir%\SoftwareDistribution folder.

    3. the service (BITS) Background Intelligent Transfer Service does not receive a content link header.

    4. a required system file is incorrectly registered.

    5. Windows Installer has encountered an error.

    6. the manifesto of component maintenance (EC) is damaged.

    7. the Windows Update service has stopped during the installation.

    8. a version of the file conflict exists with Windows Update agent files.

    Please follow the steps described in the methods to solve the problem:

    Method 1: We will try the steps from the following link and check the result:

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article:http://windows.microsoft.com/en-US/windows7/Back-up-the-registry

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058?WA=wsignin1.0

    Method 2:

    To correct the errors that occur when you use Windows Update, install, and run the system update readiness tool. The tool analyzes inconsistencies on your computer and fixes as its current installation.

    You can view the following link to download the system update readiness tool and check:

    System tool update that corrects problems of Windows Update is available for Windows 8, Windows 7, Windows Vista, Windows Server 2008 R2 and Windows Server 2008

    http://support.Microsoft.com/kb/947821

    Details of the event log to find what caused the Antivirus and Java to fail:

    What are the information contained in the logs of the event (Event Viewer)?

    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer

    Hope that the information provided is useful.

    For any help related to this problem or any question of Windows, you can still display in the Microsoft Community Forum!

  • Problems with UAC, Sims 3 downloader and original windows

    Problems with UAC, Sims 3 downloader and original windows

    I have windows Vista and have been using it for a while to play the sims 3 and download games via original EA downloader/store.  I had run a windows update and an original updated in the last days and therefore my sims 3 expansion packs ceased to operate.  I uninstalled all and have reinstalled the original game of the downloader of origin and now when I try to download my expansion packs I get an error message saying that windows has prevented the application creates a download directory, please accept the UAC prompt to start to download this game.  I approved the promt and they have same message came still high and so I disabled UAC altogether and still got the same error message, I looked on the EA forums and the only line I can find of them our it may be a windows problem (which I doubt)?  Can you help me?

    Hello

    Method 1:
    Right click on all of the files and select run as administrator and try to install it.

    Method 2:

    You can try creating a new user account.
    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

    Note: select the Administration option while creating a user account

    Method 3:

    You try to run the system restore at the same time that it worked very well.
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-system-restore

    I hope this helps. Get back to us with results

  • Install KB3024777 to fix a problem with KB3004394 on Windows 7 and Windows Server 2008 R2 now not authentic

    Separated from this thread.

    Joachim

    When first pose the problem? Was it before or after the December updates?

    KB3004394 and KB3024777 appear in view update history? Or do they appear in installed updates?

    Gerry, thanks for your post. I have the same problem as Joachim started this thread. I am running Windows 7 sp1. I have a Dell computer and it's certainly a legitimate copy of Windows (confirmed computer 'properties' and it is enabled).

    By your post, I saw just to update and the KB3004394 (installed on 12/10/2014) and KB3024777 (installed on 12/12/2014) show as comfortable. I usually leave the Windows download updates automatically and I install them to stop. I watched the second update and according to Microsoft.com:

    Install KB3024777 to fix a problem with KB3004394 on Windows 7 and Windows Server 2008 R2

    The KB 3004394 update which was dated December 10, 2014 can cause additional problems on computers that run Windows 7 Service Pack 1 (SP1) and Windows Server 2008 R2 SP1. This includes the inability to install future updates. This new update is available to remove KB 3004394 from your computer.

    My problem is, as of today 14/12/2014, I still get the pop up "this computer is running not windows genuine', even with KB3024777 installed.

    Any thoughts?

    Thank you

    Bob C

    Right-click on CMD

    Click on run as administrator

    At the command prompt, type the following commands:

    slmgr.vbs - ipk xxxx-xxxx-xxxx-xxxx (to replace the specified in the current product key)

    xxxx-xxxx-xxxx-xxxx - represents your product key

    Press enter on your keyboard

    Then type: slmgr.vbs - ato (this will force the activation)

    Leave the command prompt

    Restart your computer

  • I have a problem with the Narrator, repeating words and phrases.

    original title: NARRATOR in WIN7 SUPPORT

    I use windows7.  The annoying Narrator sometimes voices repeat words and phrases.  I also need help, change of voice and using Narrator to read aloud my text book I downloaded.  It is in PDF format.

    Original title: Narrator sometimes repeat words and phrases

    Hello

    Thanks for posting your query in the Microsoft Community.

    You have a problem with the Narrator, repeat words and phrases. It can be difficult when something that is important to you does not work as expected. It's pretty simple and we're here to help you solve the problem. We work as a team and get this sorted out.

    Please answer these questions-

    (1) exactly where you run the Narrator?

    (2) the Narrator extends from a particular document?

    (3) have you made changes on the computer before the show?

    I would like more information about the issue.

    Method-

    I wish that return you the items for assistance-

    Narrator doesn't read what I expect him

    http://Windows.Microsoft.com/en-us/Windows7/Narrator-doesn

    Hear text read aloud with Narrator

    http://Windows.Microsoft.com/en-us/Windows7/hear-text-read-aloud-with-Narrator

    Let us know if you need assistance regarding the issue. We will be happy to help you. We at Microsoft, strive for excellence and provide our customers with the best support.

    Thank you.

  • Problem with update of Photoshop, Illustrator and Indesign CS6

    Hi all. I have problem with update of Photoshop, Illustrator and Indesign on OSx 10.8.4 CS6. Application are OK but update (bug fixies) does not work. Update failed. (U44M1P7)Screen Shot 2013-07-30 at 16.11.09.png

    Hi El Gondo,

    The following could explain and help solve the problem...

    U44M1P7 - updates:

    http://helpx.Adobe.com/Creative-Suite/KB/error-u44m1p7-installing-upda tes-HYPERLINK

    U44M1P7, U44M2P7 - CC help / cannot apply the extensions 6.0.2 update manager | Mac OS:

    http://helpx.Adobe.com/Creative-Suite/KB/unable-apply-extension-manage r - update.html

    Thank you!

    Ankit

  • Problem with using of the audit and the APEX triggers

    Hello community,

    I have a little problem with the help of a trigger to audit. I can't operate the trigger takes the reality of the user to record in the audit table:

    DDL in the table:
    create table BOOKS
    (
      B_ID           NUMBER not null,
      B_NAME         VARCHAR2(100),
      B_DESCRIPTION  VARCHAR2(500)
    );
    DDL audit table:
    create table AUDIT_BOOKS
    (
      B_ID           NUMBER not null,
      B_NAME         VARCHAR2(100),
      B_DESCRIPTION  VARCHAR2(500),
      AUDIT_USER VARCHAR2(50),
      AUDIT_DATE   DATE,
      AUDIT_ACTION   VARCHAR2(6)
    );
    ddl trigger:
    CREATE OR REPLACE TRIGGER trg_audit_books
      AFTER DELETE OR UPDATE ON books
      FOR EACH ROW
    DECLARE
      v_trg_action VARCHAR2(6);
    BEGIN
      IF updating
      THEN
        v_trg_action := 'UPDATE';
      ELSIF deleting
      THEN
        v_trg_action := 'DELETE';
      ELSE
        v_trg_action := NULL;
      END IF;
      INSERT INTO audit_books
        ( B_ID,  B_NAME,  B_DESCRIPTION,
          AUDIT_USER,  AUDIT_DATE,  AUDIT_ACTION)
      VALUES
        (:OLD.B_ID, :OLD.B_NAME, :OLD.B_DESCRIPTION,
          UPPER(USER), SYSDATE, v_trg_aktion);
    END trg_audit_books;
    Column AUDIT_USER always gets "APEX_PUBLIC_USER" as a value of insertion. How can I change to the user real "& APP_USER."?
    I tried under Home > Application Builder > application 100 > shared components > change attributes for security > authentication > Public user
    And added & APP_USER. and: P101_USERNAME both have not changed anything.

    Is there a way to get to work with & APP_USER. instead of APEX_PUBLIC_USER?

    I use the standard authentication scheme 'Application Express'. I use ldap via a process to the login page.

    Kind regards

    Tobias

    Hello Tobias,.

    In the trigger instead of the USER code, use v('APP_USER') to catch the real user of APEX.

    Greetings,
    Roel

    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.Logica.com/

    You can assign this answer to your question in marking it as useful or Correct ;-)

  • upgrade to 12 c causing problems with APEX 4.2.5

    Hey everyone, our dba updated our database this past weekend at 12 c.  Today, we have problems with one of our more complex pages.  Here's our software configuration where after upgrade:

    APEX: Application Express 4.2.5.00.08

    Database: Oracle Database Enterprise Edition Release 12.1.0.2.0 - 64 bit Production 12 c

    The page in question has dynamic actions which fire when a user clicks a button.  The action has 3 processes related to it.  The first is javascript that runs that changes some css classes.  That seems to work.  The second is supposed to be executing pl/sql code (with a dynamic process page element).  This does not appear be to fire.  I watched with firebug and chrome dev tools, but it seems that no ajax call is sent when I click on the button.

    The page seems to generate exceptions in the scenes.  I see the following in newspapers several times on the page.

    ORA-20987: APEX - ORA-00001: unique constraint (APEX_040200.WWV_FLOW_COLLECTIONS_UK) violated

    Unfortunately, I can't determine if what is happening on the loading of the page or under dynamic actions.  Apparently not loading the linked page cause I can't recreate it all by refreshing the page.  But I don't see how it could be created by the dynamic action since they don't seem to be calling the server either.  (no ajax call I see)

    Does anyone know of none known between 4.2.5 and 12 c?  Everything worked well Fri/Sat, so the upgrade must be the cause.

    Thank you!

    It looks like given the scope of the implemented dynamic actions in dynamic instead of static electricity was the problem.  Their transition to static seems to have fixed everything.  Not sure if it "just worked" under the previous version and 12 c was somehow more special or if the parameter got reversed somehow in the process, but it was certainly before.

    Well.  I'll consider it fixed!

  • Get an unexpexted with APEX 5.0.1 and EPG message

    Hello

    I tested the version of APEX 5.0.1 on a RDBMS Oracle 12 c, using the EPG.

    I'm following the instructions in:

    https://docs.Oracle.com/CD/E59726_01/install.50/e39144/TOC.htm

    I have prfoemed tasks:

    5.4 the download and installation of Oracle Application Express

    5.5 the embedded PL/SQL gateway configuration

    5.6 allowing network in the Oracle 11 g database Services or a later version

    I use the embeded HTTP port 8080.

    When I try to get the APEX page like:

    http:// < ip of database server >: 8080/apex

    I get the following message appears on the page:

    There is a problem with your environment because Application Express not having files not loaded.

    Please check that you copied the images directory on your application server by following the instructions in the Setup Guide.

    Also, please check that your image prefix path is correct.

    Is your current path (it must contain both starting and ending oblique lines, such as the default/i /).

    Use the SQL script reset_image_prefix.sql if you need to change.

    He seensd is missing the 'upgrade' to the image of the "original" version of the SUMMIT.

    Someone met with such a message?

    Does anyone has an idea how to fix?

    Thank you in advance.

    Kind regards

    Hi Patrick,

    did you also operation 5.5.2 update Images directory when upgrading from a previous version?

    https://docs.Oracle.com/CD/E59726_01/install.50/e39144/EPG.htm#HTMIG29459

    Concerning

    Patrick

Maybe you are looking for

  • which is routine for nano?

    What is the iPod nano reset routine? Mine is frozen.

  • USB 6008 pull down resistance

    Hello I have a USB-6008 read a signal to 5V on one of DIO ports. The 5V is or the circuit is open. Since the 6008 traction has internal open ups resembles a true TTL signal. I think using a 850 Ohm pull down on the output line.  I think that should l

  • HP Photosmart B109A

    Hi, I just bought HP Photosmart B109a, but discovered that there is french and Portuguese languages installed. So I need a firmware with the English language. Thanks for the support

  • uninstall the magicjack

    Please tell me how to get magicjack turned off my computer.

  • Several networks presents in wireless network connection

    Original title: why is network-0033, livedoor-web, mobilepoint were added to my network in my wireless network connection without that I know? Can I delete it? Why is network-0033, livedoor-web, mobilepoint were added to my network in my wireless net