This site requires JavaScript to be enabled
IE BUMPER

We're currently experiencing some technical difficulties with our Chat channel. To resolve those issues please clear your browser cache and reload the page. Further information: Atricle NEW0000472

Product
Version
Incident
Language
How can we help?

Solution Suggestions

Please enter your question to get suggestions.
  Help
IE BUMPER
Categories
Boolean Operators
OR or vertical bar symbol (|)
Finds a match if either the terms exist in a document (a union using sets).
AND
Finds a match if both terms exist in a document (an intersection of sets).
NOT, minus (-), or exclamation point (!)
Excludes documents that contain the term after NOT (a difference of sets).
Wildcards
Asterisk (*)
The asterisk symbol performs a multi character wildcard search.
Percent sign (%)
The percent sign performs a single character wildcard search.
Phrases
Quotation marks (")
Use quotation marks to search for an exact phrase with multiple terms.
For examples and more information look at our Knowledge Base: Advanced Search On The Support Portal

Self-Hosted License Server trusted storage cleanup

SITUATION

You suddenly experience issues with the licensing component, such as frequent "License Lost" occurences or not being able to retrieve your licenses in Tosca Commander. You are using a Flexera self-hosted license server.

Solution

Performing the steps below will help improve the performance and stability of your self-hosted license server.  Note that during this procedure, Tosca will be unavailable to users.  Please notify users in advance of performing these steps!

  • On the machine on which the license server is installed, open the command prompt in admin mode.
    To do so, press the Windows key and type in Command Prompt. Right-click Command Prompt and select Run as administrator from the context menu.
  • Navigate to <License Server Install Directory>\License Server Deployment\<64-bit version of license server>\server
  • Stop the license server service by using flexnetls.bat -stop.
  • In Windows Explorer, navigate to the license server's trusted storage, commonly located at C:\Windows\ServiceProfiles\NetworkService\flexnetls\TRICLIC1.
    You can also search for the TRICLIC1 directory in Windows Explorer.
  • In the TRICLIC1 directory, delete all files with the extensions .mv.db and .ks.

  • Restart the License Server service by using flexnetls.bat -start.

If your license server is installed as an online license server, the cleanup is hereby complete. The system will automatically retrieve activated licenses within the next couple of minutes; the time frame depends on the quality of your internet connection. This process will be logged in the license server log file. Once the retrieval process is complete, you can start Tosca Commander and verify that all options are enabled.

If your license server is installed as an offline license server, you have to manually retrieve activated licenses. To do so, follow the steps below:

  • On the machine where Tosca Commander is installed, open Tosca Commander. Go to the Project menu and select License.
  • Click Activate and select License Server.
  • Enter an activation ID with all zeroes: 0000-0000-0000-0000-0000-0000-0000-0000. The system then creates an offline capability request file and saves it to your machine.

  • Log on to the Tricentis Support Portal and navigate to License overview.
  • Upload the capability request file you just created.
  • Once the upload is complete, refresh the page. Click the License Requests tab.
  • Download the newly created response file. Check the Created on column for time and date to make sure you download the correct response file.

  • In Tosca Commander, navigate back to Project->License->Activate->License Server. Then click Activate from file.
  • Select the response file you downloaded from the Support Portal and click OK.
    If the system generates an error message saying that the Activation Id is not valid, click OK.
  • Open the Manage tab and click Refresh.

This retrieves all your previously available licenses. In Tosca Commander, all options are once again enabled.

If you use an offline license server, we recommend you use the automated synchronization tool described in this article on a regular basis (e.g. once a week) to keep your license server performant and stable.

 

1 0

Srujan Pathakamuri

Created: 2018-08-07 03:20:18

  • Navigate to <License Server Install Directory>\License Server Deployment\<64-bit version of license server>\server

This is where it is installed usually: C:\Program Files (x86)\TRICENTIS\Tosca Server\LicenseServer\License Server Deployment

0 0

Chandra Nangineni

Created: 2019-11-19 01:46:32

Hello - I already done the clean up instructions above and able to retrieve the licenses. However, we can't check out the licenses. We are using online license server. Please let me know if I missed anything.

Nebojsa Milivojevic

2019-11-21 13:26:58

Hi Chandra,

If you're facing issues with the licensing that are not solved with this KB article, please contact our support for further assistance. 

Br

1 0

Marcel Jaritz

Created: 2020-04-24 11:04:18

Adding a short update:
The standard path to the license server install directory is different for the standalone license server installation. It's C:\Program Files\TRICENTIS\Tricentis License Server\License Server\2017.8.0\
(as opposed to the standard path for the license server installed as part of Tosca server as outlined in SRUJAN's comment).