Validating login and password via ODBC

Hi,
We've written an ASP web application that accesses the Oracle database for various retrieve / store functions as we go. On the first screen the user enters their Oracle username and password, and these values are POSTed to each page and used whenever it needs to make a connection. We can connect using a valid login/password just fine, but an invalid combination returns an OLEDB error. Anyone know how we can catch an OLEDB error and display a user-friendly "Invalid login / password" message onn that first screen instead?
I know it's really an ASP question, but surely we can't be the only people on the planet who've tried to do this?
Dave

Mmm, its pretty clear he's using the ASP programming language. Try some On Error statements... Double-check your username/password is right. But even before the attempt to make a successful conncetion through your ODBC Manager.

Similar Messages

  • Admin Console - Admin user requires valid username and password

    I am running FMIS4.5 on CentOS5.5
    FMIS is running and I can connect via Flash Media Encoder.
    Web displays and admin console :1111 gives xml output, however
    When using the user & password in my xml files to login (testing with ping), I get the "Admin user requires valid username and password" error.
    conf/fms.ini:
    # fms.ini contains substitution variables for Flash Media Server          #
    # configuration files. Lines beginning with '#' are considered comments.  #
    # A substitution variable is in the form <name>=<value>. Everything up to #
    # the first '=' is considered the name of the substitution variable, and  #
    # everything after the first '=' is considered the substitution value. If #
    # you want a substitution variable to have leading or trailing spaces,    #
    # enclose the value around double quotes. For example, foo=" bar "        #
    # This section contains configurable parameters in Server.xml #
    # Username for server admin
    # For example:
    #    SERVER.ADMIN_USERNAME = foo
    SERVER.ADMIN_USERNAME = Admin
    SERVER.ADMIN_PASSWORD = str34m1ng
    # IP address and port Flash Media Admin Server should listen on
    # For example:
    #    SERVER.ADMINSERVER_HOSTPORT = :1111
    SERVER.ADMINSERVER_HOSTPORT = :1111
    # User id in which to run the process (Linux Only)
    # For example:
    #    SERVER.PROCESS_UID = 500
    SERVER.PROCESS_UID = 500
    # Group id in which to run the process (Linux Only)
    # For example:
    #    SERVER.PROCESS_GID = 500
    SERVER.PROCESS_GID = 500
    # License key for Flash Media Server
    # For example:
    #    SERVER.LICENSEINFO = XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
    SERVER.LICENSEINFO = #SORRY YOU DON'T GET TO SEE THIS#
    # LIVE_DIR denotes the full path of sample "Live" application's
    # folder for storing any live stream recorded by server.
    # For example:
    #    LIVE_DIR = <FMS_Installation_Dir>\applications\live
    LIVE_DIR = /opt/adobe/fms/applications/live
    # VOD_COMMON_DIR denotes the full path of sample "VOD" application's
    # folder for storing onDemand and Progressive Download .flv/.mp3 files.
    # File stored in this folder can be streamed and are also PD-able.
    # Note : If you are using the default installation of Apache as a webserver,
    # and if you modify VOD_COMMON_DIR, please change the document root
    # accordingly in httpd.conf.
    # For example:
    #    VOD_COMMON_DIR = <FMS_Installation_Dir>\webroot\vod
    VOD_COMMON_DIR = /opt/adobe/fms/webroot/vod
    # VOD_DIR denotes the full path of sample "VOD" application's
    # folder for storing onDemand only .flv/.mp3 files. Files stored in
    # this folder are not PD-able
    # For example:
    #    VOD_DIR = <FMS_Installation_Dir>\applications\vod\media
    VOD_DIR = /opt/adobe/fms/applications/vod/media
    # The maximum size of the FLV cache, in megabytes.
    # The default is 500MB.
    SERVER.FLVCACHE_MAXSIZE=500
    # Whether to start and stop the included HTTP server along
    # with FMS.
    SERVER.HTTPD_ENABLED = true
    # This section contains configurable parameters in Adaptor.xml #
    # Application directory for the virtual host
    # For example:
    #    VHOST.APPSDIR = C:\myapps
    VHOST.APPSDIR = /opt/adobe/fms/applications
    VHOST.ALLOW = all
    # This section contains configurable parameters in Application.xml #
    # List of semi-colon delimited paths in which to search for script to load
    # For example:
    #    APP.JS_SCRIPTLIBPATH = C:\scripts;C:\Program Files\Foo\scripts
    APP.JS_SCRIPTLIBPATH = /opt/adobe/fms/scriptlib
    # This section contains configurable parameters in Logger.xml #
    LOGGER.LOGDIR =
    # This section contains configurable parameters in Users.xml #
    # Enable or disable using HTTP requests to execute admin commands.
    # Set to "true" to enable, otherwise it will be disabled.  The
    # actual commands permitted for server admin and virtual host admin
    # users can be set in Users.xml.
    USERS.HTTPCOMMAND_ALLOW = true
    Users.xml:
    <Root>
        <UserList>
            <!-- This tag defines an administrator for the server. -->
            <User name="${SERVER.ADMIN_USERNAME}">
                <!-- Salted Password Hash for this vhost administrator. -->
                <Password encrypt="false">${SERVER.ADMIN_PASSWORD}</Password>
                <!-- This admin can only connect to the server from the specified -->
                <!-- hosts. This is specified as a comma delimited list of        -->
                <!-- hostnames or domain names, and/or (full or partial) IP       -->
                <!-- addresses. For example,                                      -->
                <!-- "foo.yourcompany.com, macromedia.com, 10.60.1.133, 10.60"    -->
                <Allow>All</Allow>
                <!-- This admin cannot connect to the server from any of the      -->
                <!-- specified hosts. This is specified as a comma delimited list -->
                <!-- of hostnames or domain names, and/or (full or partial) IP    -->
                <!-- addresses. For example,                                      -->
                <!-- "foo.yourcompany.com, macromedia.com, 10.60.1.133, 10.60"    -->
                <Deny></Deny>
                <!-- Specifies the order in which to evaluate the <Allow> and     -->
                <!-- <Deny> tags. This can be "Allow,Deny" or "Deny,Allow". The   -->
                <!-- default is "Deny,Allow" which means that access is allowed   -->
                <!-- unless specified in <Deny> and not specified in <Allow>.     -->
                <Order>Allow,Deny</Order>
            </User>
            <User name="janedoe">
                    <Password encrypt="false">S4mpl3P4ss</Password>
                    <Allow></Allow>
                    <Deny></Deny>
                    <Order>Allow,Deny</Order>
            </User>
        </UserList>
        <AdminServer>
            <HTTPCommands>
                <!-- Enable or disable using HTTP requests to execute admin commands.     -->
                <!-- Set to "true" to enable, otherwise it will be disabled.  The           -->
                <!-- actual commands permitted for server admin and virtual host admin    -->
                <!-- users can be set in the Allow and Deny elements.                                   $
                <Enable>${USERS.HTTPCOMMAND_ALLOW}</Enable>
                <!-- List of server admin commands that can be accessed via HTTP.         -->
                <!-- Add multiple commands separated by commas.  "All" indicates          -->
                <!-- every command (it's not recommended to allow all commands).          -->
                <!-- Seperate multiple commands with commas.                              -->
                <Allow>ping</Allow>
                <!-- List of server admin commands denied access via HTTP.                -->
                <!-- Add multiple commands seperated by commas.  "All" indicates          -->
                <!-- every command.                                                       -->
                <Deny>All</Deny>
                <!-- Processing order for deny and allow command lists.  "Deny,Allow"     -->
                <!-- means the command will be allowed if the command is in the allow     -->
                <!-- list or not in the deny list.   "Allow,Deny" means the command       -->
                <!-- will be allowed if it is in the allow list and not in the            -->
                <!-- deny list.                                                           -->
                <Order>Deny,Allow</Order>
            </HTTPCommands>
        </AdminServer>
    </Root>
    Output on :1111/admin/ping?auser=Admin&apswd=str34m1ng :
    <result>
      <level>error</level>
         <code>NetConnection.Connect.Rejected</code>
         <description>Admin user requires valid username and password.</description>
         <timestamp>Thu 17 May 2012 11:33:43 AM EDT</timestamp>
    </result>
    Connections do not work from both localhost and external connections and the fms_adminConsole.htm (.swf) fails as well.
    Any assistance is appreciated!

    Hi,
    FMIS 4.5 does not accept plain text password. Encrypt=false is no longer supported. See here for more information : http://help.adobe.com/en_US/flashmediaserver/configadmin/WS5b3ccc516d4fbf351e63e3d119f2926 bcf-7fed.html#WS5b3ccc516d4fbf351e63e3d119f2926bcf-7e91
    The value for SERVER.ADMIN_PASSWORD needs to be the encrypted string for your password. That should solve your problem.
    Hope this helps.
    Thanks,
    Apurva

  • Do i need a separate appleID and password for itunes store, icloud and app store apart from my admin login and password?

    after having my mbp upgraded  with new m.lion by apple tech service i noticed that applications like iphoto, garageband and imovie are gone
    researched online and was told that i had to acess the `purchase` via AppStore where it asks me to log in with Apple ID and password
    i used the usual admin login and password and didnt work, also on itunes and icloud the similar case
    do i need to register with a separate appleID and password for itunes store, icloud and app store apart from my admin login and password?

    Just use the same Apple ID and password that you used to access this forum - that's your Apple ID.
    The user name and password on your computer has nothing to do with your Apple ID.
    Good luck,
    Clinton

  • You must supply a valid username and password to log onto the system.

    hi,
    i installed hyperion performance suite8.3 on linux by root account,during installation, i select "native" authentication, after installation, when i login the web interface by root account, it tell me:
    You must supply a valid username and password to log onto the system.
    who can help me?
    thanks

    Do you have any projects listed in Shared Services ?
    ... you are also using
    Did you put in the right url when you did the HFM config ?
    check the httpd.conf file for server name and listening port number ....
    what port are you using to login to workspace ?

  • HELP . . DOMAIN LOGIN AND PASSWORD

    I just purchased a toshiba computer which I hate.  I'm trying to get on internet explorer and I keep getting a log in  which says  connecting to 062d-gni-wfe-pri-vip-spoded.com. . .asking for log in and password which I don't know. 
    How do I find out what the login and password are?

    Hi,
    Do you mean that IE is automatically redirected to the webpage and inform you to type a name\password which you don't know? Are you able to connect to other webpages? Please check whether the internet connection is fine. Some ISP might inform you to enter
    an credential if you want to gain internet connection via IE.
    If the webpage is not set by ISP and you even don't know why it occurs, then I would recommend you run a virus scan in case malware\virus infection.
    Or open IE, check the homepage, please also check IE proxy setting under internet option\Connections\LAN settings.
    Or Lanch IE in no add-ons mode, check the result, run iexplore.exe -extoff
    to launch IE in no add-ons mode.
    Yolanda Zhu
    TechNet Community Support

  • Send Email for manager of the user with Login and Password the user.

    Hello everyone,
    I need to send an email to the manager of the user with login and password when it is created in AD.
    I already have a mail server configured in the IT Resource. It has some component of the IDM that solve this issue?
    Anyone you help me with the next steps?
    Thank you.

    Thank you for your attention.
    It did not work, I did another test to send email notifying you when the User change password.
    The following error message appears in oim_server1-diagnostic.log:
    [2011-08-08T19:21:30.865-03:00] [oim_server1] [NOTIFICATION] [] [oracle.iam.passwordmgmt.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Resetting password
    [2011-08-08T19:21:30.936-03:00] [oim_server1] [NOTIFICATION] [IAM-0080013] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Kernel executing default validation with process id, event id, entity and operation 59,612.0.User.RESET_PASSWORD
    [2011-08-08T19:21:31.155-03:00] [oim_server1] [NOTIFICATION] [IAM-3050013] [oracle.iam.identity.usermgmt.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Searching for users with the specified criteria.
    [2011-08-08T19:21:32.018-03:00] [oim_server1] [WARNING] [] [oracle.iam.passwordmgmt.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Sending Reset Password Notification is not successful
    [2011-08-08T19:21:32.639-03:00] [oim_server1] [NOTIFICATION] [IAM-0080046] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Completed orchestration with action result - oracle.iam.platform.kernel.vo.EventResult@4fe0d018
    [2011-08-08T19:21:32.642-03:00] [oim_server1] [NOTIFICATION] [IAM-0080011] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Orchestration process with id 59,612 started running in a new thread.
    Edited by: Piza on 08/08/2011 15:24
    Edited by: Piza on 08/08/2011 15:26

  • My distro needs login and password when I boot

    As the title suggests I do not what I am supposed to enter when faced with a login and password right after I boot.

    Xyne wrote:
    tamas wrote:
    When I say password I mean I have not completed the install. This prompt for login/password occurs before I actually do anything. I occurs after I boot and select install and the installer prompts me for a login and a password.
    Thank you for your help in advance.
    -tamas
    login: root
    Just hit enter for the password. I think it's empty by default.
    "arch" is also a valid login.
    After that, to run the setup, just enter "/arch/setup" at the prompt.

  • Somehow firefox now opens with my windows mail. Each time I enter my password it asks if I want to save it so I don't have to retype my login and password each time. I hit yes and when I leave firefox it doesn't keep my password. I would like to either

    I recently went to open my windows live mail,which normally opens because it has my login and password saved. Now it opens in firefox and I have to retype my login and password everytime I open my mail. I would like when I open my mail not to have to retype my login and password as this is why I have it set up in the original windows mail anyway. So I have attempted to live with this problem by adjusting the options to save my password and when I close out of firefox and try to reopen it later in the day I have to retype my login and password again.
    == This happened ==
    Every time Firefox opened
    == about a month ago

    See this article for some suggestions: [[Firefox has just updated tab shows each time you start Firefox]]
    See also http://kb.mozillazine.org/Preferences_not_saved and Preferences are not saved

  • Why will i cloud refuse to log me in even with the right apple ID and password.  I keep having to reset my password but i always get an answer that I have a valid ID and password but it is not an icloud account

    getting the same answer everytime I try to log into i cloud. I get a message that I have a valid ID and password but it is not an icloud account. I have tried for almost a entire year to go there. i have re-downloaded the icloud contorl panel. before I got this notebook  HP windows 8 it was easier . I do not like Internet explorer so I downlloaded.Google chrome. What must I do to go to icloud? I tried Internet Explorer and  chrome. I buy music on itunes and I am not sure I get all the content I purchase. I have had to reset my password often and my email address to. I once spoke to a live tech a long while ago and he helped me combine all my purchased and downloaded music. Now its impossble to talk to anyone on the phone or even online and i am frustrated.

    You must create the account using an Apple device, a Mac (Lion or greater) or an IOS device (IOS5 or greater). Having done that you will be able to sign in from your Windows machine.
    FYI, iCal is an application that can display calendars from iCloud (and others) it is not a calendar itself, merely a calendar client. In Windows Outlook is the calendar client.

  • Printer is asking for an user acces code instead of windows login and password?

    I have been seeing the HP printers asking(LaserJet M4555 MFP, LaserJet 500 color MFP M575 etc) for user access code instead of windows login and password.
    One thing i have noticed  is that when this happens there is a slight change in the EWS page configuration at security -> access control.The device administrator tabe is unchecked as you can see below ehen this happens
    Have tried cold resetting the printer and restore facory settings but this does not works and some thimes it does works for a while but the issue is returing back.
    We do not need this access code promt instead we need the usual windows login and password that used be there originally.
    alsothis is how the settings look like after a cold reset somtimes when it does not  asks for user access code , the problem is cold rese does lways works and it reverts back ois original settings

    @munish259272 
    ‎Thank you for using HP Support Forum. I have brought your issue to the appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post ( serial numbers and case details).
    If you are unfamiliar with the Forum's private messaging please click here to learn more.
    Thank you,
    Omar
    I Work for HP

  • Email send/receive suddenly doesn't work ; can't change email settings as BB phone won't accept valid username and password -- what to do?

    email send/receive suddenly doesn't work (as of September 24th); I can't change email settings (one suggestion from tech) as BB phone won't accept *valid* username and password -- what to do?
    I understand from a support note that if I keep trying my password/username combination, my BB will eventually delete all data!
    I can't understand this. I'm completely lost now. I can't remember what I've done or tried to do. A plethora of usernames and passwords is swimming in my head.
    Thanks for any hints. I have always loved this BB Bold and have never had any trouble with it.

    But the real question is why for the past year did the passwords work and then all of the sudden after this anomaly the disk password doesn't work?  I'm not 100% sure of what my configuration was, but I know that most of the time it required one password -- supervisor, and occasionally it asked for 2 -- disk password as well I believe.  This may have been related to the Password on Restart setting I think -- asking for the disk password on cold vs. warm boot.  But I know both were exactly the same.  But after this incident only the Supervisor password worked.

  • When I logon to iTunes on my iPad it takes my login and password but the apps I'm trying to download don't install?

    When I log on to iTunes on my iPad to install apps iTunes accepts my login and password but doesn't download the apps.  How do I fix?

    Were thse apps you're downloaidng fresh or updating them?

  • How to hide login and password transported in interface ?

    Hi !
            In the current project that I´m working, the customer is developing a website in .Net and intend to use XI to communication between website and ECC 6.0. One of their needs is to create an interface to call a RFC in ECC 6.0 to validate login+password provided in the website(they created a Z table to persist login data, and a RFC to receive login and password and check in this table).
            My problem is, to solve this situation, I would use a simple sincronous interface but, the login+password information will be logged into monitoring screens of XI, and it´s not desireble, so I´m finding a way to hide this information.
            Initially, I was thinking to make 2 adapter modules, 1 to be used joined to the Sender SOAP Channel that will be used to the website call, that could get the data send by the website and encrypt it, to be sent to the XI pipeline encripted(only the fields login and password), and the 2nd to be used joined to the RFC Receiver channel, to decrypt login and password to be sent to the RFC call. Another alternative that I found was to use the MessageTransformBean and XLST mapping + java, but I´m looking for another alternatives.
            Somebody knows if there are some way to achieve this(hide some information in a message being processed by XI)?
            In time, I can´t to disable the logging of syncronous interfaces, because it´s customer requirement.
            Any help is welcome !
            Thank you in advance, and best regards,
            Wilson

    Hi !
            I have solved the problem.
            I used to develop 2 adapter modules, one to intercept the message arriving to SOAP Sender communication channel, encrypt the content of parametrized fields(in the module tab of the comm. channel) and deliver the updated message to the processing chain of the comm. channel.
            This message is so processed correctly by the XI pipeline, and delivered to the RFC Receiver Comm. Channel. I developed another adapter module to receive the data sent to the receiver RFC Comm. Channel, decrypt the contents of parametrized fields(like the another module, parametrized in the module tab), and deliver the updated message to the processing chain of the comm. channel.
            After some  tests, I verified that the message doesn´t remain logged unencrypted into XI(I checked Message Monitoring for Adapter Engine at Runtime Workbench, and the SXI_MONITOR trn).
            Like mentioned by Jaishankar, the SOAP Adapter initially didn´t accepted the module adapter that I wrote following the stardards existing in several documents about adapter modules here in SDN, but after some research, and debbuging sections of the adapter module, I achieved to develop the correct code to work.
            Thank you for your attention, and best regards,
            Wilson

  • Saving login and password of the server in MD5-Challenge

    I want to authenticate the server automatically using MD5-Challenge with Cisco Secure ACS4.1.
    When I unplugged and plugged the network cable, it always prompt for login and password.
    How can I avoid this process?
    What can I do if I want to have authentication automatically at the start-up of my server.
    Note: All the fonctionnality of the ACS server is OK

    This is a function of the server. How this will work, if at all, depends on which type of server you have.
    Which server, which network device and what scenario are you using with MD5?

  • No CD, can't change admin login and password???

    Hi...Please help. I do not have a startup disk and cannot change the aministrator login and password...what do I do?

    Hi skyjac, and a warm welcome to the forums!
    Reset OS X Password Without an OS X CD...
    http://theappleblog.com/2008/06/22/reset-os-x-password-without-an-os-x-cd/
    Admin Hack...
    http://www.hackmac.org/?q=node/4
    Starts up like the first time you buy a new Mac, but after filling in all that info again, you should have access to the computer and the other Users & files will still be there... though I was just thinking, this new User probably shouldn't be the same name as an existing one.
    If that doesn't work for you (and some users have reported it has not worked for them), try Niel's procedure Making the Setup Assistant reappear.
    http://discussions.apple.com/thread.jspa?messageID=607547
    I lost my admin user (Mac OS X 10.4 and earlier) ...
    http://discussions.apple.com/thread.jspa?threadID=121786&tstart=0

Maybe you are looking for

  • IDOC is posting with Errors in File to IDOC scenario

    Hi,    I did the File  to IDOC scenario for CREMAS  . IDOC is posting with Errors .. i.e. in the status record it was showing  56- EDI: Partner profile inbound not available  .. If I manually process that IDOC in WE19 , then it was processing success

  • Can't get OpenCV example to work: 1065 errors

    Hi All, I'm using Windows 7 64bit, and trying to get the OpenCV facetracker example here to work. It seems to compile successfully. To achieve this I have to run cygwin as administrator, otherwise zlib doesn't have permission to copy files during the

  • Copy/paste from illustrator CC to photoshop CC and to photoshop CS5

    Open file in Illustrator CC and see the edges in Illustrator Then i copy (ctrl+c) and paste (ctrl+v) in Photoshop CC WTF with edges ? but if a paste it in Photoshop CS5 What i do wrong?

  • My Adobe Application Manager is blank?

    I had the exact thing happen to me. Is there no help in the world? And does anyone else think that AAM is the most unintuitive, and unfriendly program ever?

  • Moving to 64bit Java

    Hi, We are interested in moving to 64 bit java due to memory issues (HUGE data models) We are in the process of investigating possible OS and hardware platforms. Our preference is for 64bit Windows Vista and Intel Xeon based workstations from DELL. D