views:

12

answers:

2

I have used web services in the past and nothing special was required for deployment. As long as the application compiled and you could get to it through Visual Studio all was well. I am integrating a custom application with Microsoft Dynamics CRM and am receiving an error when I deploy the application as follows: Could not load file or assembly 'microsoft.crm.sdk' or one of its dependencies. An attempt was made to load a program with an incorrect format.

I don't know if this is a CRM issue or a web service issue.

+1  A: 

This is a bitness issue. The CRM SDK DLLs exist in 32- and 64-Bit versions, and you need to use the correct DLL for the bitness you are using for your project.

GCATNM