login about faq

Hello, I'm updating my application to run in the Cloud and I have to use the encrypt and decrypt functions in my chilkat library.

My project references Interop.CHILKATCRYPT2Lib.dll. I'm using it in a 64 bit windows virtual machine on Azure.

When I call my service I get the following error.

Retrieving the COM class factory for component with CLSID {3352B5B9-82E8-4FFD-9EB1-1A3E60056904} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). Method: Global_DecryptSecureItem

I have tried to register the assembly on the machine using regsvr32, however it returns this error:

The Module was loaded but the entry-point DLLResigterServer was not found.

EDIT I found a CryptActiveX windows installer on our server and ran that on the Virtual Machine. After running that I was able to successfully regsvr32 the following 3 libraries that I also found: ChilkatCert.dll ChilkatCrypt2.dll ChilkatUtil.dll

However, I get the same error when I run my code - and I still get the same error when I try to regsvr32 the referenced library Interop.CHILKATCRYPT2Lib.dll

Can you please guide me in the steps to correctly register this library for my required environment?

Thank you,

Adam

asked Nov 19 '15 at 09:05

heegar's gravatar image

heegar
33

edited Nov 19 '15 at 10:21

I have also recently found other (maybe supporting) libraries, ChilkatCert.dll, ChilkatCrypt2.dll, and ChilkatUtil.dll. I have tried registering these and copying them to the System32 folder. None of that has worked.

(Nov 19 '15 at 09:50) heegar

Registration requires the ActiveX version of the Chilkat library, and the The Module was loaded but the entry-point DLLResigterServer was not found. message usually appears when you call regsvr32 against a non-ActiveX library.

Another problem might be that you have installed the 32-Bit ActiveX but need to use the 64-Bit build (or vice versa).

link

answered Nov 19 '15 at 09:13

jpbro's gravatar image

jpbro ♦
1.1k2618

The DLLs you mention are old versions of Chilkat. For many versions now, the Chilkat ActiveX is a single DLL that contains all the Chilkat classes.

In any case, the Chilkat ActiveX DLL's (both old and new) are standard self-registering ActiveX DLLs. Any problems w/ registration can really be generalized to any ActiveX. In other words, if you have a problem with Chilkat_xyz.dll, then you would also have the same problem with Anything.dll

link

answered Nov 20 '15 at 09:49

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

edited Nov 20 '15 at 09:49

Chilkat,

If you are correct I still have a problem which I'm not sure how to fix. Do you have any steps or advice for fixing this?

I'm also experiencing the issue running the code in an Azure Emulator released by Microsoft. I have no control over that code/machine, yet I need to be able to use the decrypt and encrypt methods.

When I instantiate the object: ChilkatCrypt2 crypt = new ChilkatCrypt2(); I get the error stated above in my first post.

What can I do on a system or in code to correctly instatiate the chilkatcrypt2 library?

link

answered Jan 26 at 13:40

heegar's gravatar image

heegar
33

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×98
×5

Asked: Nov 19 '15 at 09:05

Seen: 1,053 times

Last updated: Jan 26 at 13:40

powered by OSQA