Hi,
I updated my Luna client to 6.2.0-15 recently. After update i am getting exception on object creation.
Stack trace is below; at Cryptware.NCryptoki.Cryptoki.Attach(String cryptokilib) at Cryptware.NCryptoki.Cryptoki..ctor(String cryptokilib)
Also "cryptokilib" is pointing to "C:\Program Files\SafeNet\LunaClient\cryptoki.dll".
So why am i getting that exception, could someone help me?
Best regards,
Baris Bolkan
Can you send us more info about the exception: exception class, error code (if any) etc?
Hi Ugo, It throws exception when instantiating the object. Cryptoki cryptokiInstance = new Cryptoki("C:\\Program Files\\SafeNet\\LunaClient\\cryptoki.dll"); The whole exception info is below; System.NullReferenceException: Object reference not set to an instance of an object. at Cryptware.NCryptoki.Cryptoki.Attach(String cryptokilib) at Cryptware.NCryptoki.Cryptoki..ctor(String cryptokilib) at xxxxxxxx.NCryptokiInstanceHelper.GetNcryptokiInstance() in d:\xxxxxxxx\xxxxxxxx\Operations\Common\NCryptokiInstanceHelper.cs:line 175 at xxxxxxxx.EncryptionHelper.Encrypt(String clearText) in d:\xxxxxxxx\xxxxxxxx\Operations\Common\EncryptionHelper.cs:line 37