ACCESS-ASP... Error Handling

Results 1 to 2 of 2

Thread: ACCESS-ASP... Error Handling

  1. #1
    Join Date
    Dec 1969

    Default ACCESS-ASP... Error Handling

    I have a MS-access datbase and was trying to enter records into it using ASP. The code is working fine and no doubts about it. But when I check for the errors in the Connection object, after opening, the connection<BR><BR>MyConnection.Errors.Count is set to 1<BR>and the Description says<BR>"=[Microsoft][ODBC Driver Manager] Driver&#039;s SQLSetConnectAttr failed"<BR><BR>But ignoring this if I insert records and close the connection, the records are entering into the table without any problem.<BR><BR>Can anyone explain ?<BR><BR>Thanks a Lot<BR><BR>padma Krishnan

  2. #2
    Join Date
    Dec 1969

    Default RE: ACCESS-ASP... Error Handling

    The ADO connection error object also returns status information. If you get a count of more than 0, check the numeric value of each item in the error collection. Fatal errors should have a non zero value. Other values are generally just being "helpful". <BR><BR>regards,<BR><BR>Dave Kawliche<BR><BR>

Posting Permissions

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