The web.config configuration of one website can't be just copied to another server.
There could be many local configuration on the web.config which might get overridden.
Also, the path to the dll may not match in the target directory.
It would make more sense to specify explicitly what was the exact configuration that was missing for this particular case.