Anybody has run into this problem? on sql 2k5
If you click on file->database->information->session. and scroll through the records. navision locks up and you have to kill the client.
Ahmed Rashed Amini
Independent Consultant/Developer
blog:
https://dynamicsuser.net/nav/b/ara3n0
Comments
What could be the source of this Hanging Problem?
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Seb
RIS Plus, LLC
Just posted an supportrequest with Microsoft... Let's see what's happening now...
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
4.0 SP3 SQL Syntax:
5.0 SQL Syntax:
When watching the SQL Server Profiler...it hangs on the following statement:
Once this statement is called, Dynamics NAV hangs at around 40% utilization on my development box. After a period of time, it recovers...
What's interesting about this issue is the fact that the sort order is not by Connection ID as I'd expect. In Dynamics NAV 4.0 SP3, this issue does not occur, but in 5.0, it does...
So...what does this all mean?!
It looks to me that NAV is not getting distinct records upon the query, and for some reason, when the subquery is executed, it causes an issue in which the client locks up because it's trying to fetch a cursor position that does not exist.
How do we fix it?
Easy...set the database session table so that it is a "SELECT DISTINCT"...while there is a performance/compatibility issue with this (potentially), it seems to do the trick:
Make sure to change the database to the correct database. YMMV with this modification, but it did the trick for me...no more lock-ups and I could change the sort orders without issues.
Enjoy!
- Scott
Vice President, Deployment Operations
Symbiant Technologies, Inc.
http://www.symbiantsolutions.com
Thanks a lot.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
RIS Plus, LLC
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Dynamics NAV Enthusiast
https://premier.microsoft.com/default.a ... -us;938400
Login is required.
/Bjarne
I was at a client right now that had standard security model and it would still lock up.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n