NAV 2017 can't access WebClient, receive "A server error has occured..."

MarcusRB
Member Posts: 40
Hello,
I have been trying to setup and access the NAV 2017 WebClient, and I've run into an issue that I can't get past.
I followed the following guide (except step 2, 3 & 4 as I'm using Windows authentication): https://saurav-nav.blogspot.dk/2015/11/microsoft-dynamics-nav-2016-how-to.html
I'm currently receiving the following error when trying to access the WebClient:

I get this error when accessing it locally and from another computer in our domain, it also doesn't matter whether I use Internet Explorer or FireFox.
This is the logged error in my event viewer:
I'm not using the default NAV server instance, but one that was created by our (very capable) technical team,- I added a NAV webserver instance using the following command:
I have had a look at the following MSDN page: https://msdn.microsoft.com/en-us/library/hh997105(v=nav.90).aspx
And I can cross off all checkpoints.
EDIT: I am able to log into the Windows client just fine.
Best regards
MarcusRB
I have been trying to setup and access the NAV 2017 WebClient, and I've run into an issue that I can't get past.
I followed the following guide (except step 2, 3 & 4 as I'm using Windows authentication): https://saurav-nav.blogspot.dk/2015/11/microsoft-dynamics-nav-2016-how-to.html
I'm currently receiving the following error when trying to access the WebClient:

I get this error when accessing it locally and from another computer in our domain, it also doesn't matter whether I use Internet Explorer or FireFox.
This is the logged error in my event viewer:
Fejl under adgang til webstedet Microsoft Dynamics NAV 2017 Web Client
Raw URL: /NAV2017UDV/WebClient/list.aspx?spa=1&dc=0&inapp=false
URL: https://XXXXX/NAV2017UDV/WebClient/list.aspx?spa=1&dc=0&inapp=false
Type: Microsoft.Dynamics.Nav.Types.NavServerNotFoundException
Message: Der blev ikke fundet en server på "net.tcp://XXXXX:7046/NAV2017UDV/Service". Enten er URL-adressen forkert, eller serveren er ikke tilgængelig i øjeblikket.
StackTrace:
at Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.ConfirmOpenConnectionRetry(ConnectFailedEventArgs connectFailedArgs, Exception exception)
at Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.TestSpnSettings(ConnectFailedEventArgs connectFailedArgs)
at Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.OpenConnection[TChannel](ConnectionRequest connectionRequest, ConnectionOptions connectionOptions, UserSettings& userSettings)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.OpenConnection()
at Microsoft.Dynamics.Nav.Client.ServiceConnection.Initialize()
at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSessionInitializer.OpenConnectionToServer()
at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSessionInitializer.InitializeCore()
at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSessionInitializer.Initialize()
at Microsoft.Dynamics.Framework.UI.UISession.Initialize()
at Microsoft.Dynamics.Nav.Client.Web.NavWebUISessionInitializer.InitializeCore(UISession session)
at Microsoft.Dynamics.Nav.WebClient.NavWebClientUISessionInitializer.InitializeCore(UISession session)
at Microsoft.Dynamics.Nav.Client.Web.NavWebUISessionInitializer.Initialize(UISession session)
at Microsoft.Dynamics.Framework.UI.Web.ShownFormTrackingUISessionInitializer.InitializeSessionAndTrackShownInitializationForms(UISession session)
at Microsoft.Dynamics.Framework.UI.Web.LogicalFormInitializer.<>c__DisplayClass9_0.<Create>b__0()
at Microsoft.Dynamics.Framework.UI.LogicalOperationInvoker.InvokeAndHandleExceptions(Func`1 action, IExceptionHandler exceptionHandler)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
Type: System.Net.Sockets.SocketException
Message: No connection could be made because the target machine actively refused it XXX.XXX.XXX.XXX:7046
StackTrace:
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
Source: System
I'm not using the default NAV server instance, but one that was created by our (very capable) technical team,- I added a NAV webserver instance using the following command:
New-NAVWebServerInstance -WebServerInstance NAV2017UDV -Server XXXXX -ServerInstance NAV2017UDV -ClientServicesCredentialType WindowsI confirmed that it was created by opening IIS (it's on the same server as NAV).
I have had a look at the following MSDN page: https://msdn.microsoft.com/en-us/library/hh997105(v=nav.90).aspx
And I can cross off all checkpoints.
EDIT: I am able to log into the Windows client just fine.
Best regards
MarcusRB
1
Answers
-
Did you provide client port as well?0
-
mohana_cse06 wrote: »Did you provide client port as well?
If I add port number in the URL I can't even get the loading page.
EDIT:
If I use "https://localhost:8080/XX/WebClient" I get the following error:
0 -
you need to use correct port no. in your webclient config file also.
please check web client config file.
can you translate above error to English?0 -
mohana_cse06 wrote: »you need to use correct port no. in your webclient config file also.
please check web client config file.
can you translate above error to English?
I tried changing the default port 7046 to my "Client Services" port 7012, but there was really no change.
Translated error:An error occurred during a connection to <server-name>.
SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)0 -
same for me, anyone else helping here?
0
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