Duane Brown


FLEXnet Error Codes

source: CADforum

The license subsystem in Autodesk products reports possible errors in the form of [X.Y.Z], where “X” is the kind of a problem, “Y” is 1 (standalone license) or 5 (FlexLMlicense) and “Z” is the specific error (usually a negative number).

The “Z” error codes for FlexLM are as follows:

-1 Cannot find license file.
-2 Invalid license file syntax.
-3 No license server system for this feature.
-4 Licensed number of users already reached.
-5 No such feature exists.
-6 No TCP/IP port number in license file and FLEXnet Licensing service does not exist. (pre-v6 only)
-7 No socket connection to license server manager service.
-8 Invalid (inconsistent) license key or signature.  The license key/signature and data for the feature do not match.  This usually happens when a license file has been altered.
-9 Invalid host.  The hostid of this system does not match the hostid specified in the license file.
-10 Feature has expired.
-11 Invalid date format in license file.
-12 Invalid returned data from license server system.
-13 No SERVER lines in license file.
-14 Cannot find SERVER host name in network database.   The lookup for the host name on the SERVER line in the license file failed.  This often happens when NIS or DNS or the hosts file is incorrect.  Workaround: Use IP address (e.g., 123.456.789.123) instead of host name.
-15 Cannot connect to license server system.  The server (lmgrd) has not been started yet, or the wrong port@host or license file is  being used, or the TCP/IP port or host name in the license file has been changed.
-16 Cannot read data from license server system.
-17 Cannot write data to license server system.
-18 License server system does not support this feature.
-19 Error in select system call.
-21 License file does not support this version.
-22 Feature checkin failure detected at license server system.
-23 License server system temporarily busy (new server connecting).
-24 Users are queued for this feature.
-25 License server system does not support this version of this feature.
-26 Request for more licenses than this feature supports.
-29 Cannot find ethernet device.
-30 Cannot read license file.
-31 Feature start date is in the future.
-32 No such attribute.
-33 Bad encryption handshake with vendor daemon.
-34 Clock difference too large between client and license server system.
-35 In the queue for this feature.
-36 Feature database corrupted in vendor daemon.
-37 Duplicate selection mismatch for this feature. Obsolete with v8.0+ vendor daemon.
-38 User/host on EXCLUDE list for feature.
-39 User/host not on INCLUDE list for feature.
-40 Cannot allocate dynamic memory.
-41 Feature was never checked out.
-42 Invalid parameter.
-47 Clock setting check not available in vendor daemon.
-52 Vendor daemon did not respond within timeout interval.
-53 Checkout request rejected by vendor-defined checkout filter.
-54 No FEATURESET line in license file.
-55 Incorrect FEATURESET line in license file.
-56 Cannot compute FEATURESET data from license file.
-57 socket() call failed. *OS Error
-59 Message checksum failure.
-60 License server system message checksum failure.
-61 Cannot read license file data from license server system.
-62 Network software (TCP/IP) not available.
-63 You are not a license administrator.
-64 lmremove request before the minimum lmremove interval.
-67 No licenses available to borrow.
-68 License BORROW support not enabled.
-69 FLOAT_OK can’t run standalone on license server system.
-71 Invalid TZ environment variable.
-73 Local checkout filter rejected request.
-74 Attempt to read beyond end of license file path.
-75 SYS$SETIMR call failed (VMS). *OS Error.
-76 Internal FLEXnet Licensing error-please report to Macrovision Corporation (Acresso).
-77 Bad version number must be floating-point number with no letters.
-82 Invalid PACKAGE line in license file.
-83 FLEXnet Licensing version of client newer than server.
-84 USER_BASED license has no specified users – see license server system log.
-85 License server system doesn’t support this request.
-87 Checkout exceeds MAX specified in options file.
-88 System clock has been set back.
-89 This platform not authorized by license.
-90 Future license file format or misspelling in license file.  The file was issued for a later version of FLEXnet Licensing than this program understands.
-91 Encryption seeds are non-unique.
-92 Feature removed during lmreread, or wrong SERVER line hostid.
-93 This feature is available in a different license pool.  This is a warning condition. The server has pooled one or more INCREMENT lines into a single pool, and the request was made on an INCREMENT line that has been pooled.
-94 Attempt to generate license with incompatible attributes.
-95 Network connect to THIS_HOST failed.  Change this_host on the SERVER line in the license file to the actual host name.
-96 License server machine is down or not responding.   See the system administrator about starting the server, or make sure that you’re referring to the right host (see LM_LICENSE_FILE environment variable).
-97 The desired vendor daemon is down.
1) Check the lmgrd log file, or
2) Try lmreread.
-98 This FEATURE line can’t be converted to decimal format.
-99 The decimal format license is typed incorrectly.
-100 Cannot remove a linger license.
-101 All licenses are reserved for others.  The system administrator has reserved all the licenses for others.  Reservations are made in the options file.  The server must be restarted for options file changes to take effect.
-102 A FLEXid borrow error occurred.
-103 Terminal Server remote client not allowed.
-104 Cannot borrow that long.
-106 License server system out of network connections.  The vendor daemon can’t handle any more users.  See the debug log for further information.
-110 Cannot read dongle: check dongle or driver.  Either the dongle is unattached, or the necessary software driver for this dongle type is not installed.
-112 Missing dongle driver.   In order to read the FLEXid hostid, the correct driver must be installed.  These drivers are available from your software vendor.
-114 SIGN= keyword required, but missing from license certificate.  You need to obtain a SIGN= version of this license from your vendor.
-115 Error in Public Key package.
-116 TRL not supported for this platform.
-117 BORROW failed.
-118 BORROW period expired.
-119 lmdown and lmreread must be run on license server machine.
-120 Cannot lmdown the server when licenses are borrowed.
-121 FLOAT_OK requires exactly one FLEXid hostid.
-122 Unable to delete local borrow info.
-123 Returning a borrowed license early is not supported.  Contact the vendor for further details.
-124 Error returning borrowed license.
-125 A PACKAGE component must be specified.
-126 Composite hostid not initialized.
-127 A item needed for the composite hostid is missing or invalid.
-128 Error, borrowed license doesn’t match any known server license.
-135 Error enabling the event log.
-136 Event logging is disabled.
-137 Error writing to the event log.
-139 Communications timeout.
-140 Bad message command.
-141 Error writing to socket. Peer has closed socket.
-142 Error, cannot generate version specific license tied to a single hostid, which is composite.
-143 Version-specific signatures are not supported for uncounted licenses.
-144 License template contains redudant signature specifiers.
-145 Bad V71_LK signature.
-146 Bad V71_SIGN signature.
-147 Bad V80_LK signature.
-148 Bad V80_SIGN signature.
-149 Bad V81_LK signature.
-150 Bad V81_SIGN signature.
-151 Bad V81_SIGN2 signature.
-152 Bad V84_LK signature.
-153 Bad V84_SIGN signature.
-154 Bad V84_SIGN2 signature.
-155 License key required but missing from the license certificate.  The application requires a license key in the license certificate.   You need to obtain a license key version of this certificate from your vendor.
-500 Invalid server port number.
-501 Invalid value in license where an integer was expected.
-502 Invalid value supplied for count.
-503 Invalid hostid supplied in license.
-504 Invalid hostid type supplied.
-505 Bad feature line syntax.
-506 Internal FLEXnet Licensing error.
-507 Bad date format in license file.
-508 Bad SERVER line.
-509 Bad license string.
-510 Server’s feature doesn’t authenticate on client side.
-511 No license checked out.
-512 License already checked out.
-513 Error list returned.
-514 No certicom module available.
-515 Wrong or incomplete certicom module.
-516 SIGN or SIGN2 required in license certificate.
-517 Feature object has no licensesources.
-518 An Identical license is already checked out on this license source.
-519 This license has an asynchronously-queued checkout pending.
-521 Library for native hostid couldn’t be loaded.
-522 Already connected to another vendor daemon.
-523 No such user, host, or display.
-524 Shutdown of license server system failed.
-525 Shutdown failed – already connected to license server system.
-526 Invalid license source string.
-527 Log file switch error.

