ERROR MESSAGE BEFORE FOOTER

Hi
Our database trigger raises an error (RAISE_APPLICATION_ERROR(-20111,'My message').
The application of HTML DB generates a page with error messages on it. OK.
The first message is displayed as it is defined in the template ("Error Page Template Control"). No problems.
But the second message is displayed before the footer. How can I control this second message ? We do not want to show this message !
Thank You
Andres

hi Andres
I want to implement the same solution, but I have some problems.
1. I have create the database trigger. Ok
2. Apex messages does not change. It show me the same error message
I tested on sqlplus and I can see my messages as follow:
SQL> insert into user_roles values (6,'TEST_USER','LE');
insert into user_roles values (6,'TEST_USER','LE')
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-20111: My message
ORA-06512: at line 11
ORA-00001: unique constraint (T$UK) violated
3. I think Apex is taking the last messages in this case ORA-00001:
4. In your post you say
The application of HTML DB generates a page with error messages on it. OK.
The first message is displayed as it is defined in the template ("Error Page Template Control"). No problems.
Could you pls tell me how you solved? How define the message in the Error template?
or Maybe my Trigger is wrong.
Just in case My trigger:
CREATE OR REPLACE TRIGGER tr_errors
AFTER SERVERERROR
ON DATABASE
DECLARE
my_exception EXCEPTION;
BEGIN
IF (ORA_IS_SERVERERROR(0001)) THEN
RAISE my_exception;
END IF;
exception
when my_exception then
RAISE_APPLICATION_ERROR(-20111,'My message');
END ;
Thanks
Marcelo

Similar Messages

  • Getting Accessiblity Error Message before Recording Software Simulation...

    In Captivate 7, I go to start a brand new software simulation (chrome screen) in OSX and I get the following error message:
    Before recording application applications, select 'Enable Access for Assistive devices' in 'System Preferences' > 'Accessibility'.
    The pics below show the red screen capture box and the error I get when I try to capture when trying to capture the screen. Also included is a pic showing accessibility is enabled.
    I have no idea where this is coming from.

    ...and here's the answer:
    http://captivatecrazy.blogspot.com/2014/01/record-new-software-simulation-in-adobe.html

  • Read error messages before save

    Hello,
    Do you know any way to read the error messages before saving a document?
    I want to read them in the method EH_ONSAVE of BT120H_CPL/OVViewSet view.
    Any idea?
    Best Regards
    JM

    This is a known bug that will be fixed in beta 7. You should only get that error message the first time after updating Firefox. If you are getting it all the time, are you switching between different versions of Firefox?
    Do you still have an earlier version of Firefox installed, and if you do does it use the same [[profiles|profile]] as the beta version. If you do that can cause problems since Firefox 4 handles extensions in a different way than earlier versions of Firefox. If you do have 2 versions of Firefox installed, you need to use 2 different profiles.

  • Error message before all values are entered in Step and Repeat box

    The Step and Repeat function seems to have a problem that it didn't have before.
    (1st field REPEAT COUNT, 2nd field HORIZONTAL OFFSET, 3rd field VERTICAL OFFSET). It is not permitted to duplicate beyond the limits of the document or pasteboard, I understand that. But, if a large value is already entered, let's say 3' in the 3rd field and you enter 12 in the first, you will get an error message BEFORE YOU EVEN HAVE TIME TO COMPLETE ALL THE FIELDS AND THEN SAY OK. The reason I bring this up is that it was not this way before Leopard (or before CS3) and I suspect that it is either the Mac OS or CS3 that is causing problems. I should be able to enter all the values in the 3 fields (whatever was previously entered the last time), say OK then get a message if the values go overboard. Not before I even finish entering them!
    Is this a known issue, or is it just me?
    Thanks

    It's a known issue with CS3 - I believe it existed in Tiger too.

  • Error Message: "Before you can perform print-related tasks such as page setup or printing a document

    Hi,
    I got the next error message for a pdf document: “Before you can perform print-related tasks such as page setup or printing a document, you need to install a printer"
    Info:
    - version: 10.1.3
    - Default printer: Epson SX110 Series
    - Document: Security properties: Printing allowed - all other security properties: not allowed
    - Same document without security, does print without any problems.
    thanks for quick solution

    Hi,
    My printer is correctly installed. I can print other pdf documents without any problem (even the same document if the security settings are not set).
    best regards
    Alec

  • Anyone seen these error messages before ?

    Our xsan setup has been a bit flaky lately, and it sometimes hangs for a couple for a couple of seconds before it continues to work. I get these error messages on the mdc.
    xsanserver servermgrd: xsan: ERROR
    Could not connect to FSM because Admin Tap Connection to FSM failed. -Operation timed out
    and
    xsanserver kernel (0): FustionMPT: Notification = 9 (Logout) for SCSI Domain =0
    Any idea on what can be wrong ?
    Anders (1 mdc, 1ldapserver, 3 xraids, 12 clients, xsan 1.4)

    Hi
    Do you think that you could post an answer to your original question so that others searching the boards will benefit?
    Thanks
    Mike

  • Itunes has error message before installation is finished

    Hi there,
    I tried updating my system to the current version of itunes (vers 10) so i can update my iphone 4. The itunes site directed me to remove previous versions of itunes, which i did, but on loading and installation the following error comes up:
    Microsoft.VC80.CRT.type="win32".version="8.0.50727.4053".publicKeyToken="1fe8b3b 9a1e18e3b".processorArchitecture="amd64". HRESULT: 0x80070308
    I have no idea what is going on. Any assistance would be greatly appreciated.
    thank you

    The first thing you need to check is QUicktime, iTunes can't work without it.
    What happens if you try to start QUicktime, does it work normally? If not, describe what happens and give any error message in full.
    If Quicktime works normally, then this Apple article is a good starting point for troubleshooting iTunes:
    http://docs.info.apple.com/article.html?artnum=302856

  • Has anyone seen this error message before?

    Hi
    We have a server running Windows 2008 R2 which we have built as a demo environment for P6 R8.3 EPPM. It was upgraded to R8.3 SP1 late last year, and has just been sitting idling in between being used for product demonstrations.
    Recently I decided to let Windows Update apply a bunch of patches to the OS and the SQL Server instance running on the box - today when a colleague and I logged in to EPPM we kept getting a popup window every 10 seconds or so in front of the main portlet windows, headed "message from webpage", with the message
    Logged messages:
    message='unable to initialize AdfAgent' level=SEVERE error=message;'AdfIE8Agent' is undefined description:'AdfIE8Agent' is undefined number:-2146823279 name:TypeError at hh:mm:ss
    This happens if we access the application using IE; it does not happen if we use Chrome - can anyone offer any suggestions what might be causing it? There is nothing related to AdfAgent or AdfIE8Agent in the Oracle KB at the moment

    Sachin
    On the server where P6 + WebLogic are installed, it's IE 11
    On my client PC, it's IE 11 as well
    I am pretty sure that that the problem has only started since IE11 appeared, but that may be wishful thinking. I have tried clearing everything from the browser cache, with no difference in behaviour. I have also tried setting the emulation mode to IE8 but that didn't seem to make a difference either.
    I have restarted the P6 web app several times, and cannot see any errors in the WebAccessLog.html except for a occasional minor one related to Struts - certainly nothing that seems related to ADF directly.
    Whatever the issue is, Chrome is not affected, and I have now installed it on the server as well where it is working fine.

  • Where to control and give error message before saving trade promotion?

    Hi Gurus,
    our CRM system is upgraded from 5.0 to 7.0 and we have some problems. One of them is, in 5.0 version, we check some conditions and display error message in the AUTHORITY_CHECK method of CRM_MKTPL. So the check is made and message displayed if errors found while entering the trade promortion, at the beginning. And it does not allow any save action too. After upgrade I write this code to CHECK_AUTHORITY method of  CRM_MKTPL_OL_OBJ. Now it is not make a control while a trade promotion is entered, so it doesn't stop saving trade promotion although there are errors. I can stop saving maybe in the method of CHECK_BEFORE_SAVE? But how can I display own check messages at the beginning of trade promotion? Please give idea.

    Astron,
    There are multiple BADIS for the Trade Promotions.
    Use CRM_MKTPL_OL_OBJ for Header Valiadtions and CRM_MKTPL_OL_ASG for the Item (assignment block validations).
    You need to use CHECK_ATTRIBUTES method of these BADIs to raise any errors.
    Just append you message to ET_MESSAGE_LOG and set EV_HAS_ERRORS to 'X'.
    If you need an error message on SAVE, use CHECK_BEFORE_SAVE method of the CRM_MKTPL_OL_OBJ BADI and append the messages and Mark REJECT_SAVE to 'X'.
    Further there are many methods that trigger on different events like Status change etc.,
    Regards,
    Masood Imrani S.

  • Error message: Before proceeding you must first launch Adobe Acrobat.....

    When I try to open a PDF on a Web page I get the following message:
    "Before proceeding you must fist launch Adobe Acrobat and accept the End User License Agreement"
    I Installed the Adobe Acrobat XI pro an my MAC and after registration, the programm runns perfect. How can I solve the above mentioned problem?

    Open it again and see if you get a request to accept the EULA. If not, then go to the help menu and run repair, followed by updates.

  • I get this error message before it launches

    There are visible errors in the code but when I run the project I get this error.
    Erros in Project
    Errors exist in required project: tickets.
    Continue launch?
    I then ran Debug and found this
    <terminated>Ticket_sales[Java Application]
    <terminated, exit value:0>C:\Program FIles\EasyEclipse Desktop Java 1.2.1\tre\bin\javaw.exe(Apr 19, 2007 8:40:47am)
    What does that mean and how do I fix it.
    Thanks
    sandyr

    I'm pretty sure you're using Eclipse (since that's
    the Eclipse's error message).
    That means there are syntax errors in one of the Java
    file (under the "tickets" project).
    So, open up the tickets project, and at least one
    Java file should have a red mark on it.
    Fix it.
    (Don't bother trying to click Run->Run, or
    Run->Debug.... since your files don't even compile!!!)might not be a code error. a missing dependency would give that message, too

  • Cannot import .mts files from SD card. Never received an error message before, but now it is telling me that DVD content is protected, which it is not.

    I always import video files, every week, from an SD card (.mts file) no problem. All of a sudden today I'm getting an error message about the content (says "DVD" contact) is likely protected, which it is not.

    What happens if, instead of using your operating system to move the files from the card, you leave your card in the camcorder, attach the camcorder to your computer via USB, then use Add Media/From Flip or Camera to open the Video Importer to get the video from the camcorder to your computer (as teh computer's instructions suggest)?

  • "error" message before updating

    My software updater wants me to install a flash player and adobe x update for 11.8.800.94 but I get an "error" message in red. my present version is 11.7. What should I do?

    Download the Adobe Flash Player installer directly by clicking one of the following links.
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)
    No download manager, no problems.

  • S3 error message before every text.

    I have a galaxy s3 and after the kitkat update I get a error message whenever I get a text. Can anyone tell me why?

        Hi bhpayton!
    I'd love to be the one to fix this for you! Let's see what's going on OK? What error message appears when you get a text? Are you able to view the received message (and who it's from, etc.)? Are you having any issues in sending messages? Please provide some additional information for me, thanks!
    ChristinaB_VZW
    VZW Support
    Follow us on Twitter @VZWSupport

  • Error Message before starting Lightroom 6

    Hello, i hope someone could help me, after i downloaded and installed Lightroom 6 on my Win7/64 pc, there is a error message which tells me that i have to install the Adobe Application Manager. I can download the Application Manager but the installation fails whith a error message that something went wrong and i have to download the adobe advisor tool. But i can't download that one. Could someone tell me how to solve this problem?
    Regards
    Marcus

    Marcus what operating system are you using?  What specific error messages are you receiving?  Finally what Adobe Creative software, and versions, do you currently have installed on the computer?

Maybe you are looking for

  • Please help... External Hard Drive not mounting

    Hello, Please help me if you can: I have all of my data backed up onto a Seagate External Hard Drive, purchased just a few months ago. I just got a new laptop (MacBook Air) and need to get my data off of my hard drive, but it isn't showing up on my D

  • Clearing of previous transactions at T-code entry field

    Hi All,    How to clearing of previous transactions at T-code entry field(Commond field) in Easy Access plese guide me path.. Regards Hari Message was edited by:         Hari Raj

  • WLC 5508 multiple country codes, limitations

    Hi CSC, Currently we are running 2x 5508 (7.2.111.3) in our Regional DC and all AP's from APAC are connected in H-REAP mode. On each WLC the following country codes are configured: Configured Country Code(s): CN, ID, IN, J2, J3, J4, JP, KE, KR, PH, P

  • Who is calling my 6230i?

    I have just upgraded to a 6230i and there is no identification on incoming calls nor on missed calls. My son who is far more phone literate is having the same problem on his upgrade. Please help

  • BAPI OR FM for storage location?

    Friends, Is there a BAPI that provides the breakdown of detail for each storage location for availability or any logic from MARD? Please your help is greatly appreciated Thanks