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 :
Small and medium business | Business Central, N...
Suggested answer

NAV application server and SQL Server connection Issue

(0) ShareShare
ReportReport
Posted on by 25

Hi ,

I have installed SQL server and NAV Server on two different azure machines added same account in both the services and using  with window authentication. NAV is working fine but sometime connection suddenly breaks and generating an issue server could not be found or 
for the connection i have created an entry in host file.

...

Please suggest me any solution 

I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,237 Super User 2025 Season 2 on at
    RE: NAV application server and SQL Server connection Issue

    Please check the event log, it will have more provide more information about those errors.

  • Shristi Profile Picture
    25 on at
    RE: NAV application server and SQL Server connection Issue

    Hi suresh

    This client has also stablished same structure in 2 physicals servers .

    the point is they are not adding the internal ip in their vpn because the subdomain  of physical and azure servers are conflicting .

    Each time  issue can be  solved after restarting the server

    While opening the database i got 3 derrent errors  

    1 server not found 

    2--------------------------- Microsoft Dynamics NAV Development Environment --------------------------- The following SQL Server error or errors occurred: -2146892976,"HY000",[MicrosoSQL Server Network Interfaces: The system cannot contact a domain controller to service the authentication request. Please try again later. -2146892976,"HY000",[Microsoft][SQL Server Native Client 11.0]Cannot generate SSPI context --------------------------- OK ---------------------------

    3---------------------------- Microsoft Dynamics NAV Development Environment --------------------------- The following SQL Server error or errors occurred: 18452,"28000",[Microsoft][SQL Server Native Client 11.0][SQL Server]Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. --------------------------- OK ---------------------------

    i have checked the event log could not find proper solution 

    2.4.3 pm     The Desktop Window Manager has registered the session port.

    2.4.3 pm     The winlogon notification subscriber <NTDS> was unavailable to handle a critical notification

    2.5.53 pm    Message: The network path was not found

    Below is detailed error

    Server instance: ****

    Tenant ID:

    User: *****

    Type: System.Data.SqlClient.SqlException

    ClientConnectionId: 00000000-0000-0000-0000-000000000000

    Class: 20

    LineNumber: 0

    Number: 53

    State: 0

    Source: .Net SqlClient Data Provider

    ErrorCode: -2146232060

    Message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

    StackTrace:

        at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)

        at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)

        at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)

        at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)

        at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)

        at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)

        at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)

        at System.Data.SqlClient.SqlConnection.Open()

        at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.TryConnect()

        at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.<>c__DisplayClass15.<ExecuteAction>b__14()

    HResult: -2146232060

    ----------------------------------

    Type: System.ComponentModel.Win32Exception

    NativeErrorCode: 53

    ErrorCode: -2147467259

    Message: The network path was not found

    HResult: -2147467259

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: NAV application server and SQL Server connection Issue

    Hello,

    Their infra provider should resolve the issues first:

    ///

    This client has also stablished same structure in 2 physicals servers

    the point is they are not adding the internal ip in their vpn because the subdomain  of physical and azure servers are conflicting .

    ///

    You cannot resolve this from NAV / BC perspective.

    Thanks.

  • Shristi Profile Picture
    25 on at
    RE: NAV application server and SQL Server connection Issue

    Hello Macro ,

    we have also involves their infra provider ,

    But i want to make sure to there is no any issue at NAV end because someone is suggesting me to add a account in delegate property .

    Is it required to add the account in delegate property  which is using as a service account?

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: NAV application server and SQL Server connection Issue

    Hello,

    They do probably mean this (delegation):

    docs.microsoft.com/.../walkthrough--installing-the-microsoft-dynamics-nav-web-server-components-on-three-computers

    If there is an issue with delegation, the application event log file will show an error that the server cannot be found. Here we see another error which is related to their infra setup.

    Thanks.

  • Shristi Profile Picture
    25 on at
    RE: NAV application server and SQL Server connection Issue

    Hello macro,

    we have tried everything even changed internal ip . after suggesting by their global team . bt still issue is same .

    connectivity broken between two servers .

    now getting error SQL server does not fount .

    every time issue resolved after restarting any one of server .

    i have follow below steps for the configuring-

      1-restored DB in sql server.

      2- install nav client and server in Application server using a dedicated account .

      2- provide the account admin right and also logon right on the services

      2 - done changes in host  file

    Kindly correct me if i have forgot any step

    Is there is any way to raise a ticket in Microsoft NAV support portal .

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: NAV application server and SQL Server connection Issue

    Hello,

    Your partner or CSP should be able to do this on your behalf. Usually done via partnercenter.microsoft.com. Here is more information about support offerings:

    partner.microsoft.com/.../partnersupport

    Thanks.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sumit Singh Profile Picture

Sumit Singh 2,163

#2
OussamaSabbouh Profile Picture

OussamaSabbouh 1,908

#3
YUN ZHU Profile Picture

YUN ZHU 1,878 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans