ORA error messages do not display using the default Oracle login screen

Our application uses the screen default Oracle connection, but for some reason, the error ora-xxxxx message do not arouse. For example, when a user enters a username/password invalid name, I would expect the error ora-01017 to display. Instead, the logon screen is re-posted without indicating what the user did wrong.

We use Oracle 10.2.0.3, 10gAs 10.1.2.0.2.

Thank you for your help.

You have a trigger ON-ERROR custom or inherited? If so, the trigger can be trap the error.

Try the code below in your logon trigger IT.

DECLARE

  UN VARCHAR2(80) := 'SCOTT';
  PW VARCHAR2(80) := 'TIGER';
  DB VARCHAR2(80) := 'ORCL';

BEGIN

  LOGON(UN, PW||'@'||DB, FALSE);

  IF NOT FORM_SUCCESS THEN

    MESSAGE(DBMS_ERROR_TEXT);
    MESSAGE(' ', NO_ACKNOWLEDGE);

  END IF;

EXCEPTION

  WHEN OTHERS THEN

  MESSAGE(DBMS_ERROR_TEXT);
  MESSAGE(' ', NO_ACKNOWLEDGE);

  RAISE FORM_TRIGGER_FAILURE;

END;

Change the user name, password with your credentials and test information.
This will return the error ORA-01017 when name of user and password is incorrect.

Tony

Tags: Oracle Development

