FlexNet Licensing Administrator Guide 211 Enu
FlexNet Licensing Administrator Guide 211 Enu
Licensing Administrator's
Guide
2
9 Renew a Tekla Structures license.................................................................. 59
16 Disclaimer.......................................................................................................100
3
4
1 Tekla Structures licensing system
Tekla Structures uses FlexNet Publisher License Management version 11.12 (later on FlexNet)
licensing system. FlexNet is a licensing system provided by Flexera Software. The FlexNet
licensing system is activation-based, and it supports redundancy via a server list. In an
activation-based licensing system you need to activate your licenses to transfer the license
rights from Tekla to your license server.
Tekla Structures holds licenses in trusted storage. This means that Tekla Structures does not
support three-server redundancy, where licenses are held in license files. However, you may
have any number of license servers, and use search paths for defining and finding them.
Key steps in an activation-based licensing system
In an activation-based licensing system the following tasks need to be performed before
users can start using Tekla Structures:
• Install and set up a license server on a computer: Installing Tekla Structures license server
on page 15
• Save the entitlement certificate and activate the licenses: Activate Tekla Structures
licenses using automatic server notification on page 44
• Connect each client computer with Tekla Structures to the license server: Connect Tekla
Structures to the license server on page 47
Tekla Structures licensing system 6 Checklist of Tekla deliverables needed in Tekla Structures
licensing
• Guides
Licensing Administrator's Guide contains specific instructions on how to install and
manage the Tekla Structures license server, and on borrowing Tekla Structures licenses
for offline use.
FlexNet License Administration Guide by Flexera Software is a general guide that
contains, for example, instructions on how to create user groups and manage access
rights. This guide is provided in the license server installation package.
Tekla Structures licensing system 8 Checklist for the Tekla Structures license server
administrator
1.4 Rights needed for performing administrator's tasks in Tekla
Structures licensing
You need to have Windows administrator rights to install and manage the license server.
Some applications also need to be run as administrator separately. This depends on the
Windows version you are using.
• In Windows 7 and Windows 8/8.1 you need to log in as administrator. In some cases,
you need to run applications as administrator. To do this, go to the folder containing the
application, right-click the application and select Run as administrator from the pop-up
menu.
• In Windows Server you need to log in as administrator. In some cases, you need to run
applications with unrestricted rights. To do this, right-click the application, select Run
as.. from the pop-up menu, and clear the Run this program with restricted access
check box.
Tekla Structures licensing system 9 Distributing and managing Tekla Structures licenses
Licenses are activated on user's own Licenses are activated on a common
computer license server
license server administrator, see Checklist for
the Tekla Structures license server
administrator on page 8
No need to manage license access rights. By default, all license configurations
activated on the server are available for all
Each user activates only the licenses that are
Tekla Structures users. However, centralized
needed.
access rights management is possible.
The license server administrator can give
different users access to different
configurations. The license server
administrator needs to modify the
tekla.opt options file to manage the
license access rights. For more information
on managing license access rights, see
Modify Tekla Structures license access rights
(tekla.opt) on page 49.
Tekla Structures can be used out of office. Tekla Structures can be used out of office.
If the user's license is activated on a A user needs to borrow a license from the
computer, license borrowing or a VPN common license server or use a VPN
connection is not needed. connection to the license server to use Tekla
Structures out of office.
Licenses are used only by one person. Licenses are checked out frequently by
several users.
Users have access only to the licenses that
are activated on their own computer. If a When the licenses are activated on a
user needs a license that is activated on common server, they are available for
another computer, the user needs to use the multiple users. The licenses are checked out
other computer. Another option is to from the license server only when they are
deactivate licenses on one computer and needed. When a user does not need a license,
activate them on another, which requires the user closes Tekla Structures and the
effort. license becomes available for another user.
Switching from using one license to another
is simple.
Rules of license usage
Tekla Structures users should accept
common rules or an internal company policy.
The rules should contain regulations of
managing the licenses, for example, who is
allowed to borrow licenses. Usage of
common rules minimizes the amount of
conflicts in license management.
Tekla Structures licensing system 10 Examples of different Tekla Structures licensing system
setups
1.6 Examples of different Tekla Structures licensing system setups
The purpose of the following examples is to provide guidelines for license management in
companies or organizations of different sizes.
Example 1: One Tekla Structures user, all licenses activated on one computer
Only one user in the company uses Tekla Structures. The user installs Tekla Structures and the
license server on the same computer.
• Installing the license server is straightforward, and the default license server settings can
be used. The user does not need to modify the license server settings, because the user
runs the license server and Tekla Structures on the same computer.
• Because the user installs the license server on a computer, the user does not need to
borrow a license or use a VPN connection to use Tekla Structures out of office.
Example 2: Three Tekla Structures users, necessary licenses activated separately on each
computer
There are three Tekla Structures users in a company. Because the users use different Tekla
Structures configurations, each user installs a license server separately on the user's own
computer and activates only the needed licenses.
• A license server administrator is not needed, the users maintain their license servers.
• Because the users install the license servers on their computers, they do not need to
borrow a license or use a VPN connection to use Tekla Structures out of office.
Tekla Structures licensing system 11 Examples of different Tekla Structures licensing system
setups
Example 3: Ten Tekla Structures users, necessary licenses activated on a common license
server and one user's computer
There are ten Tekla Structures users in a company. Because the users use different
configurations, the company uses a common license server.
• The company has an internal policy for license use containing regulations for managing
the licenses.
• One of the main users is assigned as the license server administrator. The administrator
installs the license server and informs the other users of the hostname and port number
of the server. The license server administrator also performs other server maintenance
duties.
• One of the users travels a lot and needs Tekla Structures on the journeys. A license server
is installed separately on the user’s computer, so the user does not need to borrow a
license or use a VPN connection for offline use of Tekla Structures.
• Other users borrow licenses from the license server when they need to use Tekla
Structures offline.
Tekla Structures licensing system 12 Examples of different Tekla Structures licensing system
setups
Example 4: Fifty Tekla Structures users in two offices, necessary licenses activated on
two separate servers
There are fifty Tekla Structures users in two separate offices. Both offices have their own
license servers.
• Both offices have assigned license server administrators. The license server administrators
install the license servers and perform license server maintenance duties.
• The company has an internal policy for using licenses. The policy contains, for example,
the rules that define who is allowed to borrow licenses.
• Because the amount of Tekla Structures users is large, the license server administrators
create tekla.opt options files for controlling the access rights for different licenses.
• Only a couple of users need to use Tekla Structures offline. The license server
administrators modify the option files to enable the license borrowing only for those
users who need to borrow licenses.
• If one server fails, the users can connect to the license server at the other office. If there
are licenses available on the license server, the users can use the licenses.
Tekla Structures licensing system 13 Examples of different Tekla Structures licensing system
setups
Tekla Structures licensing system 14 Examples of different Tekla Structures licensing system
setups
2 Installing Tekla Structures license
server
The Tekla Structures license server installation package contains license server files,
applications for license management and guides. To install the license server software,
download the license server installation package with the latest updates from Tekla
Downloads product download service. You can also run the installation application available
on the Tekla Structures installation DVD.
You have two choices in installation:
• Automatic default installation: Select automatic installation for normal setup.
Automatic installation is recommended.
For detailed installation instructions, see Install Tekla Structures license server -
automatic installation on page 16.
• Manual installation: Use manual installation if you need to separately install the license
server, modify the license file, configure the license service, and start the server software.
This is needed if you want to use another TCP/IP port than the one used in the automatic
installation, for example. Use manual installation only if you are an advanced user of
FlexNet or FlexIm licensing.
For detailed installation instructions, see Install Tekla Structures license service - manual
installation on page 17.
Before installing Tekla Structures license server
• Install the license server using administrator's rights.
• Turn off the internal firewall and pause the antispyware/antivirus protection.
• Ensure that you have access to the Internet. The Internet connection is needed during the
license activation process. An unreliable connection speed may cause errors.
• If you are using other FlexNet licensing services, you need to stop them before you install
the Tekla Structures license server. When you have completed installing the Tekla
Structures license server, you can restart the other licensing services.
Installing Tekla Structures license server 15 Examples of different Tekla Structures licensing system
setups
See also
Problems in Tekla Structures license server installation and connecting to the license server
on page 79
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
Activating Tekla Structures licenses on page 43
Allowing Tekla Structures license server to operate through Windows Firewall on page 25
See also
Install Tekla Structures license service - manual installation on page 17
Problems in Tekla Structures license server installation and connecting to the license server
on page 79
Installing Tekla Structures license server 16 Install Tekla Structures license server - automatic
installation
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
For example, you need to install the license server manually if the default TCP/IP port 27007
is already in use by other services or applications, and you need to define another port in the
license file tekla.lic.
Before you start license server installation, stop other FlexNet licensing services.
To install the license server manually:
1. Download the license server installation package with the latest updates from Tekla
Downloads product download service.
You can also start the installation from the Tekla Structures installation DVD.
2. Select the installation language.
3. Select Manual as the licensing server installation type and complete the installation.
4. Go to the Start menu or Start screen (depending on your Windows operating system)
and open Command Prompt as administrator.
5. At the command prompt, enter the following commands:
a. cd /d %SYSTEMDRIVE%\TeklaStructures\License\Server
b. installanchorservice.exe
The licensing server is installed.
6. Modify the license file to include the hostname or IP address of the server, and the
correct TCP/IP port:
a. Open the ..\TeklaStructures\License\Server folder on the server
computer.
b. Open the tekla.lic (license file) file with a text editor.
Installing Tekla Structures license server 17 Install Tekla Structures license service - manual installation
c. Replace text localhost on the line SERVER localhost ANY with the
hostname (computer name) or IP address of the license server.
d. Enter the TCP/IP port number after text SERVER server_hostname ANY.
e. Save the changes and close the text editor.
7. Go to Tekla Structures Licensing --> LMTOOLS through the Start menu or Start
screen, depending on your Windows operating system.
8. On the Service/License File tab, click Configuration using Services.
9. On the Config Services tab to configure the licensing service:
a. In the Service Name box, enter the name of the service exactly as follows: Tekla
Structures Licensing Service.
b. Click the Browse buttons to locate the lmgrd.exe (license server manager),
tekla.lic and tekla_debug.log files.
By default, lmgrd.exe, tekla.lic and tekla_debug.log are located in
the C:\TeklaStructures\License\Server folder.
c. Select the Use Services check box to run the licensing service as a Windows service.
d. Select the Start Server at Power Up check box to start the licensing service
automatically after Windows startup.
e. Click Save Service to save the settings.
10. Go to the Start/Stop/Reread tab and click Start Server to start the license server.
Installing Tekla Structures license server 18 Install Tekla Structures license service - manual installation
11. Go to the Server Status tab and click Perform Status Enquiry.
In the status list, the line License server status shows the TCP/IP port and
hostname of the license server.
Now you can activate the licenses and connect Tekla Structures to the license server.
You can also change the language of the user interface in Tekla Structures License
Administration Tool by opening the tool and clicking Language.
See also
Modify the license file tekla.lic manually on page 19
Activate Tekla Structures licenses using automatic server notification on page 44
Configure Tekla Structures license server manually on page 21
Problems using LMTOOLS in Tekla Structures licensing on page 88
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
Installing Tekla Structures license server 19 Modify the license file tekla.lic manually
• Want to change the TCP/IP port of the licensing server
• Want to use the IP address of your computer instead of the hostname
To modify the license file tekla.lic manually:
1. Go to the ..\TeklaStructures\License\Server folder on the server
computer.
2. Open the tekla.lic file in a text editor.
3. Make the necessary changes:
• To use hostname or IP address: Replace text on the first line between words SERVER
and ANY with the hostname or IP address of your license server.
Do not delete texts SERVER and ANY when you enter the hostname or IP address of
the license server.
The following formats are valid:
Hostname:server_hostname
Domain name: server_hostname.mycompany.com
IP address: 10.0.0.12
You can check the hostname of the license server in LMTOOLS on the System
Settings tab. Go to Tekla Structures Licensing --> LMTOOLS through the Start
menu or Start screen, depending on your Windows operating system.
• To set the TCP/IP port manually: Enter the TCP/IP port number after text SERVER
server_hostname ANY.
The port number can be any free port in the range of 0 - 64000.
Installing Tekla Structures license server 20 Modify the license file tekla.lic manually
4. Save the changes and close the text editor.
5. Restart the Tekla Structures Licensing Service in LMTOOLS or Windows Services for the
changes to take effect.
See also
Install Tekla Structures license service - manual installation on page 17
LMTOOLS options and settings used in Tekla Structures licensing on page 72
Installing Tekla Structures license server 21 Configure Tekla Structures license server manually
To append the logging entries in the debug log file, start the debug log file name path
with the plus sign (+), like by default for tekla_debug.log. If the plus sign is
missing, the log file will be rewritten each time the service is started.
Use Services: Select the check box to run the licensing service as a Windows service.
Start Server at Power Up: Select the check box to start the licensing service
automatically after Windows startup.
4. Click the Save Service button to save the settings.
5. Go to the Utilities tab and do the following:
Vendor Name: Enter tekla (all letters lowercase).
Path: Enter the name of the license server.
• If you run the license server and Tekla Structures on the same computer, enter
@localhost. You can also enter the TCP/IP port, for example,
27007@localhost.
• If you run the license server and Tekla Structures on separate computers, enter the
hostname of the license server, for example, @server_hostname.
• You can also enter the TCP/IP port of the license server, for example,
27007@server_hostname. You must define the port if you use another port
than the default port.
• You can also enter several license servers. Separate the server names with a
semicolon. For example, 27007@server_hostname;27007@localhost.
6. Click the Override Path button to replace the existing license servers displayed in the
status list on the Server Status tab.
7. Go to the Start/Stop/Reread tab and start the license server by clicking Start Server.
The status bar should display a message telling that server start was successful.
8. Go to the Server Status tab and enquire the license server status by clicking Perform
Status Enquiry.
The status list displayes the TCP/IP port and hostname of the license server. The list should
indicate that license server is up and vendor daemon tekla is up. The list also displays all
the activated licenses on the server.
Installing Tekla Structures license server 22 Configure Tekla Structures license server manually
See also
Installing Tekla Structures license server on page 15
LMTOOLS options and settings used in Tekla Structures licensing on page 72
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
See also
Install Tekla Structures license server - automatic installation on page 16
Install Tekla Structures license service - manual installation on page 17
Installing Tekla Structures license server 23 Modify, repair or remove Tekla Structures license server
installation
5. At the command prompt, enter the following command:
uninstallanchorservice.exe
6. Uninstall Tekla Structures license server from the Control Panel to complete the
uninstallation.
The Tekla Structures license server is uninstalled.
Installing Tekla Structures license server 24 Uninstall Tekla Structures license server
3 Allowing Tekla Structures license
server to operate through Windows
Firewall
When you set up Tekla Structures license server in your network, you may also need to
configure the firewall and antivirus settings:
• You need to allow the applications tekla.exe and lmgrd.exe to operate through
the firewall on the license servers and on the client computers.
• The internal firewall at your company must allow the communication between the
license server computer and the computers with Tekla Structures.
• In addition to allowing the exceptions in your actual firewall, you may need to configure
exceptions for Windows Firewall. Windows Firewall may be set on without you being
aware of it, because some Windows updates may automatically turn on the Windows
Firewall.
For instructions on how to modify the firewall settings so that the Windows Firewall on the
license server allows Tekla Structures licensing traffic, see:
• Allow exceptions in firewall for lmgrd.exe and tekla.exe: Windows Server 2008 on page
25
• Allow exceptions in firewall for lmgrd.exe and tekla.exe: Windows 7, 8, 8.1, and Windows
Server 2012 on page 28
• Allow traffic in fixed TCP/IP ports: Windows Server 2008 on page 29
• Allow traffic in fixed TCP/IP ports: Windows 7, 8, 8.1 and Windows Server 2012 on page
34
In addition to Windows Firewall, the information given also applies to firewalls from other
vendors.
Allowing Tekla Structures license server to operate through 25 Allow exceptions in firewall for lmgrd.exe and tekla.exe:
Windows Firewall Windows Server 2008
3.1 Allow exceptions in firewall for lmgrd.exe and tekla.exe:
Windows Server 2008
You need to allow the applications tekla.exe and lmgrd.exe to operate through the
firewall on the license server computer to enable licensing traffic. The instructions apply to
Windows Server 2008.
5. In the Add a Program dialog box, click Browse and browse for the Server folder.
By default, the path is ...\TeklaStructures\License\Server.
6. In the Server folder, select lmgrd.exe.
Allowing Tekla Structures license server to operate through 26 Allow exceptions in firewall for lmgrd.exe and tekla.exe:
Windows Firewall Windows Server 2008
7. Click Open to add lmgrd.exe to the program list in the Add a Program dialog box.
8. In the Add a Program dialog box, ensure that lmgrd.exe is selected, and click OK.
Allowing Tekla Structures license server to operate through 27 Allow exceptions in firewall for lmgrd.exe and tekla.exe:
Windows Firewall Windows Server 2008
9. To allow the exceptions also for tekla.exe, repeat the steps 3 – 7.
10. Click OK to confirm the changes.
To allow exceptions for lmgrd.exe and tekla.exe on the license server computer:
1. Press the Windows logo key + R on your keyboard to show the Run dialog box, then
type firewall.cpl and press Enter.
2. In the left pane, click Allow a program or feature through Windows Firewall or Allow
an app or feature through Windows Firewall (depending on the operating system).
3. In Allowed programs or Allowed apps (depending on the operating system), click
Change settings.
Administrator permission is required. If you're prompted for an administrator password or
confirmation, enter the password or confirm.
Allowing Tekla Structures license server to operate through 28 Allow exceptions in firewall for lmgrd.exe and tekla.exe:
Windows Firewall Windows 7, 8, 8.1, and Windows Server 2012
4. Click Allow another program or Allow another app (depending on the operating
system).
5. Click Browse to browse for the \Server folder on the computer, select lmgrd.exe
and click Open.
By default, the path is ...\TeklaStructures\License\Server.
6. Click Add to add lmgrd.exe to the Allowed programs or Allowed apps and features
list (depending on the operating system).
7. Select both Home/Work (Private) or Private (depending on the operating system) and
Public check boxes next to lmgrd.exe.
8. Allow the exceptions also for tekla.exe by repeating the steps 4 – 7.
9. Click OK to confirm the changes.
See also
Allowing Tekla Structures license server to operate through Windows Firewall on page 25
To allow traffic in fixed TCP/IP ports in Windows Server 2008 on the license server computer:
1. Ensure that no other software or service is using the ports that you are about to set fixed.
Use the command line command netstat -anp TCP to find out which ports are in
use.
The numbers in the Local Address column after the colon (:) are the port numbers that
are in use.
Allowing Tekla Structures license server to operate through 29 Allow traffic in fixed TCP/IP ports: Windows Server 2008
Windows Firewall
2. Browse for tekla.lic, and open it using a text editor.
By default, the path is ..\TeklaStructures\License\Server.
3. To set a fixed port for lmgrd.exe, enter the TCP/IP port number at the end of the
SERVER row.
The Automatic installation option sets the port to 27007.
4. Enter the text port=free_port at the end of the VENDOR row, for example,
port=1234.
Defining the TCP/IP port number on the VENDOR row may slow down the restart time of
Tekla Structures Licensing Service.
5. Save the changes and close tekla.lic.
6. Update your license server with the changes:
a. Go to Tekla Structures Licensing --> LMTOOLS through the Start menu or Start
screen, depending on your Windows operating system.
b. Go to the Service/License File tab and ensure that Configuration using services and
Tekla Structures Licensing Service are selected.
Allowing Tekla Structures license server to operate through 30 Allow traffic in fixed TCP/IP ports: Windows Server 2008
Windows Firewall
c. Go to the Start/Stop/Reread tab and stop the license server by clicking Stop Server,
and then start the server again by clicking Start Server.
7. Click Start --> Control Panel --> Windows Firewall .
8. Click Allow a program through Windows Firewall in the left pane.
9. On the General tab, make sure that you have not selected the Don’t allow exceptions or
Block all incoming connections check box, depending on your Windows operating
system .
If you have selected the check box, the modifications do not take effect.
10. On the Exceptions tab, click Add Port.
Allowing Tekla Structures license server to operate through 31 Allow traffic in fixed TCP/IP ports: Windows Server 2008
Windows Firewall
11. In the Add a Port dialog box:
• In the Name box, enter lmgrd.
• In the Port box, enter the TCP/IP port number that you set in step 3.
Allowing Tekla Structures license server to operate through 32 Allow traffic in fixed TCP/IP ports: Windows Server 2008
Windows Firewall
• In the Name box, enter tekla.
• In the Port box, enter the TCP/IP port number that you set in step 4.
See also
Allowing Tekla Structures license server to operate through Windows Firewall on page 25
Allowing Tekla Structures license server to operate through 33 Allow traffic in fixed TCP/IP ports: Windows Server 2008
Windows Firewall
3.4 Allow traffic in fixed TCP/IP ports: Windows 7, 8, 8.1 and
Windows Server 2012
You need to modify the firewall settings to allow traffic through fixed TCP/IP port. The
following instructions apply to Windows 7, 8, 8.1 and Windows Server 2012.
To allow traffic in fixed TCP/IP ports in Windows 7, 8, 8.1 and Windows Server 2012 on the
license server computer:
1. Ensure that no other software or service is using the ports that you are about to set fixed.
Use the command line command netstat -anp TCP to find out which ports are in
use.
The numbers in the Local Address column after the colon (:) are the port numbers that
are in use.
Allowing Tekla Structures license server to operate through 34 Allow traffic in fixed TCP/IP ports: Windows 7, 8, 8.1 and
Windows Firewall Windows Server 2012
4. Enter the text port=free_port at the end of the VENDOR row, for example,
port=1234.
Defining the TCP/IP port number on the VENDOR row may slow down the restart time of
Tekla Structures Licensing Service.
5. Save the changes and close tekla.lic.
6. Update your license server with the changes:
a. Go to Tekla Structures Licensing --> LMTOOLS through the Start menu or Start
screen, depending on your Windows operating system.
b. On the Service/License File tab, ensure that Configuration using services and Tekla
Structures Licensing Service are selected.
c. Go to the Start/Stop/Reread tab and click Stop Server to stop the license server, and
then start the server again by clicking Start Server.
7. Click the Windows logo key on your keyboard to show the Start menu or Start screen,
depending on the operating system.
Allowing Tekla Structures license server to operate through 35 Allow traffic in fixed TCP/IP ports: Windows 7, 8, 8.1 and
Windows Firewall Windows Server 2012
8. Type wf.msc and press Enter. The Windows Firewall with Advance Security MMS
snap-in is displayed.
9. In the navigation tree, select Inbound Rule, and then in the Actions pane, click New
Rule.
10. On the Rule type panel, select Port and then click Next.
Allowing Tekla Structures license server to operate through 36 Allow traffic in fixed TCP/IP ports: Windows 7, 8, 8.1 and
Windows Firewall Windows Server 2012
11. On the Protocol and Ports panel, select TCP, enter the TCP/IP port numbers that you set
in steps 3 and 4 in Specific local ports, and then click Next.
Allowing Tekla Structures license server to operate through 37 Allow traffic in fixed TCP/IP ports: Windows 7, 8, 8.1 and
Windows Firewall Windows Server 2012
Allowing Tekla Structures license server to operate through 38 Allow traffic in fixed TCP/IP ports: Windows 7, 8, 8.1 and
Windows Firewall Windows Server 2012
12. On the Action panel, select Allow the connection, and then click Next.
13. On the Profile panel, select the appropriate profiles, and the click Next.
Allowing Tekla Structures license server to operate through 39 Allow traffic in fixed TCP/IP ports: Windows 7, 8, 8.1 and
Windows Firewall Windows Server 2012
14. On the Name panel, enter the name of the rule, and then click Finish.
Allowing Tekla Structures license server to operate through 40 Allow traffic in fixed TCP/IP ports: Windows 7, 8, 8.1 and
Windows Firewall Windows Server 2012
The rule is created and automatically enabled.
Allowing Tekla Structures license server to operate through 41 Allow traffic in fixed TCP/IP ports: Windows 7, 8, 8.1 and
Windows Firewall Windows Server 2012
Tekla Structures
Allow exceptions in firewall for lmgrd.exe and tekla.exe: Windows 7, 8, 8.1, and Windows
Server 2012 on page 28
Allowing Tekla Structures license server to operate through Windows Firewall on page 25
Allowing Tekla Structures license server to operate through 42 Allow traffic in fixed TCP/IP ports: Windows 7, 8, 8.1 and
Windows Firewall Windows Server 2012
4 Activating Tekla Structures licenses
You need to activate the licenses on the license server to be able to use them. When you
activate the licenses, your license server contacts the activation server at Tekla, and the
license rights are transferred to the license server at your company or, in the case of a single
user, to your computer. Tekla Structures License Administration Tool is the application
used for activating licenses. To be able to activate the licenses, you need an entitlement
certificate.
Activating Tekla Structures licenses 43 Allow traffic in fixed TCP/IP ports: Windows 7, 8, 8.1 and
Windows Server 2012
See also
Activate Tekla Structures licenses using automatic server notification on page 44
Activate Tekla Structures licensing using manual server notification on page 45
Problems in Tekla Structures license activation on page 82
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
NOTE Do not use automatic notification if you are using some other FlexNet license and
license server administration tool, such as FlexNet Manager. To notify the license
server about license changes manually, see Activate Tekla Structures licensing using
manual server notification on page 45.
4. Click the Activate cell and select the number of licenses to activate.
Activating Tekla Structures licenses 44 Activate Tekla Structures licenses using automatic server
notification
• The activated licenses are displayed in the Activated Licenses area.
• Do not forget to take a backup copy of the trusted storage of the activated licenses.
• When you open Tekla Structures License Administration Tool later on, it detects
expired and broken licenses you may have and asks if you want to deactivate or repair
them. If you select Yes, an automatic deactivation or repair is run.
Useful links
For more information about the status of the activated licenses in the trusted storage and
manual license activation, the following Support Articles in Tekla User Assistance:
How to list the activated licenses using command lines
Checking the status of the activated licenses in the trusted storage
Checking the status of the activated licenses in the trusted storage (including borrowing info)
How to activate licenses using command lines - Manual Activation
See also
Activating Tekla Structures licenses on page 43
Problems in Tekla Structures license activation on page 82
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
NOTE Do not use automatic notification if you are using some other FlexNet license and
license server administration tool, such as FlexNet Manager.
Activating Tekla Structures licenses 45 Activate Tekla Structures licensing using manual server
notification
3. Click the Activate cell and select the number of licenses to activate.
Useful links
For more information about the status of the activated licenses in the trusted storage and
manual license activation, see the following Support Articles in Tekla User Assistance:
How to list the activated licenses using command lines
Checking the status of the activated licenses in the trusted storage
Checking the status of the activated licenses in the trusted storage (including borrowing info)
How to activate licenses using command lines - Manual Activation
See also
Activating Tekla Structures licenses on page 43
Problems in Tekla Structures license activation on page 82
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
Activating Tekla Structures licenses 46 Activate Tekla Structures licensing using manual server
notification
5 Connect Tekla Structures to the
license server
To be able to use Tekla Structures on your computer, you need to connect Tekla Structures to
the licenses available on the license server.
• When you start Tekla Structures for the first time, the system asks you to define the Tekla
Structures license server.
2. Enter the port@hostname address of the license server in the Server address box.
For example, 27007@server_hostname.
You can define several license servers by separating the addresses with semicolons. For
example, 27007@server_hostname_1;27007@server_hostname_2.
3. If you want to check which licenses are available on the license server, click Check
licenses.
Connect Tekla Structures to the license server 47 Activate Tekla Structures licensing using manual server
notification
4. Click OK to start Tekla Structures.
5. If you need to redefine the license server at some point, click Tools --> Change License
Server in Tekla Structures.
The change comes into effect the next time you start Tekla Structures.
See also
Install Tekla Structures license server - automatic installation on page 16
Modify the license file tekla.lic manually on page 19
Activate Tekla Structures licenses using automatic server notification on page 44
Problems in starting Tekla Structures on page 90
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
Connect Tekla Structures to the license server 48 Activate Tekla Structures licensing using manual server
notification
6 Modify Tekla Structures license
access rights (tekla.opt)
The license server administrator may grant different users and user groups different rights by
modifying the tekla.opt options file. The administrator may allow or block certain
configurations for certain users, or prevent license borrowing for offline use. Some basic rules
need to be followed when defining Tekla Structures license access rights in the options file
tekla.opt. Otherwise the license use and license borrowing may not work.
Modify Tekla Structures license access rights (tekla.opt) 49 Activate Tekla Structures licensing using manual server
notification
• The name of the user, user group, host, or host group that is affected by the
keyword.
You can use the hostnames or IP addresses of the computers with the HOST and
HOST_GROUP keywords.
• To disable a row in the options file, enter # in the beginning of the row.
Examples of definitions:
INCLUDE PCD-C USER scarlett (Only the user scarlett is allowed to use the
Precast Concrete Detailing configuration.)
RESERVE 1 RCD-C USER vera (One license of the Cast in Place configuration is
reserved for the user vera.)
For details about the allowed keywords and configuration codes together with more
examples, Configuration codes and keywords used in access right definitions on page
50.
4. Save the changes and close the text editor.
5. Go to Tekla Structures Licensing --> LMTOOLS through the Start menu or Start
screen, depending on your Windows operating system.
6. In LMTOOLS, go to the Start/Stop/Reread tab and click the ReRead License File button
to update the changes in the license file and in the options file.
Useful links
For more information about limiting certain Tekla Structures versions to certain users, see the
following Support Article in Tekla User Assistance: How to limit certain Tekla Structures
version to certain users
Configuration codes
When you define access rights for different Tekla Structures configurations in the
tekla.opt options file, you need to add a proper code for each configuration in the
definition.
NOTE The configuration codes are backward compatible, and the codes used for licensing
in older Tekla Structures versions still work. However, the commercial product name
of the configuration may change between versions. For example, the commercial
product name for STDL-C used to be Steel Detailing Limited, but now it is Primary.
Modify Tekla Structures license access rights (tekla.opt) 50 Configuration codes and keywords used in access right
definitions
The codes for the Tekla Structures configurations are listed below:
Modify Tekla Structures license access rights (tekla.opt) 51 Configuration codes and keywords used in access right
definitions
Keyword Description Usage information
RESERVE Reserve licenses for a user/ Use with the number of
host or a group of users/ licenses and the abbreviation
hosts. of the configuration.
• When somebody is allowed to use a configuration with the INCLUDE keyword, other
users are automatically prevented from using the configuration.
• When somebody is denied to use a configuration with the EXCLUDE keyword, other
users are automatically allowed to use the configuration.
• If no rules exist, everybody is allowed to use the configuration.
Modify Tekla Structures license access rights (tekla.opt) 52 Configuration codes and keywords used in access right
definitions
Useful links
For more information about limiting certain Tekla Structures versions to certain users, see the
following Support Article in Tekla User Assistance: How to limit certain Tekla Structures
version to certain users
Modify Tekla Structures license access rights (tekla.opt) 53 Configuration codes and keywords used in access right
definitions
7 Deactivating Tekla Structures licenses
When you deactivate a license, the license rights are transferred from your license server
back to Tekla. Subsequent Tekla Structures licenses are linked to each other. This means that
you need to deactivate the previous licenses in the chain before you can activate the
subsequent licenses. Linking works also the other way around: if you have activated a
subsequent license, you cannot activate the earlier license after that.
• You need to deactivate all the licenses that are displayed on the same row in the
Activated Licenses area in the Tekla Structures License Administration Tool.
• Internet access is required in license deactivation.
• After deactivation, you can activate the licenses again on the same or on another server.
NOTE Before you deactivate licenses, ensure that the licenses are not in use or borrowed. The
borrowed licenses must be returned before they can be deactivated.
See also
Deactivate Tekla Structures licenses on page 55
Problems in Tekla Structures license deactivation on page 85
Deactivating Tekla Structures licenses 54 Configuration codes and keywords used in access right
definitions
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
NOTE Before you deactivate licenses, ensure that the licenses are not in use or borrowed.
The borrowed licenses must be returned before they can be deactivated.
To deactivate licenses:
1. Go to Tekla Structures Licensing --> Tekla Structures License Administration Tool
through the Start menu or Start screen, depending on your Windows operating system.
Start Tekla Structures License Administration Tool with administrator rights.
2. In the Tekla Structures License Administration Tool dialog box, go to the Statistic tab
and ensure that no-one is using the licenses.
3. If you have not activated the automatic server notifications (the Notify Server option in
Tekla Structures License Administration Tool), you need to stop the license server
manually in LMTOOLS:
a. Go to Tekla Structures Licensing --> LMTOOLS through the Start menu or Start
screen, depending on your Windows operating system. Start LMTOOLS with
administrator rights.
b. On the Service/License File tab, ensure that Configuration using services and Tekla
Structures Licensing Service are selected.
c. Go to the Start/Stop/Reread tab and click Stop Server.
4. In Tekla Structures License Administration Tool, go to the Licenses tab.
The Activated Licenses area lists the active licenses.
5. Select the Deactivate check box to select the license for deactivation.
If you activated more than one license of the same type in one go, you cannot deactivate
those licenses one by one, but you need to deactivate all of the licenses in one go.
6. The Deactivate button is activated, click it.
The license server contacts the activation server at Tekla. Internet access is required at this
stage. After a successful deactivation you will see the license successfully deactivated
message, and the Tekla Structures License Administration Tool dialog box is updated.
For more information about manual license deactivation, see the following Support Article in
Tekla User Assistance:
How to deactivate licenses using command line - Manual Deactivation
See also
Deactivating Tekla Structures licenses on page 54
Problems in Tekla Structures license deactivation on page 85
If your licenses have become untrusted or disabled, they cannot be used and you need to
repair them.
The license trust status is indicated in the Activated Licenses area in Tekla Structures
License Administration Tool. If a trust status symbol is green, the information is trusted, if
red, the information is untrusted.
WARNING Because of technical and security reasons, you can repair a license only a
limited number of times, which at the moment is two times a year. Therefore it
is important that you inform your local Tekla Structures reseller about the
license repairs you have been performing, and keep count of the repairs.
NOTE Licenses that have the Host trust status untrusted cannot be repaired.
• A red T (Time) indicates whether the system clock has been tampered with.
The Time trust status of your license is not trusted:
• A red R (Restore) indicates whether the license is obtained from a backup copy.
The Restore trust status of your license is not trusted:
For more information about the status of the activated licenses in the trusted storage, see
instructions in the following Support Articles in Tekla User Assistance:
Checking the status of the activated licenses in the trusted storage
Checking the status of the activated licenses in the trusted storage (including borrowing info)
License renewal means that you extend the period of use of a temporary license, or that you
take the new version's licenses into use. Before you activate a new versions's license or a new
temporary license, you need to deactivate the old temporary license.
If you are replacing an existing license, then the existing certificate needs to be deactivated
before the renewal certificate can be activated.
To renew a license:
1. Rename your previously provided entitlement certificate file to
EntitlementCertificate-OLD.html.
2. You will have been received a new entitlement certificate for the extended license by e-
mail. Download the attached entitlement certificate C:\TeklaStructures
\License\Server.
3. Go to Tekla Structures Licensing --> Tekla Structures License Administration Tool
through the Start menu or Start screen, depending on your Windows operating system.
4. In the Activated Licenses area, select the Deactivate check box next to the license you
want to deactivate.
5. Click the enabled Deactivate button.
This will deactivate your license. When deactivation is completed, you will see a message
about it.
6. Now you can activate your extended license normally Tekla Structures License
Administration Tool. For more information, see Activate Tekla Structures licenses using
automatic server notification on page 44
See also
Problems in Tekla Structures license deactivation on page 85
Problems in Tekla Structures license activation on page 82
We recommend that you have the newest version of Tekla Structures license server software
installed on the Tekla Structures license server. Tekla Structures license server is backward
compatible with Tekla Structures.
The version of Tekla Structures License Borrow Tool should be the same as the version of
Tekla Structures license server. For more information about the compatibility between Tekla
Structures versions and Tekla Structures license server versions, see Tekla Structures 21.1
Hardware recommendations.
Before you start the license server update, turn off the internal firewall and pause the
antispyware/antivirus protection.
To update the Tekla Structures license server:
1. Go to Tekla Structures Licensing --> LMTOOLS through the Start menu or Start
screen, depending on your Windows operating system.
2. On the Stop/Start/Reread tab, click Stop Server to stop the Tekla Structures license
server and any other licensing services.
When you have completed installing the Tekla Structures license server, you can restart
the other licensing services.
3. Backup any files you have modified in the C:\TeklaStructures\License
\Server folder.
You do not need to back up tekla.lic or tekla.opt, because the installer will not
changes these files.
4. Download the latest version of the Tekla Structures license server on the server or
computer from Tekla Downloads.
5. Install the downloaded license server with administrator rights using the automatic
installation for normal setup. Follow the instructions displayed on the screen.
See also
Problems in Tekla Structures license server installation and connecting to the license server
on page 79
Update the Tekla Structures license server 60 Deactivate Tekla Structures licenses
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
Update the Tekla Structures license server 61 Deactivate Tekla Structures licenses
11 Borrowing Tekla Structures licenses
for offline use
When you want to work offline, you can borrow an activated license from the Tekla
Structures license server. The borrowed license is transferred from the license server to your
computer, so it is not available for other users during the borrowing. Also a product file is
needed for borrowing licenses. You do not need to borrow a license for offline use if you have
installed a license server on your computer.
You can borrow Tekla Structures licenses for offline Tekla Structures use in Tekla Structures
License Borrow Tool:
• The version of Tekla Structures License Borrow Tool should be the same as the version
of Tekla Structures license server.
• The maximum license borrow duration is one month. You define the borrow expiration
date when you borrow the license.
• The borrowed license is reserved for you until the borrowing period expires, or until you
return the license, depending on which comes first.
• You need a network connection to the license server while you are borrowing or
returning a license. You can also borrow licenses through a VPN connection. After
borrowing, you can turn off the network or VPN connection and work with the borrowed
license.
• When you want to stop borrowing a license, return it to the license server.
Product ID file
A product ID (.tpi) file is needed for borrowing licenses. The product ID file contains all the
information needed in license borrowing.
When you install Tekla Structures License Borrow Tool, the standard.tpi file is
automatically installed in the ..\TeklaStructures\License\Borrow folder. This
default product ID file lists all Tekla Structures configurations and their product IDs. However,
you can only borrow the licenses that are activated for you on the license server. If you want
that Tekla Structures License Borrow Tool only displays the activated licenses, ask your
license server administrator for a customized product ID file and open it in Tekla Structures
License Borrow Tool when you start license borrowing.
Borrowing Tekla Structures licenses for offline use 62 Deactivate Tekla Structures licenses
See also
Set up Tekla Structures License Borrow Tool for Tekla Structures offline use on page 64
Return a borrowed Tekla Structures license on page 66
Modify Tekla Structures license access rights (tekla.opt) on page 49
Problems in Tekla Structures license borrowing on page 86
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
Because the default product ID file lists all configurations, the offline users need to have a
customized product ID file that only lists the activation IDs of the activated licenses available
for borrowing. You need to export the product ID file on the license server computer using
Tekla Structures License Administration Tool and send the file to the users who borrow
licenses. The activation IDs are encrypted.
WARNING Product ID files are not updated automatically. If you deactivate borrowable
licenses or activate new licenses for borrowing, you need to export a new
product ID file and send it to Tekla Structures offline users who borrow licenses.
To export the product ID file on the Tekla Structures license server computer:
1. Go to Tekla Structures Licensing --> Tekla Structures License Administration Tool
through the Start menu or Start screen, depending on your Windows operating system.
2. Click Export.
3. In the Save Product ID file As dialog box, enter the name of the product ID file or keep
the default file name, select a folder where you want to save the file and click Save.
If the name of the file is standard.tpi and the file is saved in the ..
\TeklaStructures\License\Borrow folder on the user’s computer, the file is
opened automatically when the user starts Tekla Structures License Borrow Tool.
4. Send the product ID file to the Tekla Structures users who need to borrow licenses and
inform the users about the usage of the file.
If the name of the file is standard.tpi and the file is saved in the ..
\TeklaStructures\License\Borrow folder on the user’s computer, the file is
opened automatically when the user starts Tekla Structures License Borrow Tool.
See also
Set up Tekla Structures License Borrow Tool for Tekla Structures offline use on page 64
Borrowing Tekla Structures licenses for offline use 63 Provide offline users with a customized product ID file
11.2 Set up Tekla Structures License Borrow Tool for Tekla Structures
offline use
You can use Tekla Structures offline by borrowing Tekla Structures licenses with Tekla
Structures License Borrow Tool.
Before you start, download and install the latest Tekla Structures License Borrow Tool from
the Tekla Downloads product download page. The installer is also available on the Tekla
Structures installation DVD.
You can use the same Tekla Structures License Borrow Tool for borrowing licenses for
different Tekla Structures versions. The version of Tekla Structures License Borrow Tool
should be the same as the version of Tekla Structures license server.
To set up Tekla Structures License Borrow Tool for Tekla Structures offline use:
1. Go to Tekla Structures License Borrow --> Tekla Structures License Borrow Tool
through the Start menu or Start screen, depending on your Windows operating system.
2. In the Borrow from License Server dialog box, enter the port number and the hostname
(computer name) of the license server in the Server box in the format
port@hostname, for example, 27007@server_hostname.
3. Click OK.
4. If you administrator has sent you a customized product ID file, open the file now and
update the list of accessible licenses:
a. Click Open.
b. In the Select Product ID file dialog box, select the product ID file and click Open.
The Products area in the Tekla Structures License Borrow Tool is updated.
5. In the Tekla Structures License Borrow Tool dialog box, click Language and change the
language of the Tekla Structures License Borrow Tool user interface, if necessary.
NOTE When you start Tekla Structures, and if Tekla Structures does not start with the borrowed
license, enter an asterisk (*) in the Server address box of the Connect to License Server
Borrowing Tekla Structures licenses for offline use 64 Set up Tekla Structures License Borrow Tool for Tekla
Structures offline use
dialog box. This will force Tekla Structures to search for all possible locations for the license.
This may take a while.
Before you can borrow a license, you need to install Tekla Structures License Borrow Tool,
connect the computer with Tekla Structures to the license server and open the product ID
file.
For more information about the prerequisites, see Set up Tekla Structures License Borrow Tool
for Tekla Structures offline use on page 64.
To borrow a Tekla Structures license:
1. Close Tekla Structures.
2. Go to Tekla Structures License Borrow --> Tekla Structures License Borrow Tool
through the Start menu or Start screen, depending on your Windows operating system.
3. In the Products area, click the Borrow Until box and select the expiration date for the
borrowing period from the calendar.
The maximum borrowing period is one month. The exact maximum borrow period varies
between 29 to 32 days depending on the borrowing date.
5. To ensure that the borrowing succeeded, disconnect your computer from the license
server and start Tekla Structures with the borrowed license.
See also
Problems in Tekla Structures license borrowing on page 86
Borrowing Tekla Structures licenses for offline use 65 Borrow a license from Tekla Structures license server
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
View and diagnose errors in Tekla Structures license activation, deactivation and borrowing
on page 78
Borrowing Tekla Structures licenses for offline use on page 62
A borrowed license is automatically available on the license server on the day following the
expiration date.
However, the Borrowed Licenses area in Tekla Structures License Borrow Tool is not
automatically updated. The license should be returned to the server that has the same name
as the name of the server from which the license was borrowed. We recommend that you
always return the expired licenses when you want to stop borrowing a license.
To return a borrowed Tekla Structures license:
1. Ensure that you are connected to the license server.
2. Close Tekla Structures.
3. Go to Tekla Structures License Borrow --> Tekla Structures License Borrow Tool
through the Start menu or Start screen, depending on your Windows operating system.
4. Select the Return check box in the Borrowed Licenses area to select the license for
returning.
5. Click the Return button to return the license.
After successful returning of licenses, the Borrowed Licenses area is updated.
See also
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
Borrowing Tekla Structures licenses for offline use 66 Return a borrowed Tekla Structures license
12 Tekla Structures License
Administration Tool options and
settings
Tekla Structures License Administration Tool displays information about entitled licenses,
activated licenses and license use. You can also activate, deactivate, and repair licenses in the
tool.
Entitled licenses
The Entitled licenses area on the Licenses tab displays information on the licenses your are
entitled to. Here you can also activate licenses.
Column Description
Activate Used for activating licenses. Displays the number of licenses to
be activated.
Quantity The number of total licenses of the configuration.
Order ID The order ID of the license.
The order ID helps to identify which licenses are linked to each
other and which license needs to be deactivated before a new
license can be activated.
Activation ID The activation ID of the license.
Description The abbreviation of the configuration.
Configuration The name of the configuration.
Version The version number of the configuration.
Type Indicates whether the license is for domestic or enterprise use.
Start Date The date when the license came into effect.
Tekla Structures License Administration Tool options and 67 Return a borrowed Tekla Structures license
settings
Column Description
Expiration Date The date when the license expires. If the license is permanent,
the word Permanent is shown instead of the expiration date.
Activated Licenses
The Activated Licenses area on the Licenses tab displays information about activated
licenses. Here you can also deactivate licenses.
Column Description
Tekla Structures License Administration Tool options and 68 Return a borrowed Tekla Structures license
settings
Column Description
Expiration Date The date when the license expires. If the license is permanent,
the word Permanent is shown instead of the expiration date.
Type Indicates whether the license is for domestic or enterprise use.
Activation ID The activation ID of the license.
Order ID The order ID of the license.
The order ID helps to identify which licenses are linked to each
other and which license needs to be deactivated before a new
license can be activated.
Column Description
Configuration The name of the configuration.
Description The abbreviation of the configuration.
Total The number of activated licenses.
In Use The number of licenses in use.
Borrowed The number of borrowed licenses.
Free The number of free licenses.
See also
Activate Tekla Structures licenses using automatic server notification on page 44
Deactivate Tekla Structures licenses on page 55
Tekla Structures License Administration Tool options and 69 Return a borrowed Tekla Structures license
settings
13 Tekla Structures License Borrow Tool
options and settings
Tekla Structures License Borrow Tool displays information about licenses that are available
for borrowing and the licenses that have been borrowed. You can also borrow and return
licenses
The Products area displays information on licenses, and allows you to set the expiration date
for the license borrowing:
Option/Setting Description
Borrow Until Select an expiration date for a borrowed license. One month is the maximum.
Configuration The name of the configuration that you are borrowing.
Version The version number of the configuration.
Activation ID In Indicates whether the activation ID is used for borrowing. The box is selected
Use only if you are using a customized and exported product ID file.
Start Date The date when the license came into effect.
Expiration Date The date when the license expires.
The Borrowed Licenses area displays information on borrowed licenses, and allows you to
return borrowed licenses.
Option/Setting Description
Return Used for returning licenses.
Tekla Structures License Borrow Tool options and settings 70 Return a borrowed Tekla Structures license
Option/Setting Description
Trust Status The Host (H), Time (T) and Restore (R) Trust Status. Green symbol indicates
that information is trusted. Red symbol indicates that information is not
trusted. If any of these are not trusted, the license cannot be used.
• Host indicates whether the server has been moved from one computer to
another or the computer hardware has radically changed.
• Time indicates whether the system clock has been tampered with.
• Restore indicates whether the license is obtained from a backup copy.
Enabled Indicates whether the license is enabled or disabled. For example, a license
may be disabled if there is a disconnection during the borrowing. A disabled
license cannot be used.
Configuration The name of the configuration.
Version The version number of the configuration.
Borrow Until The date when the borrowing expires.
Borrowed From The license server from where the license is borrowed.
See also
Borrowing Tekla Structures licenses for offline use on page 62
Problems in Tekla Structures license borrowing on page 86
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
View and diagnose errors in Tekla Structures license activation, deactivation and borrowing
on page 78
Tekla Structures License Borrow Tool options and settings 71 Return a borrowed Tekla Structures license
14 LMTOOLS options and settings used
in Tekla Structures licensing
LMTOOLS is a graphical user interface that allows you to administer the license server. This
utility is provided by Flexera Software.
NOTE If you are using FlexNet Manager by Flexera Software for managing licenses, do not
use LMTOOLS.
In addition to Tekla Structures licenses, you can also manage licenses of other software that
are using FlexNet or FLEXIm. You can also run LMTOOLS on client computers to check the
status of the licenses on the license server.
Go to Tekla Structures Licensing --> LMTOOLS through the Start menu or Start screen,
depending on your Windows operating system.
Option/Setting Description
Configuration using License Not used.
File
Configuration using Services You must always have Configuration using Services and
Tekla Structures Licensing Service selected on the
Service/License File tab when you manage Tekla Structures
licenses. These options are selected by default during the
installation of the Tekla Structures license server. If you
need to configure the license server manually, see Configure
Tekla Structures license server manually on page 21.
LMTOOLS ignores license Not used.
path environment variables
LMTOOLS options and settings used in Tekla Structures 72 Return a borrowed Tekla Structures license
licensing
Option/Setting Description
Hostid Settings Computer/Hostname
Username
CPU ID
IP Address
Etnernet Address
Disk Volume Serial Number
FLEXID
Time Settings System Time Zone
GMT Time
Difference from UTC
MSDOS Time
Local Time
Windows Directory
Save HOSTID info to a file Save the hostid information to a text file.
Utilities tab
You can affect the information that is displayed in the status list on the Server Status tab by
defining values on the Utilities tab. By default, the status list displays information about all
the license servers you are connected to.
Option/Setting Description
File Name Find out the version of FlexNet Licensing linked with a file.
Useful for diagnosing errors. Browse for the file and click
Browse
Find Version.
Find Version
Vendor Name An example of the vendor name and path:
Path Vendor Name: tekla
Add Vendor Path Path: 27007@myserver (port and license server
Override Path computer name/hostname)
List All Vendor Paths The Vendor Name that is used for Tekla Structures license
server is tekla (all letters lowercase).
Add a licensing service to be listed in the status list on the
Server Status tab, enter the vendor information in the
Vendor Name and Path boxes and click Add Vendor Path.
If you want the status list to only display information on
certain license servers, enter the vendor information in the
Vendor Name and Path boxes and then click Override
LMTOOLS options and settings used in Tekla Structures 73 Return a borrowed Tekla Structures license
licensing
Option/Setting Description
Path to replace the existing license servers displayed in the
status list.
The List All Vendor Paths button lists all the licensing
services that are displayed in more detail in the status list
on the Server Status tab.
Start/Stop/Reread tab
On the Start/Stop/Reread tab, you can stop and start the license server, and adjust some
setting related to stopping the server.
NOTE When you perform actions concerning the Tekla Structures license server, Tekla
Structures Licensing Service must be active in the FlexNet license services
installed on this computer list. You can select Tekla Structures Licensing Service
from the services list on the Service/License File tab.
Option/Setting Description
FlexNet license services Lists all FlexNet license services available on the license
installed on this computer server computer.
Always ensure that Tekla Structures Licensing Service is
active in the FlexNet license services installed on this
computer list when you perform actions concerning the
Tekla Structures license server.
• Activate Tekla Structures Licensing Service by
selecting it from the services list on the Service/
License File tab.
Start Server Starts the license server that is active in the FlexNet
license services installed on this computer list.
Stop Server Stops the license server that is active in the FlexNet
license services installed on this computer list. When
you click the button, the status bar displays the message
Stopping the Server, and it takes a couple of seconds to
stop the license server. The message does not change when
the server is stopped.
If Stop Server does not stop the server, select the Force
Server Shutdown check box and click Stop Server again.
ReRead License File Updates the license server without stopping and starting
it. You need to use this button, when you manually notify
the license server about license changes.
For more information, see Activate Tekla Structures
licensing using manual server notification on page 45 .
Advanced settings
LMTOOLS options and settings used in Tekla Structures 74 Return a borrowed Tekla Structures license
licensing
Option/Setting Description
Restrict lmdown to work only When this option is selected, you can stop the server only
from node where lmgrd is on the server computer. No-one can accidentally stop the
running. license server on a client computer.
We recommend that you use this option.
Disable lmdown utility, use When this option is selected, you cannot stop the server in
task manager. LMTOOLS. The server can only be stopped in Windows
Task Manager.
Disable ’lmremove’ of license Not in use in Tekla Structures licensing.
file.
LMTOOLS options and settings used in Tekla Structures 75 Return a borrowed Tekla Structures license
licensing
1. Indications the configuration for which license information is displayed. In this case, Full
Detailing.
2. The number of activated licenses on the license server
3. The number of the licenses in use; checked out from the license server or borrowed
4. A borrowed license
5. On which computer the license was borrowed
6. Tekla Structures license version
7. Time when the license was borrowed
8. Licenses checked out from the license server
9. On which computer and display the user has checked the license out. In this case, the
user is user4, the computer and display names are computer7.
10. The license server hostname/port from where the license is checked out
11. Time when the Tekla Structures session was started
12. Usage of licenses of other configurations. In this case, Precast Concrete Detailing.
NOTE If you have problems with the license server, send a copy of the tekla.lic,
tekla.opt, and tekla_debug.log files to your local Tekla Structures
support. The information on the Server Diags tab is not detailed enough to solve
some of the problems.
LMTOOLS options and settings used in Tekla Structures 76 Return a borrowed Tekla Structures license
licensing
1. The license server port@hostname
2. Common information for all Tekla Structures license server installations
3. On which configuration the information is displayed. In this case it is Viewer.
4. Tekla Structures license version
5. The license server hostname
6. The expiration date of the license. In this case, the license is permanent.
NOTE Whenever you make modifications or perform any actions in LMTOOLS concerning
the Tekla Structures license server, you need to have Tekla Structures Licensing
Service selected in the Service Name list.
Borrowing tab
WARNING Use Tekla Structures License Borrow Tool for borrowing Tekla Structures
licenses. Do not use the Borrowing tab of LMTOOLS with Tekla Structures
licenses.
LMTOOLS options and settings used in Tekla Structures 77 Return a borrowed Tekla Structures license
licensing
15 Troubleshooting Tekla Structures
licensing
Click the links below for help in solving problems encountered in the following areas:
• View and diagnose errors in Tekla Structures license activation, deactivation and
borrowing on page 78
• Problems in Tekla Structures license server installation and connecting to the license
server on page 79
• Problems in FlexNet on page 81
• Problems in Tekla Structures license activation on page 82
• Problems in Tekla Structures license deactivation on page 85
• Problems in Tekla Structures license borrowing on page 86
• Problems in Tekla Structures license trusted storage on page 87
• Problems using LMTOOLS in Tekla Structures licensing on page 88
• Problems in starting Tekla Structures on page 90
• Problems with options file tekla.opt on page 92
For more information about error messages starting with an error code, see Problems in Tekla
Structures licensing: Error codes and their descriptions on page 93.
Troubleshooting Tekla Structures licensing 78 View and diagnose errors in Tekla Structures license
activation, deactivation and borrowing
License(s), Borrowing License(s) or Returning Borrowed License(s) dialog boxes, depending
on the subject of the error.
• You can view more detailed information about an error by clicking the View button in an
error dialog box.
• Tekla Structures License Administration Tool and Tekla Structures License Borrow
Tool automatically create zip packages of all necessary files required for diagnosing the
errors in the C:\TeklaStructures\License\Server\Reports folder and in
the %TEMP%\Tekla Structures License Borrow Tool\Reports folder.
Click Browse in the error dialog box to browse for the folder containing the error report
package. You can send the package to your local support to get help.
The error report package contains the following files:
tekla_debug.log - Tekla Structures license server debug log file
error.txt - error report, contains error information. The Tekla Structures License
Borrow Tool zip package only contains this file.
tekla.opt - access rights options file
tekla.lic - Tekla Structures license file
See also
Troubleshooting Tekla Structures licensing on page 78
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
License server installation fails, and the following message is displayed: "A newer
version of this application is already installed on this computer. If you wish to install
this version, please uninstall the newer version first. Click OK to exit the wizard."
Reason: You have a newer version the license server installed.
Solution: You should not install an old version of the license server. Check the latest
available license server release on the Tekla Downloads product download page.
The license server version is not dependent on the Tekla Structures. However, if you need to
use an older version of the license server for some reason, uninstall the newer version on
your computer before installing the older version.
Troubleshooting Tekla Structures licensing 79 Problems in Tekla Structures license server installation and
connecting to the license server
Solution: Stop all licensing services in LMTOOLS, then install the Tekla Structures license
server and restart the licensing services you stopped earlier:
1. Go to Tekla Structures Licensing --> LMTOOLS through the Start menu or Start
screen, depending on your Windows operating system.
2. On the Service/License File tab, ensure that Configuration using services is selected,
select a license service from the services list, go to the Start/Stop/Reread tab and click
Stop Server.
Do the same for all the services you need to stop.
3. Install the Tekla Structures license server.
4. In LMTOOLS, start the licensing services you stopped earlier.
Problem in license server connection. The following message is displayed: "Error when
connecting to the license server. Contact your system administrator or try another
server".
Reason: This problem is often related to firewall settings.
Solution: Check that your firewall allows the client to contact the license server.
License library initialization failed with error: The licensing service is not installed.
Reason: The error occurs when you are starting Tekla Structures License Administration
Tool, or when you are trying to run serveractutil.exe command line tool.
Solution: If you selected the Manual option for Tekla Structures licensing service installation
then you need to manually install FLEXnet licensing service:
1. If you have some other FlexNet licensing service running on the server, stop it before
entering the commands.
2. Go to the Start menu or Start screen, depending on your Windows operating system,
and open Command Prompt as an administrator.
3. At the command prompt, type the following commands:
cd /D full_path_to_installation_directory
For example, if you install Tekla Structures license server to the default folder, you need
to enter cd /D C:\TeklaStructures\License\Server.
installanchorservice.exe
Troubleshooting Tekla Structures licensing 80 Problems in Tekla Structures license server installation and
connecting to the license server
• Ensure that Local Area Network connection is established. The license server and the
client computers need to be in the same Local Area Network.
• Turn off the firewall and pause the antispyware/antivirus protection of your computer.
After the steps above do the following on your company's license server:
1. Make sure that no one is using Tekla Structures (ask all users to close Tekla Structures).
2. Go to C:\TeklaStructures\License\Server and open the tekla.lic file
in a text editor.
3. Add a free TCP/IP port for the licensing service at the end of the first row, if it does not
exist by default. Note that the automatic installation option sets the port by default to
27007.
Example of the first row: SERVER MYSERVER ANY 27007, where MYSERVER is
the license server and 27007 is the port.
4. Save and close the file after changes.
5. Go to Tekla Structures Licensing --> LMTOOLS through the Start menu or Start
screen, depending on your Windows operating system.
6. On the Service/License File tab, ensure that Configuration using services and Tekla
Structures Licensing Service are selected.
7. On the Start/Stop/Reread tab, click Stop Server. Wait couple of seconds and click on
Start Server.
After defining the server and the port, do the following on your Tekla Structures
workstations:
1. Start Tekla Structures.
2. In the Connect to License Server dialog box, add the port to the front of the server
definition and click OK.
Example: 27007@MYSERVER
See also
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
Installing Tekla Structures license server on page 15
LMTOOLS options and settings used in Tekla Structures licensing on page 72
Allowing Tekla Structures license server to operate through Windows Firewall on page 25
See also
Installing Tekla Structures license server on page 15
Uninstall Tekla Structures license server on page 23
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
License activation fails, and the following message is displayed: "Unable to activate
more licenses than you are entitled to".
Reason: There are a couple of possible reasons for the problem:
• You may have activated licenses on another computer. You cannot activate more licenses
than you are entitled to.
• You tried to activate a renewed temporary license or a permanent license without
deactivating the previous temporary license.
Solution: There are two possible solutions:
• Deactivate a license on another computer and then activate the license on your
computer.
• Deactivate the existing temporary license and then activate the succeeding linked
license.
For more information about deactivating licenses, see Deactivate Tekla Structures licenses on
page 55.
The amount of activated licenses in Tekla Structures License Administration Tool and
LMTOOLS does not match.
No warning is displayed, even though the temporary license will expire within one
month.
Reason: The expiry warning message appears only when someone uses the expiring license.
Probably there are several permanent licenses (that have been activated first) and some
temporary licenses that have been activated after the permanent ones.
When somebody starts Tekla Structures, the system uses licenses in the order of activation.
For example, if you have 10 permanent and 2 temporary licenses, all 10 licenses must be in
use before someone obtains the temporary license, and receives the warning about the
expiring license.
When you try to open the entitlement certificate in Tekla Structures License
Administration Tool, nothing is shown.
Reason 1: You have not downloaded the attached entitlement certificate from your e-mail
application, but opened the certificate in an Internet browser and saved it as an .html file
from the browser.
Solution: Open the e-mail containing the entitlement certificate attachment
EntitlementCertificate.html. Download the entitlement certificate to the ..
\TeklaStructures\License\Server folder from e-mail. Then try to open it again
in Tekla Structures License Administration Tool by clicking Open.
For more information, see Activate Tekla Structures licenses using automatic server
notification on page 44.
Reason 2: The virus protection system of your computer has removed the Tekla logo from the
license entitlement certificate.
Solution: The sender of the entitlement certificate should zip the entitlement certificate file.
Unzip the entitlement certificate file on the computer where the licenses are going to be
activated.
License was activated successfully, but the following error message is displayed when
Your licenses no longer appear as activated licenses, or old version licenses are
activated, but they do not work.
Reason: Windows system restore may cause problems for licensing. For more information,
see Windows system restore might affect your model and licensing.
Useful links
For more information about the status of the activated licenses in the trusted storage, see
instructions in the following Support Articles in Tekla User Assistance:
Checking the status of the activated licenses in the trusted storage
Checking the status of the activated licenses in the trusted storage (including borrowing info)
See also
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
Reason: You cannot select a license for deactivation if the license is still borrowed.
Solution: Return the license and then deactivate the license.
See also
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
Deactivating Tekla Structures licenses on page 54
Unable to select a date from the calendar in the Borrow Until box.
Reason: The maximum borrowing period is one month.
Solution: In Tekla Structures License Borrow Tool, select a date that is within one month
from the date of borrowing:
1. Go to Tekla Structures License Borrow --> Tekla Structures License Borrow Tool
through the Start menu or Start screen, depending on your Windows operating system.
2. In the Products area, click the Borrow Until box and select from the calendar the
expiration date that is within one month from the date of borrowing.
See also
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
Borrowing Tekla Structures licenses for offline use on page 62
Reason: The Host (H) trust status of your license is not trusted. Hardware setup of your
server computer has changed radically.
Solution: The licenses with the untrusted H trust status cannot be repaired. Contact your
local Tekla Structures support.
We recommend that you run your license server on a proper server computer that is regularly
maintained. You need to deactivate your licenses before performing any maintenance actions
on your server computer. However, unnecessary deactivations should be avoided due to
technical and security reasons.
For more information, see Repair a Tekla Structures license on page 57.
Reason: The Time (T) trust status of your license is not trusted. Time settings of your server
computer have changed radically.
Solution: You need to set the correct system date and time and after that repair the license
in Tekla Structures License Administration Tool.
Do not manipulate system clock settings of the server computer that has activated licenses.
For more information, see Repair a Tekla Structures license on page 57.
Troubleshooting Tekla Structures licensing 87 Problems in Tekla Structures license trusted storage
A license cannot be used.
Reason: The Restore (R) trust status of your license is not trusted. Your backup system may
have overwritten some licensing information.
Solution: You need to repair the license in Tekla Structures License Administration Tool.
We recommend that you configure your system backup settings so that the existing licensing
software, tools and files are not automatically overwritten or replaced with the restored ones.
For more information, see Repair a Tekla Structures license on page 57.
See also
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
Repair a Tekla Structures license on page 57
LMTOOLS is unable to stop the license server, and the message "Unable to Stop Server"
is displayed in the LMTOOLS message bar.
Reason: You may have selected an incorrect licensing service.
Solution: You need to select Tekla Structures Licensing Service as the licensing service. Do
the following:
Troubleshooting Tekla Structures licensing 88 Problems using LMTOOLS in Tekla Structures licensing
1. Go to Tekla Structures Licensing --> LMTOOLS through the Start menu or Start
screen, depending on your Windows operating system.
2. On the Service/License File tab, ensure that Configuration using services and Tekla
Structures Licensing Service are selected.
3. Go to the Start/Stop/Reread tab, and click Stop Server.
4. If this does not help, select the Force Server Shutdown check box and click Stop Server
again.
Starting or stopping the server or rereading the license file cannot be performed, and
the message "No Server Selected" is displayed.
Reason: You have not selected the licensing service.
Solution: You need to select Tekla Structures Licensing Service as the licensing service. Do
the following:
1. Go to Tekla Structures Licensing --> LMTOOLS through the Start menu or Start
screen, depending on your Windows operating system.
2. On the Service/License File tab, ensure that Configuration using services and Tekla
Structures Licensing Service are selected.
3. Go to the Start/Stop/Reread tab and start or stop the server or reread the license file.
Starting or stopping the server or rereading the license file is not possible.
The status list in LMTOOLS indicates that the license server manager (lmgrd) has not been
started: "Error getting status: Cannot connect to license server system. The license server
manager (lmgrd) has not been started yet, the wrong port@hostname or license file is being
used, or the port or hostname in the license file has been changed".
Reason: LMTOOLS points to the wrong lmgrd.exe.
Solution: You need to modify the settings in LMTOOLS. Do the following:
1. Go to Tekla Structures Licensing --> LMTOOLS through the Start menu or Start
screen, depending on your Windows operating system.
2. On the Service/License File tab, ensure that Configuration using services and Tekla
Structures Licensing Service are selected.
Troubleshooting Tekla Structures licensing 89 Problems using LMTOOLS in Tekla Structures licensing
3. Click Browse to locate the lmgrd.exe file.
By default, the file is installed in the ..\TeklaStructures\License\Server
folder.
4. Click Save Service.
5. Go to the Start/Stop/Reread tab and click Stop Server.
6. Click Start Server to restart the server.
The changes are applied.
See also
LMTOOLS options and settings used in Tekla Structures licensing on page 72
Install Tekla Structures license service - manual installation on page 17
Configure Tekla Structures license server manually on page 21
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
Tekla Structures does not start. The following message is displayed: "Error when
connecting to the license server. Contact your system administrator or try another
server".
Reason: You are not connected to the license server.
Solution: Check the following:
Tekla Structures does not start. The following message is displayed: "License server
system does not support this feature".
Reason: Your license server may not be up to date.
Solution: Update the status of your license server. Do the following:
1. Go to Tekla Structures Licensing --> LMTOOLS through the Start menu or Start
screen, depending on your Windows operating system. Start LMTOOLS using
administrator rights.
2. On the Service/License File tab, ensure that Configuration using services and Tekla
Structures Licensing Service are selected.
3. On the Start/Stop/Reread tab, click Stop Server and wait a couple of seconds.
4. Click Start Server.
5. Start Tekla Structures.
If the problem still persists, contact your local Tekla Structures support. The support will need
a copy of the following files: tekla.lic, tekla.opt, and tekla_debug.log files.
See also
Connect Tekla Structures to the license server on page 47
Problems in Tekla Structures licensing: Error codes and their descriptions on page 93
Troubleshooting Tekla Structures licensing 93 Problems in Tekla Structures licensing: Error codes and
their descriptions
4. Now you can install Tekla Structures license server to the same folder where the
uninstalled version was.
For more information about license server installation, see Installing Tekla Structures license
server on page 15.
NOTE Deactivation is not needed in this case. Licenses are kept safe in a specific Flexera
Software location outside Tekla Structures license server installation directory.
Error 20
Problem: Error 20: The licensing service is not installed.
Reason: The error occurs when you are starting Tekla Structures License Administration
Tool, or when you are trying to run serveractutil.exe command line tool.
Solution: If you selected the Manual option for Tekla Structures licensing service installation
then you need to manually install FLEXnet licensing service:
1. If you have some other FlexNet licensing service running on the server, stop it before
entering the commands.
2. Go to the Start menu or Start screen, depending on your Windows operating system,
and open Command Prompt as an administrator.
3. At the command prompt, type the following commands:
cd /D full_path_to_installation_directory
For example, if you install Tekla Structures license server to the default folder, you need
to enter cd /D C:\TeklaStructures\License\Server.
installanchorservice.exe
Error 109
Problem: There are no activated licenses to return. Another program may have modified
the activated licenses rights concurrently. (109) Unable to return as there is no licenses
in Trusted Storage.
Reason: The trusted storage has been modified, probably by some other program. The red R
indicates that the license is broken, therefore it cannot be returned.
Problem: Wait for the license to return to the server computer.
Problem: Message 1: Row n: An error occurred but FLEXnet Licensing did not return an
error number. (123)
Message 2: Failed to load trusted storage or specified ASR. (50030)
Troubleshooting Tekla Structures licensing 94 Problems in Tekla Structures licensing: Error codes and
their descriptions
Reason: These error messages indicate that the trusted storage cannot be loaded, and your
trusted storage is corrupted.
Solution: Your licenses need to be replaced. Contact your local Tekla office or Tekla
Structures Reseller for a replacement along with some instructions.
Error 1316
Problem: License server installation fails.
The following message is displayed: "A network error occurred while attempting to read from
the file C:\Documents and Settings\paha\Local Settings
\Application Data\Downloaded Installations\...\Tekla
Structures License Server v1.01.msi".
Reason: You have an older version of the license server installed.
Solution: Uninstall the old version and then install the new version of the license server.
For more information about uninstalling the server, see Uninstall Tekla Structures license
server on page 23.
Error 1316
License activation fails, and the following message is displayed: "Unspecified FLEXnet
Error with code 7174 Only deployed entitlement line item can be fulfilled."
Reason: You are trying to activate an obsolete license.
Solution: You should have received a new entitlement certificate from your local Tekla
Structures reseller. Try the activation again with the new entitlement certificate, and move
the old obsolete entitlement certificate in an archive folder.
For more information, see Activate Tekla Structures licenses using automatic server
notification on page 44.
Error 7284
Problem: Unspecified FLEXnet Error with code 7284. Cannot perform support actions on
inactive fulfillment record FID_xxxxxxxx_xxxxxxxxxxx__xxxx.
Reason: Trusted Storage has been restored from an old backup copy. The license with
fulfillment ID FID_ xxxxxxxx_xxxxxxxxxxx__xxxx has been deactivated already.
Solution: You need to restore trusted storage files from the most recent backup copy and
then repair licenses if needed.
For more information about repairing licenses, see Repair a Tekla Structures license on page
57.
Troubleshooting Tekla Structures licensing 95 Problems in Tekla Structures licensing: Error codes and
their descriptions
Reason 1: You may be trying to activate some licenses that have been activated before on
another server/computer.
Solution: Deactivate the licenses from the other computer, and then activate the licenses on
the new server/computer.
Reason 2: You may be trying to activate a renewed temporary license or permanent licenses
without deactivating the previous linked activated licenses.
Solution: Deactivate the existing temporary licenses first and then activate the succeeding
linked licenses.
For more information about deactivating licenses, see Deactivate Tekla Structures licenses on
page 55.
Error 7343
Problem: Unspecified FLEXnet Error with code 7343 Entitlement line item has expired
on <date> <time>.
Reason: License has expired. It is not possible to activate or repair expired licenses.
Error 7466
Problem: License deactivation fails, and the following message is displayed: "The return
of the fulfillment is denied by the return policy because max return exceeded".
Reason: You have deactivated the license too many times in a 30 days period.
Solution: You can deactivate the license again when 30 days have passed since the first
deactivation of the license in the past 30 days. The number of deactivations of a license
within a given time period is limited due to technical and security reasons.
Error 7581
Problem: Unspecified FLEXnet Error with code 7581. Online Return/Repair Request for
the activationId XXXX-XXXX-XXXX-XXXX-XXXX-XX is not originated from the original
client machine.
Reason and solution: The computer is not the same where the licenses were originally
activated, and you need to return/repair licenses from the original computer. Another reason
might be that the computer has changed so much that Tekla’s activation server no longer
recognizes it as the same one, in which case you need to replace your licenses.
For more information about returning and repairing licenses, see Return a borrowed Tekla
Structures license on page 66 and Repair a Tekla Structures license on page 57.
Error 50005
Problem: Error (5005) License Activation failed - Initialization of API Failed.
Problem: The activated licenses are not visible and it is not possible to activate new licenses.
Reason: The installation package has failed to initialize or register some of the software
components.
Solution: Do the following:
Troubleshooting Tekla Structures licensing 96 Problems in Tekla Structures licensing: Error codes and
their descriptions
1. Log in with administrator's rights.
2. Close License Administration Tool.
3. Stop Tekla Structures license server and other license servers on the same computer on
the LMTOOLS --> Start/Stop/Reread tab.
4. Go to ..\TeklaStructures\License\Server folder.
5. Double-click installanchorservice.exe.
6. Start Tekla Structures license server and other license servers on the same computer on
the LMTOOLS --> Start/Stop/Reread tab.
7. Open License Administration Tool. The message should not be displayed anymore.
Error 50018
Problem: License borrowing fails.
Reason: Wrong product ID file is used.
Solution: Do one of the following:
• Export a product ID file in Tekla Structures License Administration Tool and use the file
for borrowing.
Error 50033
Problem: License borrowing fails.
Reason 1: Your license server may not have up-to-date license information.
Solution: In LMTOOLS, stop and then restart the server.
Reason 2: The INCLUDE keyword in the options file prevents the borrowing of the
configuration.
Solution: You need to add a dummy user "ACTIVATED LICENSE(S)" into the group of the
included users to enable the borrowing. Do the following:
1. Open tekla.opt using a text editor.
2. Add "ACTIVATED LICENSE(S)" in the group of the included users, for example:
GROUP steel "ACTIVATED LICENSE(S)" user1 user2 user3 user4
INCLUDE STD-C GROUP steel
3. Save the changes you made in tekla.opt.
4. In LMTOOLS, reread the license file or stop the server and then start the server.
Error 50035
Problem: License borrowing fails.
Reason: The user tried to borrow a license that is not activated on the license server. For
example, the user tried to borrow a version 20 license and there are only version 21 licenses
activated on the server.
Solution: Do the following:
Troubleshooting Tekla Structures licensing 97 Problems in Tekla Structures licensing: Error codes and
their descriptions
• Check that the product ID file is up to date. If not, export a new product ID file in Tekla
Structures License Administration Tool ( File --> Export ) and send this file to the user
for borrowing. Then ask the user to save the new product ID file, open the Tekla
Structures License Borrow Tool , click Open and browse for the new .tpi file and try
borrowing again.
• Check that your license information is up to date in LMTOOLS. If not, reread the license
file.
Error 50036
Problem: License borrowing fails.
Reason: You are not allowed to borrow the license.
Solution: Do one of the following:
• The options file (tekla.opt) needs to be modified so that the borrowing of the license
is allowed. For more information, see Modify Tekla Structures license access rights
(tekla.opt) on page 49
• Borrow another license.
Error 50037
Problem: License returning fails.
Reason: You tried to return the license to a different license server than it was borrowed
from.
Solution: You need to return the license to the same license server that it was borrowed
from. Do the following:
1. Go to Tekla Structures License Borrow --> Tekla Structures License Borrow Tool
through the Start menu or Start screen, depending on your Windows operating system.
2. In the Borrow from License Server dialog box, enter the name of the license server
where you originally borrowed the license from and click OK.
3. Select the Return check box in the Borrowed Licenses area to select the license for
returning.
4. Click the Return button to return the license.
After successful returning of licenses, the Borrowed Licenses area is updated.
Troubleshooting Tekla Structures licensing 98 Problems in Tekla Structures licensing: Error codes and
their descriptions
• Close Tekla Structures License Administration Tool and try to activate the license a
while later.
• Try to activate another license.
• Your firewall may block the activation communication. Check your firewall settings. For
more information, see Allowing Tekla Structures license server to operate through
Windows Firewall on page 25.
• Check that you have the latest Tekla Structures license server version.
• This error could be caused by unfinalized Windows updates on the server computer.
Reboot the server and try again.
• Your Windows login user name may contain special characters. Try to log in with another
user name, for example, administrator.
• Check that your Internet connection is working.
• Contact your local Tekla Structures support and ask for a manual activation.
Error 50040 or error 50041, problem 2: License borrowing fails.
Reason: You are not connected to the license server.
Solution: Do the following:
• Check that your network connection is working.
• Start Tekla Structures License Borrow Tool and check that you have entered the correct
license server information in the Borrow from License Server dialog box.
See also
View and diagnose errors in Tekla Structures license activation, deactivation and borrowing
on page 78
Problems in Tekla Structures license activation on page 82
Problems in Tekla Structures license borrowing on page 86
Problems in Tekla Structures license deactivation on page 85
Troubleshooting Tekla Structures licensing 99 Problems in Tekla Structures licensing: Error codes and
their descriptions
16 Disclaimer
© 2015 Tekla Corporation and its licensors. All rights reserved.
This Software Manual has been developed for use with the referenced Software. Use of the
Software, and use of this Software Manual are governed by a License Agreement. Among
other provisions, the License Agreement sets certain warranties for the Software and this
Manual, disclaims other warranties, limits recoverable damages, defines permitted uses of the
Software, and determines whether you are an authorized user of the Software. All
information set forth in this manual is provided with the warranty set forth in the License
Agreement. Please refer to the License Agreement for important obligations and applicable
limitations and restrictions on your rights. Tekla does not guarantee that the text is free of
technical inaccuracies or typographical errors. Tekla reserves the right to make changes and
additions to this manual due to changes in the software or otherwise.
In addition, this Software Manual is protected by copyright law and by international treaties.
Unauthorized reproduction, display, modification, or distribution of this Manual, or any
portion of it, may result in severe civil and criminal penalties, and will be prosecuted to the
full extent permitted by law.
Tekla, Tekla Structures, Tekla BIMsight, BIMsight, Tedds, Solve, Fastrak and Orion are either
registered trademarks or trademarks of Tekla Corporation in the European Union, the United
States, and/or other countries. More about Tekla trademarks: http://www.tekla.com/tekla-
trademarks. Trimble is a registered trademark or trademark of Trimble Navigation Limited in
the European Union, in the United States and/or other countries. More about Trimble
trademarks: http://www.trimble.com/trademarks.aspx. Other product and company names
mentioned in this Manual are or may be trademarks of their respective owners. By referring
to a third-party product or brand, Tekla does not intend to suggest an affiliation with or
endorsement by such third party and disclaims any such affiliation or endorsement, except
where otherwise expressly stated.
Portions of this software:
D-Cubed 2D DCM © 2010 Siemens Industry Software Limited. All rights reserved.
EPM toolkit © 1995-2004 EPM Technology a.s., Oslo, Norway. All rights reserved.
Open CASCADE Technology © 2001-2014 Open CASCADE SA. All rights reserved.
FLY SDK - CAD SDK © 2012 VisualIntegrity™. All rights reserved.
Teigha © 2003-2014 Open Design Alliance. All rights reserved.
A E
access rights entitled licenses.................................................................67
configurations............................................................ 50 entitlement certificate.........................................43,44,45
example definitions...................................................50
licenses......................................................................... 49
modifying.....................................................................49
activated licenses..............................................................67
F
activating licenses............................................................ 67 firewall
troubleshooting..........................................................82 allowing traffic in TCP/IP ports........................29,34
activating exceptions....................................................................25
licenses............................................................. 43,44,45 license server.............................................................. 25
firewalls
exceptions..............................................................25,28
B licenses
exceptions in firewalls......................................25
before installing the license server.............................. 15 lmgrd.exe................................................................25,28
borrowing licenses tekla.exe................................................................. 25,28
troubleshooting..........................................................86 FlexNet....................................................................................5
borrowing administrator's tasks...................................................8
exporting......................................................................63 examples of different setups..................................10
licenses....................................................... 62,63,64,65 IT resources.................................................................... 7
product ID file.......................................................62,63 starting Tekla Structures......................................... 47
C I
codes installation
configurations............................................................ 50 license server.............................................................. 16
configurations
codes............................................................................. 50
K
D keywords
in access right definitions.......................................50
deactivating licenses........................................................67
troubleshooting..........................................................85
deactivating
licenses......................................................................... 55
L
of licenses.................................................................... 54 License Borrow Tool
distributing changing the language............................................ 64
licenses............................................................................9 downloading............................................................... 64
using..............................................................................64
103
license file problems in license server connection................ 79
modifying.....................................................................19 problems in license server installation................79
license server........................................................................ 5 product ID file.......................................................62,63
administrator's tasks...................................................8 renewing...................................................................... 59
configuring manually................................................21 repairing....................................................................... 57
firewall..........................................................................25 returning...................................................................... 66
installing...................................................................... 15 troubleshooting Tekla Structures licensing........78
manual installation...................................................17 trust status............................................................ 57,87
modifying installation.............................................. 23 what is provided by Tekla.......................................... 6
notifying automatically........................................... 44 licensing applications
notifying manually.................................................... 45 logging in as administrator.......................................8
removing installation............................................... 23 running as administrator........................................... 8
repairing installation................................................ 23 licensing in Tekla Structures............................................ 5
uninstalling manually...............................................23 lmgrd.exe....................................................................... 25,28
license server statistics....................................................67 LMTOOLS
license server configuring license server manually.....................21
updating....................................................................... 60 options..........................................................................72
license servers Server Status tab....................................................... 72
automatic installation..............................................16 Service/License File tab............................................72
license service installation............................................. 16 Start/Stop/Reread tab.............................................. 72
license service System Settings tab..................................................72
manual installation...................................................17 Utilities tab..................................................................72
licenses
access rights................................................................49
activating................................................... 43,44,45,67
administrator's tasks...................................................8
M
allowing traffic through TCP/IP ports............ 29,34 manual installation
automatic installation of license server..............16 license server.............................................................. 17
borrowing...................................................62,63,64,65 modifying
deactivating.....................................................54,55,67 license file....................................................................19
different ways of distributing...................................9
errors in activating....................................................78
errors in borrowing................................................... 78 N
errors in deactivating............................................... 78 notifying Tekla Structures license server....................44
examples of different setups..................................10
exceptions in firewall............................................... 28
extending the licensing period.............................. 59
information on Tekla Structures License Borrow O
Tool................................................................................ 70 offline use of Tekla Structures.......................................64
installing license server........................................... 15 options file
IT resources needed..................................................... 7 keywords for defining access rights.....................50
licensing system........................................................... 5
modifying access rights........................................... 50
modifying license access rights.............................50
number of users......................................................... 10
P
problems in activation............................................. 82 problems
problems in borrowing.............................................86 in Tekla Structures licensing.................................. 78
problems in deactivation.........................................85 product ID file (.tpi).......................................................... 62
104
R problems with FlexNet............................................. 81
starting Tekla Structures......................................... 90
renewing Tekla Structures license server installation........79
licenses......................................................................... 59 Tekla Structures licensing................................. 78,93
repairing licenses.............................................................. 57 tekla.opt....................................................................... 92
returning trust status.................................................................. 87
licenses......................................................................... 66 trust status..........................................................................57
trusted storage
broken licenses...........................................................87
S status............................................................................ 57
settings
Tekla Structures License Administration Tool....67
starting U
Tekla Structures with FlexNet licensing..............47 uninstalling
license server manually............................................23
updating
T license server.............................................................. 60
upgrading
TCP/IP ports license server.............................................................. 60
allowing traffic.....................................................29,34
Windows 7, 8, 8.1 and Windows Server 2012...34
Windows Server 2008.............................................. 29
Tekla Structures License Administration Tool W
options..........................................................................67 Windows 7, 8, 8.1 and Windows Server 2012.......... 28
Tekla Structures License Borrow Tool allowing traffic in fixed TCP/IP ports................... 34
borrowing licenses.................................................... 65 Windows Server 2008......................................................25
license information................................................... 70 allowing traffic in fixed TCP/IP ports................... 29
options and settings................................................. 70
returning licenses...................................................... 66
Tekla Structures license server
problems in installation...........................................79
problems in server connection...............................79
tekla.exe.........................................................................25,28
tekla.lic
modifying manually.................................................. 19
tekla.opt......................................................................... 49,50
example definitions...................................................50
temporary licenses............................................................65
troubleshooting
access rights................................................................92
error codes
Tekla Structures licensing errors....................93
error reports................................................................ 78
license activation.................................................78,82
license borrowing................................................ 78,86
license deactivation............................................ 78,85
license server connection........................................79
LMTOOLS...................................................................... 88
105
106