PROBLEM: Recently, a customer had an issue where they limited borrowing to 60 days in AutoCAD using an adsfklex.opt options file. When a user tried to borrow for longer than 3 weeks, an error occurred and the debug log file showed Error -104.
REASON: It was discovered that the customer's AutoCAD license was a 13-month extended license set to expire in 3 weeks. Although the options file allowed for a 60-day borrow, the Autodesk Network License Manager would not allow for a license to be borrowed beyond its own expiration date. Thus, the client received an error.
EXAMPLES: Included below are examples from the adskflex.opt options file, the AutoCAD license .lic file, and the debug.log file from the license manager:
adskflex.opt Options file:
# Set maximum borrow to 60 days MAX_BORROW_HOURS 54600ACD_2008_0F 1440
The syntax was correct in setting AutoCAD's maximum borrow to 60 days, or 1440 hours.
13:30:00 (adskflex) Using options file: "C:\Program Files\Autodesk Network License Manager\adskflex.opt" 13:30:00 (adskflex) Max borrow interval for feature, 54600ACD_2008_0F, set to 1440 hours 13:31:30 (adskflex) Borrow error: requested borrow interval extends beyond license expiration date. 13:31:30 (adskflex) DENIED: "54600ACD_2008_0F" user@host (Cannot borrow that long. (-104,40013))
The log file shows that the license manager is reading in the options file and setting the maximum borrow for AutoCAD to 1440 hours. However, when a user tries to borrow for an extended time, they are denied with a -104 error.
INCREMENT 54600ACD_2008_0F adskflex 1.000 01-oct-2013 25 \ VENDOR_STRING=commercial:extendable SUPERSEDE DUP_GROUP=UH \
The reason for the error is that the license is not permanent, but an extended license with an expiration date set to expire before the time alloted in the max_borrow_hours option. Since the license expires in three weeks (at the time of this post) then the max_borrow_hours cannot exceed expiration. Thus, any request past expiration is correctly denied. This is by design.
CONCLUSION: As expected, there is not a problem with the license manager or the Autodesk product. You cannot borrow a license beyond the expiration of your license, regardless of the option set in the adskflex.opt options file.
This situation generally occurs when you have requested a previous-use license file under Subscription. Autodesk may provide you with a license file for an older release that expires approximately 13 months after being generated. This issue may also occur on 3-year Subscription license files. If your license file has an expiration date, rather than permanent type, then you may experience this issue.
For more information on how to request previous versions of software under Subscription, please see this link:
Credit: David Benning
Solved! Go to Solution.
For eveything you could possibly want to know about the adskflex.opt Options file for FlexLM, please see my KB article here:
For a Quick-Start Guide on configuring the Autodesk License Manager, please see my post for further information:
If you are experiencing license manager issues, please create a new post in the Installation & Licensing forum. And please remember to give kudos when appropriate.
Yeah, after dealing with that one this morning, I thought... this needs to be documented! Doing a search on this yielded nothing. Now at least there is a reference for it.
I think I might start doing this more often.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register