Similar Questions

  • recovery disk will not load error message pc not supported by the system recovery disk.

    had a virus that has taken possession of my PC and wanted the money order to the for free, so I install the recovery disk and chosen in advance and restored the pc at the time, he removed the hold and the system worked very well for a few days. then the system kept to self-extinguish. tried loanding the recovery disc and gave me the message pc not supported by the recovery disc, and now when start received bios award phoenix instead of the hp logo.

    attempted to run antivirus software but before he could finish short scan the pc shuts off I tried in safe mode and the same situation. I downloaded several antivirus programs, but it would still be closed the pc. I tried to install the recovery disk, and it gave me an error message pc not supported by the system recovery disk. now when I start up instead of the blue screen with HP logo, I get a bios award phoenix and other information that I can't copy down it goes too fast. Since I couldn't get rid of the virus, he took to a pc using store, they have removed the virus and loading of operating system vista, problem is I had the word and excel. Now, I can not get my desktop to factory oem computer. I really need my word that I have all my passwords for the accounts listed, I saved them to analyze the drive, but now I have not any other readers like drive j. Any suggestion on how to solve the problem, so I can load the recovery disc.

    Thank you very much

    Frenchquarter, welcome to the forum.

    I suggest that you download and install OpenOffice.  It is FREE and is open to all documents created in MS Office.  If it doesn't, at least it costs you nothing to try.

    I used OpenOffice for years.  Believe me when I say that he will do everything that will make MS Office and in some cases, the better.  At least, you will have to use in the future and you'll be amazed to see how they can do it for FREE.

    Please click on "BRAVO", if I helped you and click on "Accept as Solution" If your problem is resolved.

  • validation error message is not displayed for an attribute as a list of value of the entry

    Hello world

    I use jdev 11.1.1.7.0

    In my application, I created an entity Obj and Obj employees base table.

    for the attribute JobId , I took the actions listed below:

    1. in the EO staff, I created a validation for this attribute and in some cases the error message returns (the error message is "the salary is not high"):

        /**
         * Validation method for JobId.
         */
        public boolean validateJobId(String jobid) {
    
    
            if (...) {
                return false;
            }
    
    
            if (...) {
                return false;
            }
    
    
            if (...) {
                return false;
            }
    
    
         
            return true;
        }
    

    2. employees Vo, I created a LOV for this attribute (the view accessor is JobsViewObj) and I display the attribute entry of text with a list of values.

    in the jspx page, I drag / drop this attribute as below:

              <af:inputListOfValues id="jobIdId"
                                    popupTitle="Search and Select: #{bindings.JobId.hints.label}"
                                    value="#{bindings.JobId.inputValue}"
                                    label="#{bindings.JobId.hints.label}"
                                    model="#{bindings.JobId.listOfValuesModel}"
                                    required="#{bindings.JobId.hints.mandatory}"
                                    columns="#{bindings.JobId.hints.displayWidth}"
                                    shortDesc="#{bindings.JobId.hints.tooltip}"
                                    autoSubmit="true">
                <f:validator binding="#{bindings.JobId.validator}"/>
              </af:inputListOfValues>
    

    I opened the popup and I select a line in the list and then I click Ok. After that, if the validation method (validateJobId) returns false, the error message ("the salary is not high") must be show to the user. but the error message does not appear. I don't understand why this is happening.

    Can anyone guide me on this problem?

    Concerning

    Habib

    Hello Dario,

    I just found this post: http://andrejusb.blogspot.nl/2013/12/workaround-for-infamous-bug-13626875.html that apply ExceptionMode = immediate adjustment to control the use of data in DataBindings.cpx, then the error message is displayed as I hope.

    Concerning

    Habib

  • Accounting software Microsoft Error Message: can not connect because the version of the application is older than the data base of the company

    Original title:

    Error message

    I use windows 7 laptop I format. After installation of Microsoft, accounting software and I wanted to backup restored it gives me error massage "can not connect because the version of the application is older than the data base of the company.» Up grade the application. " Eventhough I used the software even before I format the computer laptop and does ' t give me the options to upgrade. Need help.

    This means MS accounting requires the latest updates that have been installed originally creating this accounting database

    Accounting MS was abandoned a few years previously, so updates are not driven by windows/office update

  • Update iOS 9.3 returns an error message saying "not connected to the Internet.

    WWhen I try to install iOS 9.3 update on my iPad 1, I get an error saying that the softaare cannot be installed b/c ive Ben disconnected from the Internet (or not connected to the Internet)... which is wrong.  I am connected.

    Seems that Apple has temporary problems with their activation servers. Many users report similar problem on older devices.

    Latest news: If you can not activate your iPhone, iPad, or iPod touch after installing iOS 9.3 - Apple Support

    r http://www.IMore.com/Apple-Working-iOS-93-Fix-Older-iPhone-iPad?utm_medium=Slide & utm_campaign = navigation & utm_source = im

    lder-IOS-devices-affected-by-bricking-bug/ http://9to5mac.com/2016/03/24/Apple-releases-New-Build-of-iOS-9-3-for-Users-of-o

    Hoppefully Apple will highlight the top soon

  • Cancel message is not displayed on the page

    Hi all

    This is my code to cancel in the controller:
    If {("Cancel".equals (pageContext.getParameter (EVENT_PARAM)))}

    am.invokeMethod ("Cancel");
    [MessageToken] token = {};
    OAException = confirmMessage
    New OAException ("MONTH", "MTH_SETUP_CANCEL", token,)
    OAException.INFORMATION, null);
    pageContext.putDialogMessage (confirmMessage);

    pageContext.setForwardURLToCurrentPage (null, false, OAWebBeanConstants.ADD_BREAD_CRUMB_NO, OAWebBeanConstants.IGNORE_MESSAGES);

    }
    It is undo code in AM
    public void Cancel() {}
    getTransaction () .rollback ();
    }

    but when I am clicking on the Cancel button, the message is not dispalyed.

    Is there something wrong in the code? How can I get the message to cancel within the page.

    Hello
    Replace this line

    pageContext.setForwardURLToCurrentPage (null, false, OAWebBeanConstants.ADD_BREAD_CRUMB_NO, > OAWebBeanConstants.IGNORE_MESSAGES);

    with this one

    pageContext.setForwardURLToCurrentPage (null, false, OAWebBeanConstants.ADD_BREAD_CRUMB_NO, OAException.INFORMATION);

    Abdul Wahid

  • Problem with joining photos for the Windows 8 library mail program and error message 'create an association in the default program control panel '.

    Original title: E-mail question

    I want to send pictures of the library in Windows 8. Cannot do. He told me to create an association in the default program control panel. Been there, no help.

    Hello Jeff,.

    Please keep us updated on the status of the issue.

    I will certainly help you in the right direction to solve the problem. However, I would be grateful if you could let us know that you have set the email client that you use as default to the Control Panel program to send and receive electronic messages from the computer.

    Please respond with the requested information, in order to help you solve the problem.

    Thank you

  • SQL mode not built using the default sql DBTYPE

    When I have updated the SQL text in the view file PV_PERF_SR_VW in the designer of PeopleSoft, it updates the SQL text in the default DBTYPE value in the PSSQLTEXTDEFN table. But when I build the view, it seems to use the text in 2 DBTYPE SQL to generate the view. So the view does not build as we wish. Someone has experience on this?

    When you open the SQL Editor in the App designer to enter your SQL text, there is a drop-down list at the top that you can use to specify the type of DB. It will be by default [Default], but if you expand the list, you can see one or several types of DB appear bold to indicate that SQL database exists. If any SQL database exists for the database you are using, then this prevail all SQL by default when you build the view. If you want to customize the SQL from this point of view, you must first select your database type from the dropdown list and then modify the SQL existing or remove it and then switch back to the default and make your changes.

    In your particular case, DBTYPE 2 would indicate that Oracle-specific SQL exists to PV_PERF_SR_VW.

    Kind regards

    Bob

  • With the help of rwconverter.sh - error message is not displayed in detail

    When I compile a report on the command-line as follows:
    rwconverter.sh
    I got following error
    REP-1430: cannot create leadership REP report "test.rdf". Find compilation errors.

    There is an error in one of your pl/sql program units. Open the report in Report Builder and correct the error.

  • SP 3 installation error message: "file not found and the installation is stopped.

    Original title: Setup servicepack3 error

    received message error servicepack3 file installation will be locater and installation is stopped

    Hello

    1. you try to install Windows XP service pack 3?
    2 are you able to install other updates?

    I ask you to download and manually install the Service Pack for Windows XP. See the link in the article below to download the pack.
    How to obtain the latest Windows XP service pack
    http://support.Microsoft.com/kb/322389

    Steps to take before you install Windows XP Service Pack 3
    http://support.Microsoft.com/kb/950717/

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Get speech recognition error message could not start because the configuration of the language is not supported, the language must match the language of the user interface

    I am running Windows 7 Ultimate 32 bit, when I run speech recognition it fails and the following message appears,

    Voice recognition couldn't start because the configuration of the language is not supported, the language must match the language of the user interface.

    I tried to change the language, then back to British English, but the problem is still there, I'd appreciate any help with this problem

    Is there a solution to this problem yet?

  • Special characters are not displayed using the report query

    I run my ad page APEX reports BI using apex_util.download_print_document (see below).

    Looks like it's stripping on the '+' in the report during the display. It displays correctly in the XML file.
    I even tried encoding with SELECT max (replace (I1.alpha_grade, ' + ', '% 2B')). This displays the '% 2B' instead of the ' + '.
    Any ideas?


    () apex_util.download_print_document
    p_file_name = > l_form_description,
    p_content_disposition = > 'attachment ',.
    p_application_id = > v ('APP_ID').
    p_report_query_name = > nvl (l_report_query_name, l_form).
    p_report_layout = > l_layout,
    p_report_layout_type = > 'rtf ',.
    p_document_format = > v ('P507_OUTPUT_FORMAT'));

    Bob,

    Try

    REGEXP_REPLACE ( i1.alpha_grade, '\&\#43;', '(+)' )
    

    Jeff

  • How can I get the bookmarks toolbar is does not display to the default startup of Firefox?

    When I launch FireFox 6.0.2 it comes by default with the bookmarks on the left side menu. I don't want a default; I just want if I ask you. How can I get rid of these wastes screen space?

    This happens on a computer desktop with Vista and a laptop with XP, so it is not apparently sensitive BONES.

    You can click the close X on the Bookmarks Sidebar Panel or press Ctrl + B to toggle off bookmarks bar.

    See also view > sidebar > bookmarks

    Press F10, or press the Alt key to bring up the 'Menu Bar' temporarily if the menu bar is hidden.

  • the shape command does not display under the default class map-class

    the form of traffic control is still missing in Touzé-default class-map

    Policy-map rtp ASA (config) #.
    Class ASA(config-pmap) # by default
    ASA(config-pmap-c) #?

    MPF policy-map class configuration commands:
    exit the configuration for the class action MPF mode
    help help for orders sub-mode of MPF policy-map class/match
    inspect inspection of protocol services
    No Negate or default configuration of a command values
    Exit out of the configuration for the class action MPF mode
    set connection values Set

    Well Yes, 7.2.4 and 8.0.4 introduced the command.

    Then it has no 8.0.3.

    I think it is clear now.

    Please mark it as answered if it is to future benefits of others.

    RGS,

    PK

  • The controller throws an OAException, but the error message does not appear

    I made a controller to add validation business customized to a specific region of a page of Iprocurement. The controller throws an exception, but the error message does not appear on the page.

    Why when the exception is thrown, the system do not stop the processing of the page and displays the error message?

    I do not know the controller is reached because the page through JDeveloper debugging.

    -PageLayout

    -stackLayout

    -subTabLayout <-my controller is located in this region

    SerializableAttribute public class AccountsDistsValidationCO extends

    {oracle.apps.fnd.framework.webui.OAControllerImpl}

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)

    {

    super.processFormRequest (pageContext, webBean);

    throw new OAException ("something just happned");

    }

    }

    I should to use the following to solve my problem

    pageContext.putDialogMessage (message);

    pageContext.forwardImmediatelyToCurrentPage (null, true, null);

    Reference:

    OAException.ERROR is not throwing the error

Maybe you are looking for