CRM Integration Requires Updated SDK File

If you use our integration with Dynamics CRM, you might have noticed a Microsoft.Xrm.Sdk.dll that is installed on the server and on the client computers. This is part of the integration, both when you use the integrated connection and the Connector.

We have seen a pattern where this file is the wrong version for some reason. A symptom of this is that you see an error with the cryptic message “Metadata contains a reference that cannot be resolved.” This error displays when you set up the integration, and the solution is to update the Microsoft.Xrm.Sdk.dll file.

You can get the right version by downloading the Microsoft Dynamics CRM 2015 SDK, unpack the  download package, and then copy Microsoft.Xrm.Sdk.dll to the following locations:

  • C:\Program Files\Microsoft Dynamics NAV\90\Service\
  • C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\

If you use the Connector, you must also update Microsoft.Xrm.Sdk.dll in that folder.

As stated above, if your Dynamics NAV solution has this issue, you will see the error message when you first set up the integration with Dynamics CRM. In other words, if you didn’t see the error at that point in time, then there is no action for you, and the integration with Dynamics CRM will continue to work as before.