Should be easy but...

Results 1 to 2 of 2

Thread: Should be easy but...

  1. #1
    Join Date
    Dec 1969

    Default Should be easy but...

    I have a user log in page and if user input their user name and password wrong, it should give an error message.<BR><BR>Here is the code:<BR>set con=server.createobject("ADODB.connection")<BR>con .open Session("ConnectionString"), username, password<BR><BR>Here is the error message displayed on screen:<BR>Microsoft OLE DB Provider for ODBC Drivers error &#039 80040e4d&#039 <BR>[Oracle][ODBC][Ora]Invalid authorization specification. <BR><BR>How can I catch this error message and display my own message?<BR><BR>Thanks<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Should be easy but...

    try something like<BR><BR>If err &#062; 0 Then <BR>response.write "some message<BR>err=0<BR>End If

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts