web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Credentials Type: NAV username and password

(0) ShareShare
ReportReport
Posted on by 574

Hi, I am trying to configure NAV username and password in an isolated windows 10 pro using a workgroup and not a domain.

I manage to follow all steps, but at the very end, NAV wont pop up and just leaves an error message: Conection to server has been lost.

I am pretty stuck, and I wonder that not being in a Domain (nor Active Directory) could be the reason.
Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    What steps are you following, can you give reference to guide? Have you checked some, e.g. saurav-nav.blogspot.fi/.../nav-2013-credential-type-how-to-use.html or https://msdn.microsoft.com/en-us/library/gg502467%28v=nav.90%29.aspx ?

  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    Did you change the settings in clientusersettings.config file ? and what error information do you have in the event viewer ?

  • AntonioTorre Profile Picture
    574 on at

    Thank you Alexander. I have followed this more updated link for NAV2017 saurav-nav.blogspot.com.es/.../microsoft-dynamics-nav-2017-how-do-i.html

  • AntonioTorre Profile Picture
    574 on at

    Yes, it looks like this:

    <?xml version="1.0" encoding="utf-8"?>

    <configuration>

     <appSettings>

       <add key="Server" value="ALL-IN-ONE" />

       <add key="ClientServicesPort" value="21" />

       <add key="ServerInstance" value="secure" />

       <add key="TenantId" value="" />

       <add key="ClientServicesProtectionLevel" value="EncryptAndSign" />

       <add key="UrlHistory" value="localhost:7056/DynamicsNAV100,ALL-IN-ONE:21/secure" />

       <add key="ClientServicesCompressionThreshold" value="64" />

       <add key="ClientServicesChunkSize" value="28" />

       <add key="MaxNoOfXMLRecordsToSend" value="5000" />

       <add key="MaxImageSize" value="26214400" />

       <add key="ClientServicesCredentialType" value="NavUserPassword" />

       <add key="ACSUri" value="" />

       <add key="AllowNtlm" value="true" />

       <add key="ServicePrincipalNameRequired" value="False" />

       <add key="ServicesCertificateValidationEnabled" value="true" />

       <add key="DnsIdentity" value="NavServiceCert" />

       <add key="HelpServer" value="ALL-IN-ONE" />

       <add key="HelpServerPort" value="49000" />

       <add key="ProductName" value="" />

       <add key="UnknownSpnHint" value="(net.tcp://localhost:7056/DynamicsNAV100/Service)=NoSpn;(net.tcp://all-in-one:21/secure/Service)=NoSpn;(net.tcp://all-in-one:21/Secure/Service)=NoSpn;(net.tcp://all-in-one:21/SECURE/Service)=NoSpn;" />

     </appSettings>

    </configuration>

    In event viewer I get an error and just before a tricky information message (at the very bottom)

    Nombre de registro:Application

    Origen:        MicrosoftDynamicsNAVClient

    Fecha:         15/05/2017 21:15:53

    Id. del evento:0

    Categoría de la tarea:Ninguno

    Nivel:         Error

    Palabras clave:Clásico

    Usuario:       No disponible

    Equipo:        ALL-IN-ONE

    Descripción:

    Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException

    Fatal: True

    ShowError: True

    Message: <ii>The connection to the server has been lost. The application will close.</ii>

    StackTrace:

        at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.HandleCommunicationFailure[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options, Exception e, Int32 messageNumber, String sessionId)

        at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)

        at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)

        at Microsoft.Dynamics.Nav.Client.MetadataHandler.GetNavigationFrame(Boolean applyPersonalization, Boolean getNavigationFrameFromServer)

        at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.RefreshNavigationForm()

        at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.get_NavigationForm()

        at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(String name)

        at Microsoft.Dynamics.Framework.UI.UISession.CreateLogicalForm(String name, Boolean reuseActiveForm)

        at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.ShowLogicalForm(String formName)

        at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.RunCore()

        at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()

        at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)

    Source: Microsoft.Dynamics.Nav.Client.ServiceConnection

    HResult: -2146233088

    XML de evento:

    <Event xmlns="schemas.microsoft.com/.../event&quot;>

     <System>

       <Provider Name="MicrosoftDynamicsNAVClient" />

       <EventID Qualifiers="0">0</EventID>

       <Level>2</Level>

       <Task>0</Task>

       <Keywords>0x80000000000000</Keywords>

       <TimeCreated SystemTime="2017-05-15T19:15:53.430589300Z" />

       <EventRecordID>190249</EventRecordID>

       <Channel>Application</Channel>

       <Computer>ALL-IN-ONE</Computer>

       <Security />

     </System>

     <EventData>

       <Data>Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException

    Fatal: True

    ShowError: True

    Message: <ii>The connection to the server has been lost. The application will close.</ii>

    StackTrace:

        at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.HandleCommunicationFailure[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options, Exception e, Int32 messageNumber, String sessionId)

        at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)

        at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)

        at Microsoft.Dynamics.Nav.Client.MetadataHandler.GetNavigationFrame(Boolean applyPersonalization, Boolean getNavigationFrameFromServer)

        at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.RefreshNavigationForm()

        at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.get_NavigationForm()

        at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(String name)

        at Microsoft.Dynamics.Framework.UI.UISession.CreateLogicalForm(String name, Boolean reuseActiveForm)

        at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.ShowLogicalForm(String formName)

        at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.RunCore()

        at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()

        at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)

    Source: Microsoft.Dynamics.Nav.Client.ServiceConnection

    HResult: -2146233088

    </Data>

     </EventData>

    </Event>

    Information message right before the error:

    Server instance: SECURE

    Tenant: <ii>default</ii>

    <ii>Tenant ID: default

    Session type: RoleTailoredClient

    Session ID: 21

    A connection has been established

    Database server: ALL-IN-ONE\NAVDEMO

    Database name: Demo Database NAV (10-0).</ii>

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans