Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

A connection to SQL server is no longer usable.

(0) ShareShare
ReportReport
Posted on by

We're getting the following error: 

A connection to SQL server is no longer usable. This could be caused by one of the following reasons: 

* The server has been shut down manually or because of an error. 

* The SQL server connection settings are not correct. 

* A network failure has occurred. 

* A hardware failure has occurred on the server or on your computer. Try to connect again later or contact your system administrator.

We tried doing the following: 

You can do following

1. Open SQL Studio

2. Double clicked on the "NT AUTHORITY\NETWORK SERVICE" user under "Security / Logins"

3. Selected "User Mapping"

4. Check marked the database which neeed access to

5. Copy in "$ndo$navlistener" into "Default Schema" for selected database

6. check marked following

db_datareader

db_datawriter

db_ddadmin

We had to recreate the "NT AUTHORITY\NETWORK SERVICE" user under "Security / Logins" as it wasn't there. Inspite of doing the above steps, we're still getting the same error. How do we go about this?

*This post is locked for comments

  • xantouch Profile Picture
    xantouch 5 on at
    RE: A connection to SQL server is no longer usable.

    I faced the same problem on one Object, I recompiled the object, and I'm not having this error message anymore.

  • RE: A connection to SQL server is no longer usable.

    We you able to figure out the issue?  We've had the exact same issue on one Job Queue job.

    Sorry, just realized this is from last year and I'm not able to delete my post.

  • RE: A connection to SQL server is no longer usable.

    Yup, it is working. Changers aren't happening on the client as well as on the browser.

  • RE: A connection to SQL server is no longer usable.

    Yup, it has started. Still not working.

  • Suggested answer
    Andrey Baludin Profile Picture
    Andrey Baludin 3,941 on at
    RE: A connection to SQL server is no longer usable.

    Check that it started. I suppose it's stopped.

    4251.sql.JPG

  • Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: A connection to SQL server is no longer usable.

    Is your SQL Server service running? Check the services on your server machine.

    If the problem is related when using NAV web client, check here:

    docs.microsoft.com/.../troubleshooting--a-fatal-error-occurred.-the-connection-to-sql-server-cannot-be-established

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans