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

How to get out on Communication protocol mismatch between the client and the server?

$
0
0
Hi,
Couple of last days I'm trying to get NAV2016 (CU4), Office 365 and Azure Active Directory to work together.
I have done installation as documentation says, but so far without success. I'm also used Best Practices Analyzer for debugging, but it can't help on this issue.

When I have VPN connection active on client computer, then I can open NAV with SSO login (ClientUserSettings: "Server" value is IP address).
If I close the VPN and change the "Server" value to localhost. After that SSO login goes right, but the NAV says: "Communication protocol mismatch between the client and the server". When I use this same ClientUserSettings on NAV server, then I could open the connection. Only difference with ClientUserSettings file and NAV Service is ClientServicesCredentialType. On NAV service it is NavUserPassword and on client it's AccessControlService. With the documentation this should be ok.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="Server" value="localhost" />
<add key="ClientServicesPort" value="7046" />
<add key="ServerInstance" value="DynamicsNAV90" />
<add key="TenantId" value="" />
<add key="ClientServicesProtectionLevel" value="EncryptAndSign" />
<add key="UrlHistory" value="localhost:7046/DynamicsNAV90" />
<add key="ClientServicesCompressionThreshold" value="64" />
<add key="ClientServicesChunkSize" value="28" />
<add key="ClientServicesKeepAliveInterval" value="120" />
<add key="MaxNoOfXMLRecordsToSend" value="5000" />
<add key="MaxImageSize" value="26214400" />
<add key="ClientServicesCredentialType" value="AccessControlService" />
<add key="ACSUri" value="https://login.windows.net/XXX.onmicrosoft.com/wsfed?wa=wsignin1.0&wtrealm=http://dynamicsnavwinclient/&wreply=http://dynamicsnavwinclient/&quot; />
<add key="AllowNtlm" value="true" />
<add key="ServicePrincipalNameRequired" value="False" />
<add key="ServicesCertificateValidationEnabled" value="true" />
<add key="DnsIdentity" value="RootNavServiceCA2" />
<add key="HelpServer" value="NAVO365" />
<add key="HelpServerPort" value="49000" />
<add key="ProductName" value="" />
<add key="UnknownSpnHint" value="(net.tcp://localhost:7046/DynamicsNAV90/Service)=NoSpn" />
</appSettings>
</configuration>

Have anyone clue on this kind of case?

Viewing all articles
Browse latest Browse all 10032

Trending Articles



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