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)

User Name & Password error

(0) ShareShare
ReportReport
Posted on by 574

Hello, I have followed all steps to change credentials type to User Name and Password (new service tier, certificate thumprint, modifying ClientUserSettings.config file...) but when I start NAV and after asking for name/password it gets stuck for 2 or 3 minutes until this error pops up :

Application: Microsoft.Dynamics.Nav.Client.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: The connection to the server has been lost. The application will close.
Stack:
at System.Environment.FailFast(System.String, System.Exception)
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(System.Func`1<Int32>)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(System.Func`1<Int32>)
at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore()
at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.Run(Boolean)
at Microsoft.Dynamics.Nav.Client.Program.Main(System.String[])

I have dig into event viewer and found (besides this error) this warning:

Server instance: SECURE  (its the name a gave the new NST with user/password credentials)
Tenant:
<ii>The service could not add service principal names because the service account could not be found in Active Directory.
Account: NT AUTHORITY\NET SERVICE
Service principal names:
DynamicsNAV/ALL-IN-ONE:20                   (ALL-IN-ONE is my computer's name)
DynamicsNAV/ALL-IN-ONE:20</ii>

Any ideas how to solve it?

Thank you

*This post is locked for comments

I have the same question (0)
  • mmv Profile Picture
    11,471 on at

    Hi,

    if you are using the NT AUTHORITY\NETWORK SERVICE as the Login Account, could you check whether the same is been granted permissions to the correct db which is mapped in the nav service instance mentioned in your issue?

  • AntonioTorre Profile Picture
    574 on at

    Hi Mahesh, that Network service for Login Account is the same used for "standard" Windows Auth. NST, and it works fine with that service.

    I also grant permissions for that Login Account at Local Computer Logical Certificate store.

    Its kind of frustrating since it seems to  begin opening,  but menus wont show up, just the opening blue square of Microsoft Dynamics NAV.

  • ShanAbeywicrema Profile Picture
    948 on at

    Instead of NT Authority did you check with your credentials in your NAV Service ?Is it getting stopped after get this error ?

  • AntonioTorre Profile Picture
    574 on at

    Hi Shan, for some reason when I try to use my credentials in NTS I get an error message: The specified account is not valid

  • ShanAbeywicrema Profile Picture
    948 on at

    can you post here your NTS screen shot please

  • AntonioTorre Profile Picture
    574 on at

    nts2.jpg

    nts2.jpg

    nts3.jpg

  • ShanAbeywicrema Profile Picture
    948 on at

    seems your service is running. you can do following basic testing and configurations . 

    First open the database from development environment check if its opening correctly without error.

    Second go to SQL server Management studio, then security, select the user which your service is running and check following permission,

    under user mapping , select your db and bellow check following permissions, 

    public, db_owner, db_datareader, db_datawriter,  

    Now try to login into your rtc, if the error still same please let me know,

    Regards

    Shan Abeywicrema

    navsupports.com

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