After applying CRM 2011 updates, an error displays when the Microsoft Dynamics Connector plugin executes
This article provides a solution to an error that occurs after you apply Microsoft Dynamics CRM 2011 updates.
Applies to: Microsoft Dynamics CRM 2011
Original KB number: 2544388
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=126.96.36.199, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Reinstall Dynamics Connector Feature Pack 5 (FP5) or later by following the steps below:
Obtain the latest Dynamics Connector update.
When prompted, sign in by using PartnerSource credentials.
Run the downloaded .msi file to reinstall the Connector.
Import the updated solution into Microsoft Dynamics CRM 2011 by following the steps below:
Sign in to an organization in Microsoft Dynamics CRM as a CRM administrator.
From the navigation pane, select Settings > Customization > Solutions. Select Import.
Browse to the Connector installation directory (
\Program Files (x86)\Microsoft Dynamics\Microsoft Dynamics Adapter).
Select the ConnectorForMicrosoftDynamicsGp.zip solution file. Select Open.
Select Next. When the Solution Information is displayed, a message might be displayed that warns a version mismatch. Select Next.
Select a customization option:
- Select Maintain customizations if you're installing Microsoft Dynamics CRM for the first time.
- Select Overwrite customizations if you're upgrading an existing ERP solution or if you're upgrading to Microsoft Dynamics CRM 2011.
It will overwrite any un-managed customizations that were made in your system.
Select Activate any processes and enable any SDK message processing steps included in the solution.
If you don't select this check box, the steps to install the plug-in won't be activated and the process can't be completed.
When the solution customizations have been successfully imported, select Close to exit.
For more information about upgrading and reinstalling the Dynamics Connector, which can be found at Connector for Microsoft Dynamics installation guides.