NAV Server Service is Suddenly Stopped Every Day

johanna
Member Posts: 369
Dear all,
I have installed NAV 2009 R2 Build 33319 with 3-tier architecture:
-Server 1 : Database server
-Server 2 : NAV server (middle server)
-Client
My NAV server service can be started successfully. I can run RTC successfully too. But, every 3:16 AM, my NAV server service is suddenly stopped.
This is the event viewer :
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavNCLChangeListenerConnectionFailedException
SuppressMessage: False
FatalityScope: None
Message: The Microsoft Dynamics NAV Server cannot connect the Change Listener to SQL Server because of the following error: 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 Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.SetupListener()
at Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.TimerHandler(Object param)
Source: Microsoft.Dynamics.Nav.Ncl
Please help to solve this issue. Thank you very much.
I have installed NAV 2009 R2 Build 33319 with 3-tier architecture:
-Server 1 : Database server
-Server 2 : NAV server (middle server)
-Client
My NAV server service can be started successfully. I can run RTC successfully too. But, every 3:16 AM, my NAV server service is suddenly stopped.
This is the event viewer :
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavNCLChangeListenerConnectionFailedException
SuppressMessage: False
FatalityScope: None
Message: The Microsoft Dynamics NAV Server cannot connect the Change Listener to SQL Server because of the following error: 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 Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.SetupListener()
at Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.TimerHandler(Object param)
Source: Microsoft.Dynamics.Nav.Ncl
Please help to solve this issue. Thank you very much.
Best regards,
Johanna
Johanna
0
Comments
-
My NAV server service can be started successfully. I can run RTC successfully too. But, every 3:16 AM, my NAV server service is suddenly stopped.
Is the issue is sorted after restarting NAV Server Service ? or still facing the same problem ?Regards,
S.V.Sudhakar0 -
Hi sudhakarsv,
Thanks for your response
I have restarted the NAV server service and got the same result..
Please help.. Thank you..Best regards,
Johanna0 -
Please follow the below process
Walkthrough: Installing the Three Tiers on Three Computers
The below link will help you configuring the 3 tier architecture.
http://msdn.microsoft.com/en-us/library/dd301254.aspxRegards,
S.V.Sudhakar0 -
Thank sudhakarsv,
I have followed the step in the article you given..
Please help.. Thank u..Best regards,
Johanna0 -
Have you check that SQL server is up and running correct? Does NAV work again if you restart SQL server?“This posting is provided "AS IS" with no warranties, and confers no rights.”
Peter Wibeck
Software Development Engineer in Test
Dynamics NAV Server and Installer team
http://blog.wibeck.org/0 -
Thanks Peter,
I have check and found that SQL server is up and running correct. Yes, NAV work again if I restart SQL server..
NAV can run successfully. But, every morning the NAV server service is suddenly stopped.Best regards,
Johanna0 -
Did you check the Recovery Options of Microsoft Dyanamics NAV Server service. You can get to it from Services --> Right click properties and there is a tab for Recovery.0
-
Thanks Suresh Kulla
I have checked it and this is the result :
1. First Failure : Take No Action
2. Second Failure : Take No Action
3. Subsequent Failure : take No Action
4. Reset Fail Count After : 0 days
5. Enable actions for stop with errors : False (Unchecked)
Any suggestion ? Thank you.Best regards,
Johanna0 -
Check that you can login to a server using the accounts used by all areas of your services ?
Thanks0 -
Thank you MrJackal..
Yes, I can login to a server using the accounts used by all areas of my services..Best regards,
Johanna0 -
When there is some regular shut down of a service like this, very often it is because of backup or anti virus software. Take a look at those.David Singleton0
-
Thanks David..
I have checked and there is no antivirus software. What backup do you mean?
Thank you..Best regards,
Johanna0 -
johanna wrote:Thanks David..
I have checked and there is no antivirus software. What backup do you mean?
Thank you..
Often the Administrator will have anti virus and/or backup software that runs at the server level (OS) it may try to scan or backup sql or the database, and not understanding what SQL is it will take it off line to perform the task. These days most software is SQL aware, but there are still programs out there that are not.
Speak with the site administrator and ask themDavid Singleton0 -
Also check the event viewer on the SQL server to see if it's rebooting nightly. I've had systems where the dba would reboot the SQL server nightly.
-Jon0 -
spider1269 wrote:Also check the event viewer on the SQL server to see if it's rebooting nightly. I've had systems where the dba would reboot the SQL server nightly.
-Jon
:thumbsup:David Singleton0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions