Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

When you log into Microsoft Dynamics NAV you receive the following error:

”Your program license does not permit more users to work simultaneously. Wait until another user has stopped using the program. Contact your system manager if you want to allow more simultaneous users on your system”.

Cause

This error occurs when the total number of users accessing the Microsoft Dynamics NAV database at the same time has exceeded the total number of user sessions that a license gives access for. If you are licensed for 5 users and you are the 6th user trying to log into the Microsoft Dynamics NAV database, you will receive this error.

The error can occur even though the actual number of active users that are logged into the Microsoft Dynamics NAV database are less than the number of user sessions your license gives access for. The situations this may occur in are listed here:

  1. If you are using N/ODBC or C/Front, each instance of these programs that you have running will use a user session.

  2. There may be idle sessions still connected to the Microsoft Dynamics NAV database. This can happen if a user did not close Microsoft Dynamics NAV properly when exiting, or after power failures.

  3. Microsoft Dynamics NAV Database Server only
    The maximum number of sessions that are allowed to log on to the Microsoft Dynamics NAV Database server simultaneously can be specified when you start the Microsoft Dynamics NAV Database service. If the maximum number of sessions was set when the Microsoft Dynamics NAV Database service was started, no more users than this maximum can log into the NAV Database server at the same time no matter how many sessions is on the license.


Resolution

1. How to determine how may users are logged into the Microsoft Dynamics NAV database

You can see how many users are logged into the Microsoft Dynamics NAV database at any given time from the Database Sessions window. To access the Database Sessions window in Microsoft Dynamics NAV follow these steps:

  1. Go to File, Database, Information, Sessions tab

  2. Drill down into the Current Sessions field


The Database Sessions window will show a list of all sessions connected to the Microsoft Dynamics NAV database, including users, N/ODBC sessions etc.

You can filter by the Microsoft Dynamics NAV database in the Database Name field to limit the records to only show sessions connected to this database.

2. Inactive/Idle Sessions

You can delete idle user sessions from the Database Sessions window by selecting the record for the session you want to delete, right-click and select Delete, or press the Delete key.

Note: Inactive/idle sessions will automatically expire after a certain amount of time, normally 2 hours.

3. Microsoft Dynamics NAV Database Server only

When the Microsoft Dynamics NAV Database Server is installed, the Sessions parameter is automatically set equal to the number of user sessions on the license that is installed on the server. However, this setting can be changed manually so that maximum sessions are set to less than the number of user sessions on the license installed on the server

You can check Maximum Sessions by going to a command prompt; go to the directory where the Microsoft Dynamics NAV Database server is installed and type SERVER, or go to the directory where the database server is installed from Windows Explorer and double click the Server.exe file.

If Maximum Sessions are set to less than the number of user sessions on your license, the Maximum Sessions parameter can be changed in the Microsoft Database Server Manager Snap-in for Microsoft Management Console or you can change the maximum sessions parameter from the command line when you start the server by entering sessions=XX, where XX is the number of sessions. 

More Information

For more information, see the following How To articles:

How to Determine the Number of Licensed Sessions in Microsoft Dynamics NAV.

How to: Activate the License File- When you purchase additional user sessions, make sure your new license file is installed correctly. Otherwise, you will not be able to use the additional user sessions purchased.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×