After deploying our huge distributed system to one of our clients we experience an unexpected error. During the investigation we replace the assembly causing the error with
Make sure that the Application is building under the correct Platform Target. This can be an issue especially when it comes to providing or consuming DLLs. Look under "Project->Properties" and select the "Build" tab. The Platform target option will allow you to select between Any CPU (default), x86 or x64.