Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

NAV 2017 CU2 integration with CRM On Premise

$
0
0
Hi,
Does anyone succesfully connected NAV 2017 CU 2 with CRM On-Premise (with latest updates) ?
It worked on NAV 2017 before installing cum. updates. However, since the CU 1 and 2 installed (these cum. updates contain changes in CRM authentication), i cannot make it work. I have changed connection string (as the standard one only works with CRM online) to the string that correctly works from .NET. However when i connect to CRM and run any table, or try to execute any command on linked CRM table, i am getting a strange error:


Microsoft Dynamics NAV

An error occurred when communicating with Microsoft Dynamics CRM.

Detailed description: Object reference not set to an instance of an object.
OK

Here is the sample code that I use to try connection:

REGISTERTABLECONNECTION(TABLECONNECTIONTYPE::CRM,ConnectionName,'Url=http://lab-crm2016/EGA-DEV;Domain=labnet;UserName=appserver@labnet.loc;Password=xxx;AuthType=IFD');

SETDEFAULTTABLECONNECTION(TABLECONNECTIONTYPE::CRM,ConnectionName);

CRMAccount.FINDFIRST;


It looks like the tableconnection is established (no error), however running the CRMAccount.FINDFIRST; gives me that strange error. The same error i get if I run any CRM table from object designer, or if i click "Try connection" from CRM Connection Setup. I have also tried various other connection strings, but without success.

Pls. help if you have any idea.

Thanks, Michal

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>