Installation & Licensing

Installation & Licensing

Reply
*Expert Elite*
TravisNave
Posts: 10,626
Registered: ‎01-14-2005
Message 1 of 4 (655 Views)
Accepted Solution

Error -104 Borrowing when MAX_BORROW_HOURS extends beyond license expiration

655 Views, 3 Replies
09-18-2013 12:03 PM

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.

 

 

Debug.log file:

 

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. 

 

 

AutoCAD.lic file:

 

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:

 

http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=17292981&linkID=16831209

 

Good Luck!

 

Credit:  David Benning

 

For eveything you could possibly want to know about the adskflex.opt Options file for FlexLM, please see my KB article here:

http://forums.autodesk.com/t5/Installation-Licensing/Managing-the-adskflex-opt-Options-File/td-p/3079288

 

 

For a Quick-Start Guide on configuring the Autodesk License Manager, please see my post for further information:

http://forums.autodesk.com/t5/Installation-Licensing/Quick-Start-Guide-for-Configuring-LMTOOLS/m-p/3216138

 

 

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.

Thanks!

*Expert Elite*
TravisNave
Posts: 10,626
Registered: ‎01-14-2005
Message 2 of 4 (653 Views)

Re: Error -104 Borrowing when MAX_BORROW_HOURS extends beyond license expiration

09-18-2013 12:06 PM in reply to: TravisNave

For eveything you could possibly want to know about the adskflex.opt Options file for FlexLM, please see my KB article here:

http://forums.autodesk.com/t5/Installation-Licensing/Managing-the-adskflex-opt-Options-File/td-p/307...

 

 

For a Quick-Start Guide on configuring the Autodesk License Manager, please see my post for further information:

http://forums.autodesk.com/t5/Installation-Licensing/Quick-Start-Guide-for-Configuring-LMTOOLS/m-p/3...

 

 

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.

Thanks!

*Expert Elite*
DarrenP
Posts: 7,577
Registered: ‎09-13-2007
Message 3 of 4 (629 Views)

Re: Error -104 Borrowing when MAX_BORROW_HOURS extends beyond license expiration

09-18-2013 02:26 PM in reply to: TravisNave

nice!

*Expert Elite*
TravisNave
Posts: 10,626
Registered: ‎01-14-2005
Message 4 of 4 (625 Views)

Re: Error -104 Borrowing when MAX_BORROW_HOURS extends beyond license expiration

09-18-2013 02:36 PM in reply to: DarrenP

DarrenP wrote:

nice!


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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!