SqlException Number Reference

You can find these in System.Data.SqlClient.TdsEnums using Reflector.

DISCLAIMER: These could be out of date or wrong! I've just listed them here because I couldn't find them on Google.

18456: Logon Failed
18488: Password Expired

2 comments:

  1. I cannot find a list of SQL error codes using Reflector.

    ReplyDelete
  2. I wrote this a while ago - it could have changed since then. Tell us more info.

    ReplyDelete