Hi, i'm figuring out this issue:
I have a 3/3 nav 2017 installation freshly done following microsoft wolktthrough:
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
ok that's what i was thinking...
So no checks for me :/
Many thnaks again for your advices and your time .
Hi
The checks are if you are running NAV on Azure VM
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?
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
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
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
Hi,
Can you try this please
http://www.waldo.be/2015/08/07/port-sharing-with-nav-with-powershell/
apart from
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156