Answered by:
SCardEstablishContext always return 0x8010001d( SCARD_E_NO_SERVICE ) after closing RDP session

Question
-
I have my Window Service running on machine A. The Window Service is to detect smart card device.
From machine B, I RDP to machine A and login into machine A's desktop and then close the RDP session. Go back to machine A(at the lock screen) , I plugged in a smart card device, my window service fail to detect the device because SCardEstablishContext always return 0x8010001d( SCARD_E_NO_SERVICE ). I am using sc command and sure that SCardSvr is still running on machine A. Plug out and plug in the smart card device again, the problem still happens.It is reproducible.
Is there anyway to fix the problem?
However, go back to machine A and login into A's desktop, SCardEstablishContext return successful.Tuesday, December 30, 2008 3:03 AM
Answers
-
Hello Nghia,
Thank you for your post! I would suggest posting your question in one of the MS Forums,
MSDN > Forums Home > Azure > .NET Services and SQL Data Services - On-boarding Issues
located here: http://social.msdn.microsoft.com/Forums/en-US/getstartnetandsqlservices/threads/
Have a great day!- Proposed as answer by Shrikant Maske Friday, January 9, 2009 5:08 AM
- Marked as answer by Shrikant Maske Monday, March 23, 2009 11:14 AM
Friday, January 9, 2009 5:08 AM
All replies
-
Hello Nghia,
Thank you for your post! I would suggest posting your question in one of the MS Forums,
MSDN > Forums Home > Azure > .NET Services and SQL Data Services - On-boarding Issues
located here: http://social.msdn.microsoft.com/Forums/en-US/getstartnetandsqlservices/threads/
Have a great day!- Proposed as answer by Shrikant Maske Friday, January 9, 2009 5:08 AM
- Marked as answer by Shrikant Maske Monday, March 23, 2009 11:14 AM
Friday, January 9, 2009 5:08 AM -
Hello Naghia,
Please provide more precise steps as to how to reproduce this issue.
Thanks,
PrabhakarMonday, July 27, 2009 3:10 AM -
Hi,
did you able to find the root cause of your issue? I am facing similar kind of issue intermittently.
Your Issue:
--------------
I have my Window Service running on machine A. The Window Service is to detect smart card device.
From machine B, I RDP to machine A and login into machine A's desktop and then close the RDP session. Go back to machine A(at the lock screen) , I plugged in a smart card device, my window service fail to detect the device because SCardEstablishContext always return 0x8010001d( SCARD_E_NO_SERVICE ). I am using sc command and sure that SCardSvr is still running on machine A. Plug out and plug in the smart card device again, the problem still happens. It is reproducible.
Is there anyway to fix the problem?
However, go back to machine A and login into A's desktop, SCardEstablishContext return successful.
regards,
Amit GoelWednesday, August 19, 2009 9:47 AM