| Previous | Next |
| SCARD_F_UNKNOWN_ERROR | SCARD_E_NOT_TRANSACTED |
SCARD_E_INVALID_ATR
SCARD_E_INVALID_ATR An ATR stored in the smart-card registration data is not a valid ATR string. The ATR is the card's reset response and is used by Windows to identify and pair the inserted card with its minidriver.
What to check
- Read the ATR reported by
SCardStatusand compare it with the card-registration data supplied by the issuer or minidriver. - Check whether a stale or manually edited card registration remains after middleware or driver changes.
- Install the supported minidriver again instead of manually guessing ATR registry values.
Microsoft: Smart Card Plug and Play
Microsoft: Smart Card Minidrivers
Looking for a different code? Search another status or error code.