Could not load file or assembly ‘ChilkatDotNet4.dll’ or one of its dependencies.
(Thank you Josh for your helpful information!)
“I see that occasionally information from clients (with the client’s permission) end up on the blog and thought that perhaps this one would qualify. If there is mention of the C++ Runtime, I didn’t find it.
At any rate, I was having trouble getting the ChilkatDotNet4.dll to load. After a conversation with Matt, I tried installing the Microsoft Visual C++ 2010 Redistributable Package – this resolved my issue:
I’ve included the error messages below to illustrate that the .dll appears to be being found when registered to the GAC (and certainly when placed directly in the web site’s bin), but cannot load its dependencies.
When loaded into GAC but not found (or when in bin):
Could not load file or assembly ‘ChilkatDotNet4.dll’ or one of its dependencies. The specified module could not be found.
When not loaded into GAC and not in bin:
Could not load file or assembly ‘ChilkatDotNet4, Version=22.214.171.124, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd’ or one of its dependencies. The system cannot find the file specified.”