| Previous | Next |
| SCARD_E_NO_SERVICE | SCARD_E_UNEXPECTED |
SCARD_E_SERVICE_STOPPED
SCARD_E_SERVICE_STOPPED The Smart Card Resource Manager shut down while the application was using it. The current PC/SC context and card handles should be treated as invalid after this condition.
Recovery steps
- Stop using the affected handles and recreate the resource-manager context after the service is available.
- Check Smart Card service and system event logs for the reason the service stopped.
- Design long-running applications to handle service restart rather than assuming a process-lifetime PC/SC context.
Microsoft: Smart Cards for Windows service
Microsoft: SCardEstablishContext
Microsoft: SCardIsValidContext
Looking for a different code? Search another status or error code.