Symptoms

After applying Microsoft Dynamics CRM 2011 updates, the following error occurs when the Microsoft Dynamics Connector plugin executes:

Unexpected exception from plug-in (Execute): Microsoft.Dynamics.Integration.Adapters.Crm2011.Plugin.ContactCreateUpdateEventHandler: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Crm.Sdk, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Resolution

Reinstall Dynamics Connector Feature Pack 5 (FP5) or later by following the steps below:

1. Obtain the latest Dynamics Connector update by selecting one of the following:
--Microsoft Dynamics AX Connector - https://mbs2.microsoft.com/fileexchange/?fileID=f021fce8-38cd-4e84-a4a3-c6884ab249c7
--Microsoft Dynamics GP Connector - https://mbs2.microsoft.com/fileexchange/?fileID=8b6bba5a-bfaa-4b8b-8601-dadb1eb593fa
--Microsoft Dynamics NAV Connector - https://mbs2.microsoft.com/fileexchange/?fileID=e107b0b1-49c5-4e84-9bf8-9cb10d814a25
Note: When prompted, log in using PartnerSource credentials.

2. Run the downloaded .msi file to reinstall the Connector.

3. Import the updated solution into Microsoft Dynamics CRM 2011 by following the steps below:

a. Log on to an organization in Microsoft Dynamics CRM as a CRM administrator. 

 . From the navigation pane, click Settings > Customization > Solutions. Click Import. 

c. Browse to the Connector installation directory (\Program Files (x86)\Microsoft Dynamics\Microsoft Dynamics Adapter).

d. Select the ConnectorForMicrosoftDynamicsGp.zip solution file. Click Open. 

e. Click Next. When the Solution Information is displayed, a message might be displayed that warns of a version mismatch. Click Next.

f. Select a customization option: 
-- Select Maintain customizations if you are installing Microsoft Dynamics CRM for the first time. 
- Select Overwrite customizations if you are upgrading an existing ERP solution or if you are upgrading to Microsoft Dynamics CRM 2011. 
Note: This will overwrite any unmanaged customizations that were made in your system. 

g. Select Activate any processes and enable any SDK message processing steps included in the solution.
Note: If you do not select this check box, the steps to install the plug-in will not be activated and the process cannot be completed.

h. Click Next.

i. When the solution customizations have been successfully imported, click Close to exit.


More Information

More information on upgrading and reinstalling the Dynamics Connector can be found in the Install Guide, which can be found at http://www.microsoft.com/download/en/details.aspx?FamilyID=829A1E7E-06A4-4FCC-9D01-682412771807&displaylang=en.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×