What does HRESULT 0x80100034 (SCARD_E_READ_ONLY_CARD) mean?

 
Previous Next
SCARD_E_NO_PIN_CACHE SCARD_W_UNSUPPORTED_CARD

SCARD_E_READ_ONLY_CARD

SCARD_E_READ_ONLY_CARD The application attempted to write to a read-only smart card or a protected area that the card treats as read-only. Repeating the write will not change the card's security or lifecycle state.

What to check

  • Determine whether the card is intentionally read-only or whether the selected file requires a different authenticated role.
  • Confirm that the requested operation belongs to card personalization rather than normal end-user use.
  • Use the issuer's approved management process for any card-content change; do not attempt to bypass the protection with raw APDUs.

Microsoft: SCardStatus

Microsoft: SCardTransmit

Microsoft: Smart Card architecture

Microsoft: Smart Card Minidrivers


Looking for a different code? Search another status or error code.