Unlimited sessions nav40Sp3 SQL

juancho
Member Posts: 2
A client has the version 40 SP3 SQL. In a SQL Server 2005. He has a license for 16 users, but now are connecting more than 40.
(In File>DB>Info) If you connect with the SA user (or other user SQL administrator) The query returns all connected sessions.
If you connect with another user (NOT administrator SQL) The query returns only the same user session.
This is because the user (not administrator) does not have permission to see the other sessions. For this reason, the license control never works because when you connect, Navision has only one user connected.
I need to resolve this situation soon.
Thank you.
(In File>DB>Info) If you connect with the SA user (or other user SQL administrator) The query returns all connected sessions.
If you connect with another user (NOT administrator SQL) The query returns only the same user session.
This is because the user (not administrator) does not have permission to see the other sessions. For this reason, the license control never works because when you connect, Navision has only one user connected.
I need to resolve this situation soon.
Thank you.
0
Comments
-
Navision requires the trace flag 4616 set on SQL server 2005. The reason for this is that otherwise, the a client that is not DBowner, can not see other users loged into NAV, and thus can not correctly determine the number of concurrent sessions.
There are several ways to enable or disable a trace flag in Sql Server. The easiest way is to do it in SQL Server Configuration Manager:
In SQL Server Configuration Manager go to the properties of the SQL Server service (default is MSSQLSERVER):
In the Advanced tab, select the StartUp parameters and add ;-T4616 then click Ok.
For more info search the forum for "trace flag 4616"0 -
Dear Savatage,
I have same problem with juancho.. I'm using NAV 4 SP3 with SQL Server 2005. There are many of same connection id, user id, login type, idle time (blank), login date, login time, database name, host name, cpu time, memory usage, physical IO, wait time, blocking connection (other connection id), blocking host name in the NAV session.
Why could this happen? Because if we are open 2 NAV, we will get different connection ID. The number of the sessions is also exceed the number of users permitted in the license.
Could you help me to solve this problem?
I have set the trace flag -T4616 in the SQL Server Configuration Manager.
Please help me. Thank you.Best regards,
Johanna0 -
Anyone could help me on this case? Thank youBest regards,
Johanna0 -
did you restart the service after setting the trace flag?0
-
Thanks Sog,
Did you mean trace flag -T4616? Yes, I have set it and then restart the SQL Server Service.. But, my issue is still happen..Best regards,
Johanna0
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