License Manager/491 Error: License has Expired

Overview

If you have requested a License File and are still receiving a License Manager (or 491) Error, the reason you are receiving this Error is because GAUSS cannot find a valid license file.

To generate a license file for the GAUSS Software, we need the hostid number of the computer that GAUSS is being installed on. At the end of the installation process, GAUSS creates a hostid file named 'myhostid.txt' [Mac: hostid.txt] which is displayed in a text editor so that you can copy and paste the hostid number into your License File Request

The hostid file contains your hostid number which is needed to issue a license code to run the software. This file is located in your GAUSSHOME directory. Your GAUSSHOME directory (for GAUSS 19) is:
- Windows: c:\gauss19
- Mac: /Users/YourUserName/gauss19
- Linux: The directory where you installed GAUSS on Linux

Possible causes of License Manager Errors

This error is typically caused by one of the following reasons:

Temporary or Annual License File has Expired:

  • Temporary License. GAUSS comes with a temporary license file to get you started immediately. Because GAUSS started right up after installation, you may not have requested a permanent license file. When the temporary license expires, you will receive a License Manager (or 491) Error and GAUSS will no longer work.
  • Annual Student/Site/Laptop License. Certain licenses are for a specific period of time. This includes Annual Student, GAUSS in the Classroom, Site, Lab and Premier Support Laptop licenses.
>> Solution. Request your first time or renewal license file here. Be sure to copy and paste the hostid number from the Startup Troubleshooting Pop-up or attach the file myhostid.txt [Mac: hostid.txt] that is located in your GAUSSHOME directory (normally gauss19).

License File Saved in Wrong Location:

Your GAUSS license file must be saved, retaining the *.lic extension, in your main GAUSSHOME folder. Often times, the license file is saved to the Downloads folder and doesn't get moved or copied to the GAUSSHOME folder. If you saved the license file to your Downloads folder, or to a thumb or flash drive, the GAUSS Software will not work.

>> Solution.
  1. Resave the License File you were sent to your GAUSSHOME folder, usually:
    - Windows: c:\gauss19
    - Mac: /Users/YourUserName/gauss19
    - Linux: The directory where you installed GAUSS on Linux
  2. OR
  3. Open your File Manager, Windows File Explorer or Finder and drag the GAUSS license file to move it from your Downloads folder to your GAUSSHOME folder.

Incorrect File Extensions:

The GAUSS license file MUST end with a .lic file extension. Two of the most common reasons why GAUSS is not able to find or read a license file is that:

  1. The user opens and saves the license file with Windows Notepad/Notepad++ or a webmail account rsulting in a .txt file extension. The default on many Windows text editors such as Notepad/Notepad++ is 'Text Document (*.txt)'. This can cause the license file to be saved with an extra file extension, such as 'txt' if the license file is saved using File>Save As and 'Text Document (*.txt)' is selected. This will result in the license file being saved with a double extension, either .lic.txt or .lic.html.
  2. Mac Users/Safari. Sometimes, the Safari browser adds an extra .txt extension to some file names (not all), causing the files to open in TextEdit or to save the license file with a .txt file extension, such as 69999-01_GH18-Smith.lic.txt.
>> Solution 1. Save with the Correct 'File Type'.
What makes saving the license file particularly confusing in Windows is that the Windows File Explorer will ONLY show the first file extension, so it is difficult to know exactly how the file has been saved.

- To avoid this problem with Notepad/Notepad++, when you perform File>Save As, select the 'Save as Type' button: "All Files (*.*)" and specify the file name that was used on the file that was sent to you, such as 69999-01_GH18-Smith.lic.

- Select 'All Files' as your 'File Type' which will allow you to retain the 'lic' file extension.



Example
For example, if we have a license file saved as temporary.lic.txt, the Windows File Explorer will show the file name as just temporary.lic like this:



However, if we look at the third column in the image above named 'Type', we see that the file type is listed as 'Text Document'. This is because, the file is really named temporary.lic.txt. We can see the real full name of the file, by right-clicking over the file in our Windows File Explorer window and selecting 'Properties' like this:



>> Solution 2. Rename the License File. You can rename the license file by:

  1. Windows/Rename in Windows Explorer:
    -Go to your GAUSSHOME folder in Windows Explorer: c:\gauss19
    -Right click the license file
    -Select the option that says 'Rename'
    -Remove the .txt file extension
    -Click the file to save the new name
    -Start up GAUSS

  2. Mac/Rename in Finder:
    -Go to your GAUSSHOME folder in Finder: /Users/YourUserName/gauss19
    -Right click the license file
    -Select the option that says 'Rename'
    -Remove the .txt file extension
    -Click the file to save the new name
    -Start up GAUSS

  3. Use the 'copy' command from the Windows Command Prompt [Mac/Linux Terminal Window] where your file has been saved, such as your Downloads or gauss19 folder. For example:
    copy mylicensefile.lic.txt mylicensefile.lic
    [For Linux/Mac: cp mylicensefile.lic.txt mylicensefile.lic]
  4. Download the license file again without opening it first. If your license file has the correct file extension, the file type column in the Windows File Explorer should report that the file is a LIC file as in this next screenshot.
    - Some internet browsers, like Chrome will, allow you to change the browser settings so that you can specify where you want a downloaded file saved and what you would like it named.

Changes to Computer Hardware and Operating System Upgrades:

Your GAUSS license file is uniquely configured based on the hostid number of your computer and the GAUSS Serial Number of the software you are licensing. Often times when computer hardware is changed such as a new motherboard or hard-drive, or even just moving your hard-drive to another computer, the hostid number of your computer will change as well. Additionally, sometimes systems upgrades, including the upgrade to Windows 10 can change the hostid number of your computer. This change in hostid number causes your current license file to no longer work.

>> Solution. The hostid number of your computer must be regenerated and submitted in a license request to Aptech to provide a replacement license file. To obtain a regenerated hostid number, please click here.

Restoring GAUSS from a Backup:

If you restore the GAUSS Software from a backup to either a new computer or hard-drive, the contents of the myhostid.txt [Mac: hostid.txt] reflects the hostid number of the previous computer that GAUSS was installed on. Reissuing a license file based on the old hostid number results in a license file that will not work.

>> Solution. The hostid number of your computer must be regenerated and submitted in a license request to Aptech to provide a replacement license file. To obtain a regenerated hostid number, please click here.

Startup Troubleshooting Screen

GAUSS 15.1+ provides a Start-up Troubleshooting screen to help diagnose license issues that includes:
  • GAUSS Version Number and Build
  • Path of GAUSSHOME directory where GAUSS is installed
  • Hostid number of your computer
  • License Files located in your gauss19 folder that includes all files containing a 'lic' file extension
  • Ability to:
    • Provide a screenshot of the error message on the Startup Troubleshooting screen
    • Copy your hostid number and paste it into your license request
    • Request your License

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

REQUEST A FREE QUOTE

Thank you for your interest in the GAUSS family of products.

© Aptech Systems, Inc. All rights reserved.

Privacy Policy | Sitemap