Checking the innerException resulted in showing the following message:
"Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information."
and the solution described in Mixed mode assembly is built against version ‘v2.0.50727′ of the runtime worked to resolve this problem.