Hello,
I checkout and build Net.Pkcs11.dll from:
https://svn.code.sf.net/p/pkcs11net/code/trunk
I checkout and build beidpkcs11.dll from:
http://eid-mw.googlecode.com/svn/trunk
I use these dll for Examples project from sdk40_1306 (also read readme in Examples)
But I get an exception when run Slot[] slotlist = m.GetSlotList(true);
Net.Sf.Pkcs11.TokenException was unhandled
HResult=-2146233088
Message=DEVICE_ERROR
Source=Net.Pkcs11
I use Windows 8.1 pro and VS2013
> an email to eid-middleware-dev+unsub...@googlegroups.com
> <mailto:eid-middleware-dev+unsub...@googlegroups.com>.
> an email to eid-middleware-...@googlegroups.com
> <mailto:eid-middleware-...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
--
Wouter Verhelst
--
You received this message because you are subscribed to the Google Groups "eID Middleware Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eid-middleware-...@googlegroups.com.
Thanks fvernelen, I get file “beidpkcs11D.dll” after build it success, but still DEVICE_ERROR.
I try enable debug logs follow link http://test.eid.belgium.be/faq/faq_nl.htm#Hoe_kan_ik_logging_in_de_middleware_configureren.3F, but I don’t see BEID in Software.
Could you tell me something I miss.
> an email to eid-middleware-dev+unsub...@googlegroups.com
> <mailto:eid-middleware-dev+unsub...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
--
Wouter Verhelst
--
You received this message because you are subscribed to the Google Groups "eID Middleware Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eid-middleware-dev+unsub...@googlegroups.com.
Thanks Wouter, I get error logs.
2015-06-10 17:40:40 - 5044|4756 - cardlayer - DEBUG: SCardEstablishContext(): 0x0
2015-06-10 17:40:40 - 5044|4756 - cardlayer - DEBUG: SCardListReaders(): 0x0
2015-06-10 17:40:40 - 5044|4756 - cardlayer - DEBUG: SCardConnect(ACS CCID USB Reader 0): 0x0
2015-06-10 17:40:40 - 5044|4756 - cardlayer - DEBUG: SCardBeginTransaction(0xea010000): 0x0
2015-06-10 17:40:40 - 5044|4756 - cardlayer - DEBUG: SCardTransmit(00 A4 04 0C 0C A0 00 00 01 77 .. 43 53 2D 31 35)
2015-06-10 17:40:42 - 5044|4756 - cardlayer - DEBUG: SCardTransmit(): 0x8010002f
2015-06-10 17:40:42 - 5044|4756 - cardlayer - DEBUG: SCardEndTransaction(0xea010000): 0x0
2015-06-10 17:40:42 - 5044|4756 - cardlayer - INFO: Connected to unknown card in reader ACS CCID USB Reader 0
2015-06-10 17:40:42 - 5044|4756 - cardlayer - DEBUG: ReaderStatus(): card inserted
> > an email to eid-middleware-dev+unsub...@googlegroups.com
> > <mailto:eid-middleware-dev+unsub...@googlegroups.com>.
> > For more options, visit
> https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> Wouter Verhelst
>
> --
> You received this message because you are subscribed to the
> Google Groups "eID Middleware Dev" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to
> eid-middleware-dev+unsub...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "eID Middleware Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to eid-middleware-dev+unsub...@googlegroups.com
> <mailto:eid-middleware-dev+unsub...@googlegroups.com>.
> > an email to eid-middleware-...@googlegroups.com
> > <mailto:eid-middleware-...@googlegroups.com>.
> > For more options, visit
> https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> Wouter Verhelst
>
> --
> You received this message because you are subscribed to the
> Google Groups "eID Middleware Dev" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to
> eid-middleware-...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "eID Middleware Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to eid-middleware-...@googlegroups.com
> <mailto:eid-middleware-...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
--
Wouter Verhelst
--
You received this message because you are subscribed to the Google Groups "eID Middleware Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eid-middleware-...@googlegroups.com.
Thank you for answer,
This error occur when I put the card not BEID.
Now, I put BEID card then an error occur:
Exception Type: Net.Sf.Pkcs11.TokenException
Exception Message: CRYPTOKI_NOT_INITIALIZED
Stack Trace: at Net.Sf.Pkcs11.Wrapper.Pkcs11Module.GetSlotList(Boolean tokenPresent)
at Net.Sf.Pkcs11.Module.GetSlotList(Boolean onlyTokenPresent)
> > an email to eid-middleware-dev+unsub...@googlegroups.com
> > <mailto:eid-middleware-dev+unsub...@googlegroups.com>.
> > For more options, visit
> https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> Wouter Verhelst
>
> --
> You received this message because you are subscribed to the
> Google Groups "eID Middleware Dev" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to
> eid-middleware-dev+unsub...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "eID Middleware Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to eid-middleware-dev+unsub...@googlegroups.com
> <mailto:eid-middleware-dev+unsub...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
--
Wouter Verhelst
--
You received this message because you are subscribed to the Google Groups "eID Middleware Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eid-middleware-dev+unsub...@googlegroups.com.
> > an email to eid-middleware-...@googlegroups.com
> > <mailto:eid-middleware-...@googlegroups.com>.
> > For more options, visit
> https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> Wouter Verhelst
>
> --
> You received this message because you are subscribed to the
> Google Groups "eID Middleware Dev" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to
> eid-middleware-...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "eID Middleware Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to eid-middleware-...@googlegroups.com
> <mailto:eid-middleware-...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
--
Wouter Verhelst
--
You received this message because you are subscribed to the Google Groups "eID Middleware Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eid-middleware-...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "eID Middleware Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eid-middleware-...@googlegroups.com.
Thank your quickly response,
Exactly, it have been disposed before I call GetSlotList.
> > an email to eid-middleware-dev+unsub...@googlegroups.com
> > <mailto:eid-middleware-dev+unsub...@googlegroups.com>.
> > For more options, visit
> https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> Wouter Verhelst
>
> --
> You received this message because you are subscribed to the
> Google Groups "eID Middleware Dev" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to
> eid-middleware-dev+unsub...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "eID Middleware Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to eid-middleware-dev+unsub...@googlegroups.com
> <mailto:eid-middleware-dev+unsub...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
--
Wouter Verhelst
--
You received this message because you are subscribed to the Google Groups "eID Middleware Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eid-middleware-dev+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "eID Middleware Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eid-middleware-dev+unsub...@googlegroups.com.