Error codes produced by the licensing system will be logged in the Max.log file, under C:\Users\<username>\AppData\Low\Autodesk\3dsMax\<year>-64bit\ENU\Network\Max.log
The error codes related to licensing are detailed in the table below.
Code | Label | Description |
-1 | CLMHUB_STATUS_NOTIMPLEMENTED | The API function is not currently implemented |
0 | CLMHUB_STATUS_OK | Success |
1 | CLMHUB_STATUS_FAIL | Fail |
2 | CLMHUB_STATUS_INTERNAL_ERROR | Internal program error |
3 | CLMHUB_STATUS_FEATURE_NOT_AVAILABLE | The feature is not available for this license type |
4 | CLMHUB_STATUS_LOADLIB_ERROR | Error loading a library |
5 | CLMHUB_STATUS_OPEN_FILE_ERROR | The file could not be opened |
6 | CLMHUB_STATUS_OUT_OF_MEMORY | The system is out of memory |
7 | CLMHUB_STATUS_BAD_ARG | The argument to a function is bad |
8 | CLMHUB_STATUS_NULL_POINTER | Null pointer error |
9 | CLMHUB_STATUS_INITIALIZATION_ERROR | Error initializing CLM |
10 | CLMHUB_STATUS_ALREADY_LOADED | CLM has already been loaded |
11 | CLMHUB_STATUS_NOT_INITIALIZED | CLM has not been initialized |
12 | CLMHUB_STATUS_ALREADY_INITIALIZED | CLM has already been initialized |
13 | CLMHUB_STATUS_HANDLE_NOT_FOUND | The session handle was not found |
14 | CLMHUB_STATUS_HANDLE_ALREADY_CREATED | The session handle was already created |
15 | CLMHUB_STATUS_ERROR_OPENING_HANDLE | The session handle could not be opened |
16 | CLMHUB_STATUS_PARAM_NOT_FOUND | The named parameter was not found in the handle |
17 | CLMHUB_STATUS_LICENSE_CREATE_ERROR | Generic license create error |
18 | CLMHUB_STATUS_LICENSE_ALREADY_EXISTS | Cannot create new license, one already exist |
19 | CLMHUB_STATUS_LICENSE_NOT_FOUND | The license was not found |
20 | CLMHUB_STATUS_LICENSE_CHECKED_OUT | The license has already been checked out |
21 | CLMHUB_STATUS_LICENSE_CHECKOUT_CANCELLED | The license checkout was cancelled by the user |
22 | CLMHUB_STATUS_LICENSE_CHECKOUT_ERROR | Generic license checkout error |
23 | CLMHUB_STATUS_SET_CALLBACK_ERROR | Error setting Callback |
24 | CLMHUB_STATUS_APPQUIT_CALLBACK_NOT_SET | Lost license callback was not set |
25 | CLMHUB_STATUS_PRODKEY_NOT_SET | ProductKey was not set |
26 | CLMHUB_STATUS_PRODVER_NOT_SET | ProductVer was not set |
27 | CLMHUB_STATUS_USEROVERRIDE_ERROR | Failed to set UserOverride |
28 | CLMHUB_STATUS_LICENSE_INFO_KEY_NOT_FOUND | The license info key was not found |
29 | CLMHUB_STATUS_ERROR_CLOSING_HANDLE | Error closing session handle |
30 | CLMHUB_STATUS_CHECKINTERVAL_ERROR | Failed to set CheckInterval |
31 | CLMHUB_STATUS_RETRYINTERVAL_ERROR | Failed to set RetryInterval |
32 | CLMHUB_STATUS_RETRYCOUNT_ERROR | Failed to set RetryCount |
33 | CLMHUB_STATUS_PARAM_OUT_OF_RANGE | The named parameter is out of range |
34 | CLMHUB_STATUS_SESSION_NOT_CREATED | The session handle was not found |
35 | CLMHUB_STATUS_INVALID_PARAM_NAME | Invalid parameter name was specified |
36 | CLMHUB_STATUS_SET_SESSION_PARAM_ERROR | Failed to set session param |
37 | CLMHUB_STATUS_GET_SESSION_PARAM_ERROR | Failed to get session param |
38 | CLMHUB_STATUS_LICENSEPATH_ERROR | Failed to set LicensePath |
39 | CLMHUB_STATUS_LOG_ALREADY_CREATED | Log file is already created |
40 | CLMHUB_STATUS_LOG_NOT_CREATED | Log file is not created yet |
41 | CLMHUB_STATUS_LICENSE_NOT_CHECKED_OUT | The license has NOT been checked out |
42 | CLMHUB_STATUS_IDLE_MODE_ERROR | Failed to set idle mode |
43 | CLMHUB_STATUS_PITOVERRIDE_ERROR | Failed to set PitOverride |
44 | CLMHUB_STATUS_PRODKEY_NOT_FOUND | Product key not found |
45 | CLMHUB_STATUS_PIT_FILE_NOT_FOUND | Product information file not found |
46 | CLMHUB_STATUS_HOSTOVERRIDE_ERROR | Failed to set HostOverride |
47 | CLMHUB_STATUS_ASYNC_NONE | AuthorizeAsync not called |
48 | CLMHUB_STATUS_ASYNC_INVALID | Invalid call to AsyncStatus |
49 | CLMHUB_STATUS_ASYNC_PENDING | Async authorization is pending |
50 | CLMHUB_STATUS_ACCESS_DENIED | Failed to create log file because an access was denied |
51 | CLMHUB_STATUS_LIC_SERVER_NOT_SET | License server was not set |