Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Webclient not connecting on 3/3 nav 2017 cu 11 install

Posted on by Microsoft Employee

Hi, i'm figuring out this issue: 

I have a 3/3 nav 2017 installation freshly done following microsoft wolktthrough:

https://msdn.microsoft.com/en-us/dynamics-nav/walkthrough--installing-the-microsoft-dynamics-nav-web-server-components-on-three-computers

3 microsoft 2016 servers 

1 running navserver 

1 running sql server 

1 running the weblclient. 

i'm able to connect to nav using the nav client from any of these 3 servers. 

When I try to connect to the webclient, it's only working from the IIS server using the http://localhost or http://hostname adress but no way to connect from the ip . 

And I canno't connect from another computer nor server using the ip address or ht name of the server. 

I'm having this in the events, and i'm turing bold with this ! .... 

accounts are OK. 

all 3 servers on the same domain 

no firewall

spn seems to be good. 

Kerberos is set but ..... 

Any help will be very appreciate ! 

many thanks 

error from event just below: 

Erreur d'accès au site Web Microsoft Dynamics NAV 2017 Web Client
URL brute : /DynamicsNAV100/WebClient/list.aspx?spa=1&dc=0&inapp=false
URL : 10.68.68.122/.../list.aspx;dc=0&inapp=false
Type: Microsoft.Dynamics.Nav.Types.NavServerNotFoundException
Message: Un serveur est introuvable dans « net.tcp://navserver:7046/DynamicsNAV100/Service ». L'URL est incorrecte ou le serveur n'est pas disponible pour l'instant.
StackTrace:
à Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.ConfirmOpenConnectionRetry(ConnectFailedEventArgs connectFailedArgs, Exception exception)
à Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.OpenConnection[TChannel](ConnectFailedEventArgs connectFailedArgs, ConnectionRequest connectionRequest, ConnectionOptions connectionOptions, SpnSetting spnSettingToTry, Boolean allowSpnSettingsSwap, UserSettings& userSettings)
à Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.OpenConnection[TChannel](ConnectionRequest connectionRequest, ConnectionOptions connectionOptions, UserSettings& userSettings)
à Microsoft.Dynamics.Nav.Client.ServiceConnection.OpenConnection()
à Microsoft.Dynamics.Nav.Client.ServiceConnection.Initialize()
à Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSessionInitializer.OpenConnectionToServer()
à Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSessionInitializer.InitializeCore()
à Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSessionInitializer.Initialize()
à Microsoft.Dynamics.Framework.UI.UISession.Initialize()
à Microsoft.Dynamics.Nav.Client.Web.NavWebUISessionInitializer.InitializeCore(UISession session)
à Microsoft.Dynamics.Nav.WebClient.NavWebClientUISessionInitializer.InitializeCore(UISession session)
à Microsoft.Dynamics.Nav.Client.Web.NavWebUISessionInitializer.Initialize(UISession session)
à Microsoft.Dynamics.Framework.UI.Web.ShownFormTrackingUISessionInitializer.InitializeSessionAndTrackShownInitializationForms(UISession session)
à Microsoft.Dynamics.Framework.UI.Web.ShownFormTrackingUISessionInitializer.Initialize(UISession session)
à Microsoft.Dynamics.Framework.UI.Web.LogicalFormInitializer.InitializeSession(FormPropertyBag formBeingInitialized, ClientSession clientSession)
à Microsoft.Dynamics.Framework.UI.Web.LogicalFormInitializer.<>c__DisplayClass9_0.<Create>b__0()
à Microsoft.Dynamics.Framework.UI.LogicalOperationInvoker.InvokeAndHandleExceptions(Func`1 action, IExceptionHandler exceptionHandler)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection----------------------------------
Type: System.IO.IOException
Message: L'opération de lecture a échoué, consultez l'exception interne.
StackTrace:
à System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
à System.Net.Security.NegotiateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
à System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
Source: System----------------------------------
Type: System.ServiceModel.CommunicationException
Message: La connexion de socket a été abandonnée. Ceci peut être causé par une erreur lors du traitement de votre message, par le dépassement du délai d'attente de réception par l'hôte distant ou par un problème de ressource réseau sous-jacent. Le délai d'attente de socket local était '00:00:09.8740000'.
StackTrace:
à System.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing)
à System.ServiceModel.Channels.SocketConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
à System.ServiceModel.Channels.DelegatingConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
à System.ServiceModel.Channels.ConnectionStream.Read(Byte[] buffer, Int32 offset, Int32 count)
à System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
à System.Net.Security.NegotiateStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
à System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
Source: System.ServiceModel----------------------------------
Type: System.Net.Sockets.SocketException
Message: Une connexion existante a dû être fermée par l’hôte distant
StackTrace:
à System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
à System.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing)
Source: System

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Webclient not connecting on 3/3 nav 2017 cu 11 install

    ok that's what i was thinking...

    So no checks for me :/

    Many thnaks again for your advices and your time .

  • Suggested answer
    CDsilva Profile Picture
    CDsilva 4,184 on at
    RE: Webclient not connecting on 3/3 nav 2017 cu 11 install

    Hi

    The checks are if you are running NAV on Azure VM

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Webclient not connecting on 3/3 nav 2017 cu 11 install

    Hi I'm not sure to understand...

    My 3 servers are running under vmware.

    the checks you want me to do are in hyper-v? isnt't it?

  • Suggested answer
    CDsilva Profile Picture
    CDsilva 4,184 on at
    RE: Webclient not connecting on 3/3 nav 2017 cu 11 install

    Hi

    Check this

    1. Virtual Machine -> Choose your VM -> Network interfaces -> Choose your NI -> Overview -> "Public IP Address" -> Configuration -> "DNS Label"

    2. Virtual Machine -> Choose your VM -> Network interfaces -> Choose your NI -> Network Security Group -> Choose your NSG -> Overview -> Inbound security rules -> have :

    - webclient (port 8080)

    - ssl (HTTPS (TCP/443)) if you use HTTPS

    After you have filled this settings url to open NAV in Web client will be

    dnslabel.cloudapp.azure.com/.../WebClient

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Webclient not connecting on 3/3 nav 2017 cu 11 install

    Hi Chris, 

    Many thanks for your post but unfortunately it's still not working....

    still the same error ( see below)

    The thing I cannot handle is that now it's working from some computer on the network (only 3 for the moment), but still not working using the ip , and outside the network ....

    Erreur d'accès au site Web Microsoft Dynamics NAV 2017 Web Client
    URL brute : /DynamicsNAV100/WebClient/list.aspx?spa=1&dc=0&inapp=false
    URL : navweb/.../list.aspx;dc=0&inapp=false
    Type: Microsoft.Dynamics.Nav.Types.NavServerNotFoundException
    Message: Un serveur est introuvable dans « net.tcp://navserver.xmge.loc:7046/DynamicsNAV100/Service ». L'URL est incorrecte ou le serveur n'est pas disponible pour l'instant.
    StackTrace:
    à Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.ConfirmOpenConnectionRetry(ConnectFailedEventArgs connectFailedArgs, Exception exception)
    à Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.OpenConnection[TChannel](ConnectFailedEventArgs connectFailedArgs, ConnectionRequest connectionRequest, ConnectionOptions connectionOptions, SpnSetting spnSettingToTry, Boolean allowSpnSettingsSwap, UserSettings& userSettings)
    à Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.OpenConnection[TChannel](ConnectionRequest connectionRequest, ConnectionOptions connectionOptions, UserSettings& userSettings)
    à Microsoft.Dynamics.Nav.Client.ServiceConnection.OpenConnection()
    à Microsoft.Dynamics.Nav.Client.ServiceConnection.Initialize()
    à Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSessionInitializer.OpenConnectionToServer()
    à Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSessionInitializer.InitializeCore()
    à Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSessionInitializer.Initialize()
    à Microsoft.Dynamics.Framework.UI.UISession.Initialize()
    à Microsoft.Dynamics.Nav.Client.Web.NavWebUISessionInitializer.InitializeCore(UISession session)
    à Microsoft.Dynamics.Nav.WebClient.NavWebClientUISessionInitializer.InitializeCore(UISession session)
    à Microsoft.Dynamics.Nav.Client.Web.NavWebUISessionInitializer.Initialize(UISession session)
    à Microsoft.Dynamics.Framework.UI.Web.ShownFormTrackingUISessionInitializer.InitializeSessionAndTrackShownInitializationForms(UISession session)
    à Microsoft.Dynamics.Framework.UI.Web.ShownFormTrackingUISessionInitializer.Initialize(UISession session)
    à Microsoft.Dynamics.Framework.UI.Web.LogicalFormInitializer.InitializeSession(FormPropertyBag formBeingInitialized, ClientSession clientSession)
    à Microsoft.Dynamics.Framework.UI.Web.LogicalFormInitializer.<>c__DisplayClass9_0.<Create>b__0()
    à Microsoft.Dynamics.Framework.UI.LogicalOperationInvoker.InvokeAndHandleExceptions(Func`1 action, IExceptionHandler exceptionHandler)
    Source: Microsoft.Dynamics.Nav.Client.ServiceConnection----------------------------------
    Type: System.IO.IOException
    Message: L'opération de lecture a échoué, consultez l'exception interne.
    StackTrace:
    à System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
    à System.Net.Security.NegotiateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
    à System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
    Source: System----------------------------------
    Type: System.ServiceModel.CommunicationException
    Message: La connexion de socket a été abandonnée. Ceci peut être causé par une erreur lors du traitement de votre message, par le dépassement du délai d'attente de réception par l'hôte distant ou par un problème de ressource réseau sous-jacent. Le délai d'attente de socket local était '00:00:09.9980000'.
    StackTrace:
    à System.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing)
    à System.ServiceModel.Channels.SocketConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
    à System.ServiceModel.Channels.DelegatingConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
    à System.ServiceModel.Channels.ConnectionStream.Read(Byte[] buffer, Int32 offset, Int32 count)
    à System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
    à System.Net.Security.NegotiateStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
    à System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
    Source: System.ServiceModel----------------------------------
    Type: System.Net.Sockets.SocketException
    Message: Une connexion existante a dû être fermée par l’hôte distant
    StackTrace:
    à System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
    à System.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing)
    Source: System

  • Suggested answer
    CDsilva Profile Picture
    CDsilva 4,184 on at
    RE: Webclient not connecting on 3/3 nav 2017 cu 11 install

    Hi,

    To make you webclient Internet facing, you need to either create a self signed certificate or use an SSL certificate.

    you can refer this blog, follow the 1-6 steps

    chrisdsilvablog.wordpress.com/.../single-sign-onsso-with-office-365-using-windows-powershell-in-microsoft-dynamics-nav

  • Suggested answer
    Mouli Kaku Profile Picture
    Mouli Kaku 515 on at
    RE: Webclient not connecting on 3/3 nav 2017 cu 11 install

    Hi,

    Can you try this please 

    http://www.waldo.be/2015/08/07/port-sharing-with-nav-with-powershell/

    apart from 

    1. Firewall
    2. https://msdn.microsoft.com/en-us/library/hh167207(v=nav.90).aspx
    3. did u try by changing Dynamics NAV server Authentication type from Windows to User viceversa
    4. are you getting any error in your eventlog when you try to access webservices from outside network?
    5. is ur IIS is installed with all related tools

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans