Problem loading assembly NCryptokiMngd.dll

4/17/2014 5:10:40 PM
Gravatar
Total Posts 12

Problem loading assembly NCryptokiMngd.dll

A I am trying to use your example code for (.NET) FullTestNDigitSign but

 

on a line:

DigitalSigner dsign = new DigitalSigner ("smaoscki.dll");

 

I am getting the following error:

 

Could not load file or assembly ..... NCryptokiMngd.dll or one of its dependencies. An attempt was made to load a program with and incorrect format.

 

My Windows is 64bit. When I replace 32bit version of library with 64 bit I am getting another error on the same line in code:

The specified Cryproki library is not found. Please check the path.

 

and then:

 

Attempt to read or write protected memory. This is often an indication that other memory is corrupt.

 

Could you suggest any resolution to this problem?