We're getting the following error just after Adjust Cost runs. We have as NAS job running Adjust Cost and the job will fail. The error is very random. It hasn't happened for 3 months and then happened 3 times in 4 days.
The following SQL error was unexpected. Execution Timeout Expired.
According to our DBA this is a SQL out of memory error. We have 32GB on the server so we're not sure where to go from here.
0
Answers
The default value is 30 mins so increase it and try again.
https://learn.microsoft.com/en-us/previous-versions/dynamicsnav-2016/dd355055(v=nav.90)?redirectedfrom=MSDN
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Would an infinite recursive function exist within the Adjust Cost process? It's standard NAV code but it's being run through NAS.
This is due to a table lock that takes longer to resolve than the timeout setting on SQL Server. You could increase the timeout, but better would be to actually solve performance issues. SQL Server setup, maintenance, and of course custom code
RIS Plus, LLC
Thanks for all the suggestions. I've been working with NAV for 20 years and after we transition to the new ERP I plan on looking at retirement. It's been a fun run but will be glad to not have the 2 AM call that NAV is "running slow".