Archived Forum Post

Index of archived forum posts

Question:

Regsvr32: LoadLibrary failed because application configuration is incorrect.

Dec 10 '15 at 10:50

I get the following error when trying to register the Chilkat ActiveX:

LoadLibrary failed - This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

alt text


Answer

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:

http://www.microsoft.com/en-us/download/details.aspx?id=29

(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:

http://www.microsoft.com/en-us/download/details.aspx?id=15336


Answer

Hi,

Could you not do a static link ? This would remove the need to have the redistributable installed...

See: https://social.msdn.microsoft.com/Forums/vstudio/en-US/ab187afb-3af0-44ba-a03c-dde9e5208a1a/static-link-to-vc-runtime