ALS Logo

Altiva Licence Server

Previous Topic Next Topic Altiva Software


Licence Files

There are two basic types of licence files used with Altiva Licence Server:

  1. The server licence
  2. The client licence

The server licence files may be installed with the application. They are text files ending with a ".lic" extension and reside in the "licence" directory under the main install location. This licence will be generated by Altiva Software and should not be edited. In order for Altiva Software to generate the server licence file, you will need to supply the computer name

The client licence is installed on each machine that will run the Altiva Software application which uses the Altiva Licence Server. It usually has the same licence file name as a regular licence (eg: "CADconform.lic"), but only has one line of text in the licence file:


"MACHINENAME" refers to the computer name (DNS host name) of the server machine where ALS has been installed. The computer name of the server is also encoded into the licence file itself. This name should not contain a network path or directory (UNC) back-slashes, it should reflect the same name as shown in Windows "Control Panel > System":

By default, the server uses port 1999 for server-client communication. If this port is already used by another application, then another port number can be specified using a semi-colon after the machine name, eg:


Note that if a port number other than 1999 is specified, it must also be set in the "als.cfg" file under the "SERVER_PORT" setting.

If the server licence file contains a "DEPT=" record, the licences in that file will be restricted to users specifying the matching department name in the client licence file.

Server licence file example:

DEPT=Mapping Group
Altiva Software Inc
Copy 1 of 2
Altiva Software Inc
Copy 2 of 2

Client licence file example:
DEPT=Mapping Group


Checking the Computer Name in the Licence File

If you are not sure which machine the licence was generated for, open the licence file in a text editor (such as Notepad) and read the first line in the file. It should say something like:


(where "MYPCNAME" is the name of the computer).


Checking the Computer Name on the Server

The server's computer name can be determined by opening the Control Panel and going to the "System" settings in Windows XP, or "System & Maintenance" in Windows Vista. The System dialog box will then be displayed, which should have a "Computer Name" tab page. On this tab page is a text field named "Full Computer Name". The full computer name consists of the computer name, optionally followed by the Windows domain. The computer name (minus the domain suffix) should match the name of the server in the licence file. If it does not, then the licence will not be accepted.

System Information
The System window showing the computer name "PIERS-ZENBOOK"

Adding a New Server Licence File

Should you need to install a new licence file, you can either manualy copy the new file over the old (or alongside to augment the existing licence pool) and restart the service. Alternatively you can use the ALS Main Window and click the "Import Licence" button.

It is suggested a backup of the old licence file should be made just in case the replacement is incorrect. ALS supports multiple licence files as long as their file names are unique and end in "*.LIC", so it is better if you rename the extension of an existing licence file rather than the name. For example, if you receive an updated licence file with a newer maintenance date, you should rename your old file "als.lic.bak" to ensure it no longer gets read in, as if you called it "bak_als.lic" instead then ALS will still read it in and may report that the licences have expired.