2007 Double Clicking a DWG Opens TrueView not AutoCAD in XP

source: Microsoft Support – how to

To change which program starts when you double-click a file


  • You cannot use this method for a file that does not have a file name extension, or for a file that has an .exe, .com, or .bat extension.
  • If you change the program that Windows uses to open a certain kind of file, and that program was not designed for the type of data in that file, the files may not appear correctly in the program. To be safe, note the name of the program that Windows previously used to open the file type so that you can reverse your settings if it is necessary.

To change which program starts when you double-click a file, follow these steps:

  1. Open Windows Explorer by right-clicking the Start button, and then click Explore.
  2. Click a folder that contains a file of the type that you want Windows to open in a program that you select.
  3. Right-click the file and, depending on the programs installed on your computer, complete one of the following steps:
    • Click Open With to choose the program that you want.
    • Point to Open With, and then click Choose Program to choose the program that you want.
  4. The Open Withdialog box is displayed. Use one of the following methods to select the program that you want to use for this file type:
    • In the Programs list, click the program that you want to use.
    • Click Browse, locate and then click the program that you want to use, and then click Open.
    • Click Look for the appropriate program on the Web to browse the Internet for the program that you want to use.
  5. Click to select the Always use the selected program to open this kind of file check box if it is not selected.
  6. Click OK.Note From now on, Windows XP will open all files that have this file name extension in the program that you selected. To change this, you must follow these steps again and associate a different program with this file name extension.

