<link>http://www.ncryptoki.com/forum.aspx</link> <description /> <docs>http://www.rssboard.org/rss-specification</docs> <generator>mojoPortal Forum module</generator> <item> <title>Re: Cryptware.NCryptoki.CryptokiException Thanks for that Ugo, that was the issue. I am now getting an InvalidOperationException about a message box.

 

"Showing a modal dialog box or when when the application is not running in UserInteractive mode is not a valid operation. Specifiy the ServiceNotification or DefaultDesktopOnly style to display a notification from a service notifcation".

 

Is there anyway I can set how that message is displayed?

 

Thanks

 


 

Sorcha

]]>
http://www.ncryptoki.com/Forums/Thread.aspx?pageid=9&t=182~-1#post763 Sorcha http://www.ncryptoki.com/Forums/Thread.aspx?pageid= Wed, 07 Jan 2015 11:58:48 GMT Re: Cryptware.NCryptoki.CryptokiException This error appears when NCryptoki is unable to load the given PKCS#11 dll.

usually this happen when you are running a 64bit application while trying to load a 32bit PKCS#11 dll or viceversa.

or may happen when some dependency dll is missing or the access to the dll is denied.

]]>
http://www.ncryptoki.com/Forums/Thread.aspx?pageid=9&t=182~-1#post762 Sorcha http://www.ncryptoki.com/Forums/Thread.aspx?pageid= Wed, 07 Jan 2015 11:47:41 GMT
Cryptware.NCryptoki.CryptokiException Hi,

 

I am getting the exception Cryptware.NCryptoki.CryptokiException: Error n. -2147467259 when I am trying to create a Cryptoki object
and attach it to the PKCS#11.

 

Cryptoki cryptoki = new Cryptoki("C:\\Program Files (x86)\\nCipher\\nfast\\toolkits\\pkcs11\\cknfast-64.dll");

 

Do you know what migt be causing this? Any help would be greatly appreciated.

 

Regards,

 


 

Sorcha

]]>
http://www.ncryptoki.com/Forums/Thread.aspx?pageid=9&t=182~-1#post761 Sorcha http://www.ncryptoki.com/Forums/Thread.aspx?pageid= Wed, 07 Jan 2015 11:42:27 GMT