<link>http://ncryptoki.com/forum.aspx</link> <description /> <docs>http://www.rssboard.org/rss-specification</docs> <generator>mojoPortal Forum module</generator> <item> <title>Re: Search path for Cryptoki constructor Awesome! That did it. Thanks, Ugo.

 

Andrew

]]>
http://ncryptoki.com/Forums/Thread.aspx?pageid=9&t=23~-1#post127 benadam777 http://ncryptoki.com/Forums/Thread.aspx?pageid= Wed, 27 Apr 2011 18:02:03 GMT Re: Search path for Cryptoki constructor Copy NCryptokiMngd.dll you can find in the lib directory of NCryptoki in your working directory or register it in the assembly cache by using gacutil.

 

Regards,

Ugo Chirico

]]>
http://ncryptoki.com/Forums/Thread.aspx?pageid=9&t=23~-1#post124 benadam777 http://ncryptoki.com/Forums/Thread.aspx?pageid= Wed, 27 Apr 2011 17:37:00 GMT
Re: Search path for Cryptoki constructor Just a quick follow up, I went ahead and checked the error string for the exception I was receiving and this is what I got:

 

NCRYPTOKIMNGD_NOT_FOUND

 

Thanks,

Andrew

]]>
http://ncryptoki.com/Forums/Thread.aspx?pageid=9&t=23~-1#post123 benadam777 http://ncryptoki.com/Forums/Thread.aspx?pageid= Wed, 27 Apr 2011 17:21:03 GMT
Search path for Cryptoki constructor Hi,

I have a question regarding the search path used for the Cryptoki constructor.  I am trying to instantiate a Cryptoki object and I am providing the name of the PKCS#11 library provided by ActivClient using both unqualified and qualified names and no matter what, I keep receiving the same error.  I was wondering if someone could point me in the right direction, since I can't seem to figure out the search path pattern being used by the Cryptoki constructor.  The values I have passed to Cryptoki constructor include:

 

(with appropriately escaped characters, of course)

"C:\WINDOWS\system32\acpkcs211.dll"

"acpkcs211.dll"

I have even tried dropping the dll into my application's directory and it still doesn't seem to find it

 

Also, the error I have been receiving is: "Error n. -1879048194" .  I am running Windows XP SP3 32-bit and I know for a fact that the ActivClient reader and software are properly installed and working.  Thanks in advance.

 

Andrew

]]>
http://ncryptoki.com/Forums/Thread.aspx?pageid=9&t=23~-1#post122 benadam777 http://ncryptoki.com/Forums/Thread.aspx?pageid= Wed, 27 Apr 2011 16:34:19 GMT