Results 1 to 2 of 2

Thread: Error Description and Error Number

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2002
    Location
    Cincinnati, OH
    Posts
    44

    Error Description and Error Number

    Hello,

    I have an easy question. I have the following error message: The connection is already Open (state=open)

    I have a user who receives this error message periodically and I want to trap the error message but in order to do this, I need to know what the error number is associated with this message so that I can correctly trap for the error based on the specific message.

    Does anyone know what the error number is, or where I can find that information. I know .net has an error lookup database but it only does a lookup based on the error number, not based on the description.

    Any help would be appreciated. Thanks!
    Jim Webster

  2. #2
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    where ever in the code it is getting the error message, it can also get the error number.
    VB Code:
    1. Try
    2.    'Code Here
    3. Catch ex As Exception
    4.    'Catch the ex.Message and ex.Number
    5. End Try
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

Posting Permissions

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



Click Here to Expand Forum to Full Width