Contents
Issue:
When starting an Autodesk product, an error that includes the code -15.x is seen.
Causes:
The product is not connecting to a license server. It may not be assigned to the correct server.
Solution:
Use an environment variable to specify one or more license servers for your Autodesk products. This variable affects only products that use the ADSKFLEX.EXE vendor daemon. It is set automatically during a client installation from a deployment configured for distributed servers. For redundant servers, use licpath.lic for license server settings.Note: The help of a systems professional may be neededto perform this procedure.
- Go to Windows Control Panel > System and Security > System.
- Select Advanced system settings.
- On the System Properties dialog, click Environment Variables.
- Under System variables, click New.
- For Variable Name, enter ADSKFLEX_LICENSE_FILE.
- For Variable Value, enter the names of one or more license servers, in this format:
Note: 2080 is Autodesk reserved port number for adskflex, Autodesk vendor license daemon. To specify a custom port for a server, include the custom port number in this format: port@server. For example, if the IP address of your license server is 193.45.12.4 and you are using custom port 27009, enter 27009@193.45.12.4.
- Click OK to save the settings, which become valid immediately.
About the ADSKFLEX_LICENSE_FILE Environment Variable
Note the following:
- Autodesk licensing searches all servers listed in the environment variable and uses the lowest ranking license first. For more information about product ranking, see Understanding Cascade Licensing.
- There is no limit to the number of servers that can be specified.
- Verify that the ADSKFLEX_LICENSE_FILE environment variable values refer only to active Autodesk license servers.
- The variable automatically overrides the current license server settings, such as those in the licpath.lic file and registry cache.
See the video tutorial below on how to set up the variable on a Windows system.
See Also:
Use of licpath.lic file and ADSK_FLEXLICENSE_FILE environment variable on same computer
Products:
All Desktop Products;
Versions:
any_version;
Source: Autodesk