Problems configuring the Autodesk Network License Manager (FLEXnet)

source: TS1076366


When you tried to configure the Autodesk Network License Manager (FLEXnet), you either experienced problems or received errors.


For specific system requirements and step-by-step installation and
configuration instructions, you should refer to the Network Licensing
(acad_nlg.pdf) and Network Administrator’s Guide
(acad_nag.pdf) located on the software installation disk or online
help. Reading these documents is a prerequisite for successful license manager
configuration and administration. Common setup and system requirement questions
are listed below:

ATG USA NOTE: Some of this information is dated, and is no longer valid, for instance in 2009 there wasn’t a 64 bit license manager, but now there is. Please read the posts carefully.  We will be reviewing these links and making the appropriate notes where needed on this Autodesk Tech Source Doc.  We thought the layout and design of this post to be a very good comprehensive resource on LMTOOLS.

Common Autodesk Network License Manager (FlexLM) problems and errors are
listed below. Try these solutions first, and then review further instructions if
the problem persists.

If these solutions do not answer your Autodesk Network License Manager
questions or resolve the problem, the additional tests below will help determine
the cause of the issue.

  • Refer to the attached 2008 FlexLM Quick Reference (requires Autodesk
    DesignReview) for options within LMTOOLS.
  • The debug log file is not an optional setting and the license manager will
    not start correctly without a valid path and file name specified. You should
    make sure that you specified a location and file name for the debug log on the
    Config Services tab of LMTOOLS.
  • On the Config Services tab, make sure that all three paths are filled out
    completely and point to local locations. It is strongly recommended that the
    license file and debug log file reside within the Autodesk Network License
    Manager installation folder and not in a separate folder or drive. Make
    sure that the Use Services and Start Server at Powerup options are enabled as
    well or the license manager will not run once LMTOOLS is closed or the license
    manager machine is rebooted.
  • Only one service can be configured in LMTOOLS for Autodesk software. So you
    should combine multiple Autodesk product license files into a single file and
    configure them as a single service. Refer to the following solution for more
    information: Combining
    Autodesk® license files
  • Make sure that the Configuration Using Services option is selected on the
    Service/License File tab of LMTOOLS. Autodesk products do not support the
    Configuration Using License File method.
  • Autodesk product licenses do not support the Utilities, Server Diags or
    Borrowing tabs in LMTOOLS. These tabs exist to support other products that use
    FlexLM and they should not be used when configuring or troubleshooting the
    Autodesk Network License Manager. For information about controlling license
    borrowing, you should refer to the Network Licensing Guide
    (acad_nlg.pdf) and the Options File whitepaper.
  • If you are experiencing problems with the Server Status tab > Perform
    Status Enquiry, make sure that the “LMTOOLS Ignores License File Path
    Environment Variables” option is selected on the Service/License File tab and
    run the Status Enquiry again. In many cases this will correct erroneous Status

If you have worked through the standard troubleshooting steps and you were
not able to resolve the issue, follow this link for additional
technical assistance.

Please collect the following information from your system before requesting
technical assistance:

  • Screenshots of any error messages encountered
  • License file currently in use at each license manager
  • Options file in use at each license manager (if applicable)
  • Debug log file in use at each license manager
  • Copy and paste from LMTOOLS > Server Status tab > Perform Status
2008 FlexLM
Quick Reference
(dwf – 1043Kb)

Error 1402 during uninstallation (Could not open key)

source:  TS16508079


When you try to uninstall an AutoCAD based product, you will get the following error:

Error 1402.  Could not open key: 
UNKNOWN\Components\Hex#\Hex#.  Verify that you have sufficient access to that key, or contact your support personnel.


The solution is to change the permissions of the following folder in the Registry:


  1. Right Click on Components select permissions.
  2. Click Advanced button.
  3. Select the OwnerTab
  4. Under Change owner to:  Select Administrators (Group) and Click Apply.
  5. Then Select Check box Replace owner on subcontainers and objectsand Click Apply.
  6. Go to the Permissions tab, select the Check box:  Replace all child objects Permissions with inheritable permissions from this object and Click apply.  NOTE:  The wording maybe a bit different depending on your operating system.

See Also:

TS1069886 and this Discussion Group Post for a video workflow in Windows 7/Vista.

How to read an Autodesk network license file (in notepad)

source : LicenseAdministration.pdf

You have opened the license file in notepad but are unsure how to read it.

The above source link is a pdf that explains in detail the following regarding reading a license file.

License File Format Overview
License File Syntax
     SERVER Lines
     VENDOR Lines
     USE_SERVER Line
          Sort Rules
          Changes in FEATURE and INCREMENT Line Format
     PACKAGE Lines
     UPGRADE Lines
Feature Lines in Decimal Format
Order of Lines in the License File