Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

NAV Connection Hang

Posted on by 29

Hi Everyone,

I'm facing issue with SQL Server connection is hanged for all clients which are using AD user while SQL and NAV services are running normally.

Unless I restarted DB server, It will work fine.

Somebody help me please!

917952ce_2D00_0946_2D00_46a5_2D00_b2fa_2D00_706b4c07d4b6.jpg

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,565 Super User 2024 Season 2 on at
  • Daravuth Profile Picture
    Daravuth 29 on at
    RE: NAV Connection Hang

    Hi All,

    This is event log in SQL Server before restarting DB Server:

    Source spid45s

    Message

    The SQL Server Network Interface library could not deregister the Service Principal Name (SPN) [ MSSQLSvc/DB-SRV01.vattanacgroup.com:1433 ] for the SQL Server service. Error: 0xffffffff, state: 63. Administrator should deregister this SPN manually to avoid client authentication errors.

    What is the root cause?2768.Capture.PNG

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,565 Super User 2024 Season 2 on at
    RE: NAV Connection Hang

    Hi, As Inge and Nitin said, there are many causes for this, and if restarting the server doesn't fix it, it is recommended to check the logs in the Event when the problem occurs.

    More details:

    https://docs.microsoft.com/en-us/dynamics-nav/troubleshooting--a-fatal-error-occurred.-the-connection-to-sql-server-cannot-be-established

    https://docs.microsoft.com/en-us/dynamics-nav/troubleshooting--sql-server-connection-problems

    https://www.myerrorsandmysolutions.com/import-navencryptionkey-cannot-establish-a-connection-to-the-sql-server-database/

    pastedimage1647388735312v1.png

    Hope this will help.

    Thanks.

    ZHU

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: NAV Connection Hang

    Hi Daravuth ,

    Please try to restart your SQL service and NAV Service using local account and then choose Admin credentails, restart the services and then please try again.

    Also please try to check Event Log.

    Thanks.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: NAV Connection Hang

    That can have a lot of causes.

    Maybe you have a network / DNS issue ?

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans