Increasing the Maximum Number of Concurrent Requests for BarTender Licensing Service Follow

Avatar
Jasper Wen

This article only applies to BarTender 2019 R8 and higher.

The BarTender Licensing Service has a defined and configurable value for the maximum number of concurrent requests that it can handle at a time. By default, the BarTender Licensing Service is set to handle a maximum of 400 concurrent requests.

When should this value be changed?

In BarTender 2019 R8 and higher, there have been several improvements and enhancements made to reduce the number of BarTender connections and requests to the BarTender Licensing Service. In addition, the default value should be sufficient for the majority of people.

However, in certain rare situations where there are a large number of running BarTender instances concurrently making requests to the BarTender License Service, you may need to increase this value.

Increasing the Maximum Number of Concurrent Requests

To increase the BarTender Licensing Service maximum number of concurrent requests, you will need to do the following.

  1. Open the folder location of where BarTender is installed (eg. C:\Program Files\Seagull\BarTender 2019) and find the Licensing.Service.exe.Instance.config file. It is recommend that you make a copy and backup of this file in another location in case you need to revert back any changes in this file.
  2. Open the Licensing.Service.exe.Instance.config file in a text editor
  3. Find following line (line 9):
    <!--<serviceConfig MaxPendingChannels="400" />-->
  4. Uncomment this line and increase the MaxPendingChannels value. The line should look something like this with the desired value. This value can be set between 1 and 16384. The default value is 400.
    <serviceConfig MaxPendingChannels="400" />
  5. Save the Licensing.Service.exe.Instance.config file.
  6. Open Administration Console
  7. On the left menu, click on Windows Services
  8. Click the "elevate permissions" button at the top and click yes to grant user account control permissions to make changes to the BarTender services
  9. Restart the BarTender Licensing Service

Other Information

  • It is recommend that BarTender 2019 R8 (or higher) be installed on all systems (both BarTender clients and License Server system hosting the license) as additional improvements have been made to both BarTender and Licensing Service since this release.
  • If the BarTender Licensing Service maximum number of concurrent requests needs to be changed, it will only need to be done on the system running the BarTender Licensing Service accepting these requests. This is most likely the License Server system hosting the license.

  • If you do reinstall or upgrade BarTender in the future and need to increase the BarTender Licensing Service maximum number of concurrent requests, you will need to reapply the changes to the Licensing.Service.exe.Instance.config file.

Please sign in to leave a comment.