Dynamics Connector with CRM 2016 problem resolved!

We were running Microsoft Dynamics NAV 2015, Dynamics CRM 2015 and Dynamics Connector – working fine!

But when we upgraded to CRM 2016 the Dynamics Connector stopped working with these errors below.

Connector Log

Metadata contains a reference that cannot be resolved:

Event Log

Inner Exception: [System.Xml.XmlException] The maximum nametable character count quota (16384) has been exceeded while reading XML data. The nametable is a data structure used to store strings encountered during XML processing – long XML documents with non-repeating element names, attribute names and attribute values may trigger this quota. This quota may be increased by changing the MaxNameTableCharCount property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 1330.

Solution

The solution was to replace these DLL’s in the Dynamics Connector program files directory with the new files from CRM 2016 SDK.

  • Microsoft.Crm.Sdk.Proxy.dll
  • Microsoft.Xrm.Sdk.dll

 

 

ISSUE:

On your Dynamics CRM 2016, organization (crmnolia) , when try to integrate it with Microsoft Dynamics NAV 2015 using Connector Version (3.4.304.1) , during the configuration you have the following error :  Metadata contains a reference that cannot be resolved: ‘https://crmnolia.umea.se/Nolia/XRMServices/2011/Organization.svc?wsdl=wsdl0’.

 CAUSE:

Problem with the following dlll “Microsoft.Xrm.Sdk.dll”.

RESOLUTION:

1. Closed Connector

2. Stopped Connector Service

3. Downloaded “Microsoft Dynamics CRM 2015 Software Development Kit (SDK)”

4. Backed up file “Microsoft.Xrm.Sdk.dll” from “C:\Program Files (x86)\Microsoft Dynamics\Microsoft Dynamics Adapter\Adapters\Microsoft.Dynamics.Integration.Adapters.Crm2011\” folder

5. Replaced “Microsoft.Xrm.Sdk.dll” file in Dynamics Adapter folder with the one from the 2015 SDK Bin folder (Original file version: 7.0.0.516; New file version: 7.1.0.1085)

6. Started Connector Service

 

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s