IIS ncryptoki hangs

1/17/2013 12:47:22 PM
Gravatar
Total Posts 3

IIS ncryptoki hangs

Hi

I find that during the following call, the constructor hangs and never returns. ( same for the seperate attach method).

Cryptoki cryptoki = new Cryptoki("cryptoki.dll");

 

this only happens when running under IIS and not under when in a standalone application or in IIS in visual studio (the code is exactly the same).

 

Any ideas?

 

Thanks

Surinderjit

1/17/2013 12:52:53 PM
Gravatar
Total Posts 300
Ugo Chirico http://www.ugochirico.com

Re: IIS ncryptoki hangs

If you don't have a license and you are using the trial version, the constructor Cryptoki("cryptoki.dll"); shows a messagebox with the trial message.

If you are using NCryptoki under IIS such a messagebox is shown in the system desktop and you will never see it and you cannot click on OK to remove the messagebox and exit from the constructor.

To use NCryptoki under IIS you should buy a license

1/17/2013 12:55:53 PM
Gravatar
Total Posts 3

Re: IIS ncryptoki hangs

Hi thanks ugo

I do have a license.

My manager recently purchased one for me to use.

I can confirm this separately in a email if you need me to.

Like i said it works fine in visual studio IIS, just not when separately hosted in IIS.

 

Thanks