When I try to register a 32-bit Chilkat ActiveX on a 64-bit Windows Server 2008 R2 computer, I get the following error:
The module "chilkatcrypt2.dll" failed to load.
Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files.
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
Also, if I try to install via the CryptActiveX-9.4.1-win32.msi, I get this error:
Module C:Program Files (x(86)Chilkat Software IncChilkat Crypt ActiveXChilkatCrypt2.dll failed to register. HRESULT -2147010895. Contact your support personnel.
What is the solution?
The Chilkat ActiveX's are compiled with Visual C++ 2008. The problem is caused by the VC++ 2008 runtime not being present on the server. Download and install the 32-bit VC++ 2008 redist from the link below:
(Note: If using the 64-bit Chilkat ActiveX DLL's, then the 64-bit VC++ 2008 redists are required. However, given that the server is a 64-bit computer, these redists are likely already installed. However, if not, then download and install from here: