Did you install the correct dependencies for the solution that you are placing the dlls in. If the dll relies on kentico libraries and was developed on a different hotfix or version, that could be the issue. Try rebuilding the dll with the same dlls and maybe that could fix it.