Error al cargar Cryptoki

8/18/2015 12:26:08 AM
Gravatar
Total Posts 1

Error loading Cryptoki

Hi, how are you,
I'm trying to use an <span data-scayt_word="HSM" data-scaytid="1">HSM Thales to sign XML files, but I jump error in the following line

     <span data-scayt_word="cryptoki" data-scaytid="2">cryptoki = New <span data-scayt_word="Cryptoki" data-scaytid="3">Cryptoki("C:\Program Files (<span data-scayt_word="x86" data-scaytid="4">x86)\<span data-scayt_word="nCipher" data-scaytid="5">nCipher\<span data-scayt_word="nfast" data-scaytid="6">nfast\<span data-scayt_word="toolkits" data-scaytid="7">toolkits\<span data-scayt_word="hwcrhk" data-scaytid="8">hwcrhk\nfhwcrhk64.dll")

     <span data-scayt_word="Excepción" data-scaytid="9">Excepción: Error n. -2147467259

 

From what I understand should reference the <span data-scayt_word="dll" data-scaytid="10">dll the manufacturer, but as the code I'm using does not pass this line.
I am using vb.net to this development

If anyone can help me, I will be grateful

9/24/2015 4:34:13 PM
Gravatar
Total Posts 300
Ugo Chirico http://www.ugochirico.com

Re: Error al cargar Cryptoki

Usually this error means that you are trying to load a 32 bit dll in a 64 bit .net application or vice versa.

try to load the correct dll.