Back

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.

Published: Dec 08, 2011
Post Author Written by Kevin Jones

When attempting to browse to the SmartConnect Webservice, receiving an error that says “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.”


This indicates that your IIS machine is running on a 64 bit operating system, and by default the dlls installed with SmartConnect are 32 bit. In order to resolve this, you need to download two dll files from here, and follow these instructions.

1. Browse into your C:Program Files (x86)eOne Integrated Business Solutionswwwbin directory

2. Rename the microsoft.crm.sdk.dll and the microsoft.crm.sdktypeproxy.dll to microsoft.crm.sdk.old and microsoft.crm.sdktypeproxy.old

3. Extract the zip file you downloaded into the C:Program Files (x86)eOne Integrated Business Solutionswwwbin directory

4. Go to Start – Run and type in IISRESET to restart the IIS services The website should work correctly now.

 

Feeling stuck? Get the support and guidance you need to help you power through any data challenge

We're on your integration team. Connect with our people and let us know how we can help you.