[SOLVED]NAV CRM Integration error after upgrading CRM to 9 - metadata issue

Tomigs
Member Posts: 88
Hi,
Our customer in NAV2016 is natively integrated with Dynamics CRM (on-line), using the standard Dynamics NAV - CRM integration. Originally was connecting to Dynamics CRM 7.0.
During 2017, the Dynamics CRM was upgraded to version 8, so the integration stopped working (we started receiving a metadata error). We updated a few libraries (XRM) on the NAV service and client from the latest CRM SDK and the communication between both was re-stablished.
Recently Dynamics CRM has been upgraded to version 9, again resulting on the communication between NAV and CRM being broken. We have proceeded as before, downloading the latest CRM SDK and changing libraries on the Dynamics NAV folders (client and server).
However this time the metadata error persists (this time version 9). So we don't know if there is some file or configuration that we are missing upgrading, or we need to do something differently.
We have also proceeded to change the server settings (Windows Register) to use TLS1.2, just in case it was the cause of the issue, but the only result of that is a different error this time ("authentication error"). We can roll back these changes.
Can anyone give any suggestion on anything that we should be taking into account or possible fixes?
The steps given are essentially what described on this blog:
https://anandan-msft.blogspot.com/2017/02/how-to-make-nav-2016-crm-connector-work.html
Thanks.
Tomas
Our customer in NAV2016 is natively integrated with Dynamics CRM (on-line), using the standard Dynamics NAV - CRM integration. Originally was connecting to Dynamics CRM 7.0.
During 2017, the Dynamics CRM was upgraded to version 8, so the integration stopped working (we started receiving a metadata error). We updated a few libraries (XRM) on the NAV service and client from the latest CRM SDK and the communication between both was re-stablished.
Recently Dynamics CRM has been upgraded to version 9, again resulting on the communication between NAV and CRM being broken. We have proceeded as before, downloading the latest CRM SDK and changing libraries on the Dynamics NAV folders (client and server).
However this time the metadata error persists (this time version 9). So we don't know if there is some file or configuration that we are missing upgrading, or we need to do something differently.
We have also proceeded to change the server settings (Windows Register) to use TLS1.2, just in case it was the cause of the issue, but the only result of that is a different error this time ("authentication error"). We can roll back these changes.
Can anyone give any suggestion on anything that we should be taking into account or possible fixes?
The steps given are essentially what described on this blog:
https://anandan-msft.blogspot.com/2017/02/how-to-make-nav-2016-crm-connector-work.html
Thanks.
Tomas
0
Answers
-
Hi,
Our customer in NAV2016 is natively integrated with Dynamics CRM (on-line), using the standard Dynamics NAV - CRM integration. Originally was connecting to Dynamics CRM 7.0.
During 2017, the Dynamics CRM was upgraded to version 8, so the integration stopped working (we started receiving a metadata error). We updated a few libraries (XRM) on the NAV service and client from the latest CRM SDK and the communication between both was re-stablished.
Recently Dynamics CRM has been upgraded to version 9, again resulting on the communication between NAV and CRM being broken. We have proceeded as before, downloading the latest CRM SDK and changing libraries on the Dynamics NAV folders (client and server).
However this time the metadata error persists (this time version 9). So we don't know if there is some file or configuration that we are missing upgrading, or we need to do something differently.
We have also proceeded to change the server settings (Windows Register) to use TLS1.2, just in case it was the cause of the issue, but the only result of that is a different error this time ("authentication error"). We can roll back these changes.
Can anyone give any suggestion on anything that we should be taking into account or possible fixes?
The steps given are essentially what described on this blog:
https://anandan-msft.blogspot.com/2017/02/how-to-make-nav-2016-crm-connector-work.html
Thanks.
Tomas
Trying this with NAV inbuilt connector or with MS Dynamics connector for NAV ?
Recommend to use inbuilt connector if NAV version is 2016.
0 -
Hi Sud,
Thanks for the answer. I'm using the standard, inbuilt integration, not the connector.
The NAV version is 2016, build 46621. I wonder if the later builds would be adapted to connect to CRM 9.
Tomas0 -
0
-
Hi Sud,
Thanks for the link. No I had not seen that.
Essentially what I have done is substituting the Microsoft.XRM.DLL library (and others) on the NAV executables. I got the new libraries by extracting a Nuget package downloaded from the CRM 9 SDK, on this link:
https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/download-dynamics-365-sdk-v9
I don't know if I'm understanding the link correctly (as my .NET knowledge is very limited): are they suggesting that extracting the DLLs from the nugget file is not enough? Should I be opening the libraries with a certain version of .NET/Visual Studio and recompile them?
In parallel what I'm trying to do is to do a test upgrading NAV2016 to the latest cumulative update (CU38) and re-test (not there yet because of technical issues).
Regards,
Tomas0 -
Hi again,
We have finally resolved the connection: we have partially upgraded NAV to the last cumulative update (CU38):
* We have upgraded then NAV engine (executables): that way the XRM/ CRM libraries have been upgraded
* Importantly, we have also upgraded NAV objects, but only the ones related to the NAV/CRM integration (*@crm*).
More info here:
https://blogs.msdn.microsoft.com/nav/2017/03/10/microsoft-dynamics-crm-2016-integration-on-premises-and-online-with-microsoft-dynamics-nav-2016-2017/
Regards,
Tomas0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions