web
You’re offline. This is a read only version of the page.
close
Skip to main content
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

I have the same question (0)
  • xantouch Profile Picture
    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.

  • Community Member Profile Picture
    on at
    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.

  • Community Member Profile Picture
    on at
    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.

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

    Yup, it has started. Still not working.

  • Suggested answer
    Andrey Baludin Profile Picture
    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
    37,166 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

Responsible AI policies

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

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans