Windows client is freezing
michaelk
Member Posts: 11
Hello there,
we have the following problem: When calling PAGE.RUNMODAL it can from a higher number of users (> 6), that all clients that are logged on to the same service freeze for about 2 minutes. During this time it is not possible to log on to this service. After that, everything continues as normal as if nothing had happened.
We've already checked the time synchronization. We have also changed the following value:
<add key = "ClientServicesKeepAliveInterval" value = "300" />
the NST and SQL Server running on a VMWare
In the Event Viewer is the following:
Source: mscorlib
HRESULT: -2146232828
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavSessionTerminatedException
Message: The server session (ID: 220) stopped due to a request for stopping the session.
StackTrace: at Microsoft.Dynamics.Nav.Runtime.SessionAccessLock.ThrowSessionTerminatedException () at Microsoft.Dynamics.Nav.Service.ServiceCall.GetClientReturnValue (Action invokeCallback) at Microsoft.Dynamics.Nav.Service.NSClientCallback.FormRunModal (NavForm shape parameter NavFormRuntimeParameters ) record at Microsoft.Dynamics.Nav.Runtime.NavForm.RunModal (NavRecord, Int32 FieldNo) at Microsoft.Dynamics.Nav.Runtime.NavForm.RunModal (Boolean isInLookupTrigger, Boolean isLookup, Int32 formid, NavRecord record, Int32 FieldNo) at Microsoft .Dynamics.Nav.Runtime.NavForm.RunModal (Boolean isInLookupTrigger, Boolean isLookup, Int32 formid, NavRecord record) at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit50000.ShowProductionBOMNo_Scope.OnRun () at Filter.InvokeWithFilter (NavMethodScope) at Microsoft.Dynamics .Nav.BusinessApplication.Codeunit50000.ShowProductionBOMNo (INavRecordHandle itemVar) at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit50000.OnInvoke (Int32 MemberID, Object [] args) at Microsoft.Dynamics.Nav.BusinessApplication.Page99000789.a60Action1000000004a62_a45_OnAction_Scope.OnRun() at Filter.InvokeWithFilter (NavMethodScope) at Microsoft.Dynamics.Nav.BusinessApplication.Page99000789.a60Action1000000004a62_a45_OnAction ()
Source: Microsoft.Dynamics.Nav.Ncl
HRESULT: -2146233088
The customer uses NAV 2013 R2 CU 27 Build 43896
Has anyone of you an idea what's wrong.
Microsoft doesn't have an idea what can it be.
yours
Michael
we have the following problem: When calling PAGE.RUNMODAL it can from a higher number of users (> 6), that all clients that are logged on to the same service freeze for about 2 minutes. During this time it is not possible to log on to this service. After that, everything continues as normal as if nothing had happened.
We've already checked the time synchronization. We have also changed the following value:
<add key = "ClientServicesKeepAliveInterval" value = "300" />
the NST and SQL Server running on a VMWare
In the Event Viewer is the following:
Source: mscorlib
HRESULT: -2146232828
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavSessionTerminatedException
Message: The server session (ID: 220) stopped due to a request for stopping the session.
StackTrace: at Microsoft.Dynamics.Nav.Runtime.SessionAccessLock.ThrowSessionTerminatedException () at Microsoft.Dynamics.Nav.Service.ServiceCall.GetClientReturnValue (Action invokeCallback) at Microsoft.Dynamics.Nav.Service.NSClientCallback.FormRunModal (NavForm shape parameter NavFormRuntimeParameters ) record at Microsoft.Dynamics.Nav.Runtime.NavForm.RunModal (NavRecord, Int32 FieldNo) at Microsoft.Dynamics.Nav.Runtime.NavForm.RunModal (Boolean isInLookupTrigger, Boolean isLookup, Int32 formid, NavRecord record, Int32 FieldNo) at Microsoft .Dynamics.Nav.Runtime.NavForm.RunModal (Boolean isInLookupTrigger, Boolean isLookup, Int32 formid, NavRecord record) at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit50000.ShowProductionBOMNo_Scope.OnRun () at Filter.InvokeWithFilter (NavMethodScope) at Microsoft.Dynamics .Nav.BusinessApplication.Codeunit50000.ShowProductionBOMNo (INavRecordHandle itemVar) at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit50000.OnInvoke (Int32 MemberID, Object [] args) at Microsoft.Dynamics.Nav.BusinessApplication.Page99000789.a60Action1000000004a62_a45_OnAction_Scope.OnRun() at Filter.InvokeWithFilter (NavMethodScope) at Microsoft.Dynamics.Nav.BusinessApplication.Page99000789.a60Action1000000004a62_a45_OnAction ()
Source: Microsoft.Dynamics.Nav.Ncl
HRESULT: -2146233088
The customer uses NAV 2013 R2 CU 27 Build 43896
Has anyone of you an idea what's wrong.
Microsoft doesn't have an idea what can it be.
yours
Michael
0
Best Answer
-
try to disable VMtool services and check.Regards,
Manish0
Answers
-
try to disable VMtool services and check.Regards,
Manish0 -
Hello,
we have discovered that the Problem is the value "MaxConcurrentCalls". When the value of calls is reach the Maximum trought Page.Runmodal call than the Client and the NST is freezing.0 -
Do you mean MaxConcurentCalls or MaxConcurrentConnections?
MaxConcurrentCalls is, by default MaxValue, so I'm curious why would you change this setting?0 -
My mistake, I was refering to NAV 2015. On NAV2013, MaxConcurentCalls is 40, by default.0
-
Hello Phenno,
I can nowhere see that this value is set to MaxValue. Nowhere in NAV 2015 or NAV2016.0 -
Wow, indeed it says default: 40...
https://msdn.microsoft.com/en-us/library/dd355055(v=nav.80).aspx
I always thought this setting is default to MaxValue.
Does this setting limits concurrent calls from one client session or for any client sessions? Why would this be set to 40 by default?
0 -
Hello Phenno,
this Setting Limits concurrent calls for all users. I don't know why I is set to 40. Maybe because 40 concurrent calls on the same NST is imprombable. But if you know that every Page.Runmodal is a new call and there is a Page which is call by his own in Runmodal mode than the number of 40 can be to few.0 -
I suppose then that purpose od setting is to protect NST from bad programming that could cause uncontrolled runmodals or similar calls.0
-
Yes this could be but the effect if the max number of calls is reach is very bad, because the hole nst is frozen. No one could work who are connectet to this nst and now one could connect to this nst.0
-
It is reproducable with pages but not with reports, even with requestpage. Anyway, I created page that calls itself for 45 times and my sessions got stuck for few minutes after which connection was down. Also tested separated clients opening 20 pages and on third client run all clients freezed. Two first clients lost connection but third one survived.0
-
Yes this is the same effect es we have. The easiest way to reproduce this Scenario is to set the value of MaxConcurrentCalls to 1. If you do this than you can start the Client but no page.runmodal Action is possible.0
-
Does that include navigation through pages opened from flowfields? User can open several pages in a row while navigating through data sometimes...0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions