Status Codes
This help topic contains error codes returned by the MAX Configuration API. If an error condition occurs during a call to one of the MAX Configuration API functions, the return value status contains the returned error code.
Defined Constant | Value | Description |
NIMAXError_PermissionDenied | -2147220560 | Unable to write to file. Permission denied. |
NIMAXError_SystemNotFound | -2147220559 | Unable to connect to the specified system. Ensure that the system is online. |
NIMAXError_TransformFailed | -2147220558 | Error running transform to generate report. |
NIMAXError_NotInstalled | -2147220557 | Unable to find NI MAX on the system. Please re-install. |
NIMAXError_LaunchFailure | -2147220556 | Unexpected error launching nimax.exe. |
NIMAXError_MissingTransform | -2147220554 | Unable to find XSL transform to generate report. |
NIMAXError_IncorrectExtension | -2147220553 | Incorrect report file extension provided. |
NIMAXError_FileReadOnly | -2147220552 | Report file is read-only. Unable to generate report. |
NIMAXError_ReportOverwrite | -2147220551 | Report file exists and the NIMAX_FailIfOverwritingReport flag was set. |
NIMAXError_DirectoryError | -2147220550 | Error creating directory for report files. |
NIMAXError_InvalidArgument | -2147024809 | Invalid argument (src/dst cannot be the same or blank; product must be blank or a valid entry) |
NIMAXError_CannotOpenFile | -2147220480 | Error opening a file |
NIMAXError_InsufficientPermissions | -2147220479 | The object cannot be accessed because of insufficient permissions |
NIMAXError_NCECopierFailed | -2147220478 | Error with the object copier |
NIMAXError_FileOperationFailed | -2147220477 | Error performing a file operation |
NIMAXError_NameCollisionError | -2147220476 | Names from one product expert have collided with another product expert |
NIMAXError_UnexpectedError | -2147220475 | Unexpected error has occurred |
NIMAXError_NCENoStreamError | -2147220474 | The product expert requested its stream for import but we could not give it one because it did not export a stream |
NIMAXError_NCECompressionError | -2147220473 | Error compressing or decompressing file |
NIMAXError_NCEStreamReadError | -2147220472 | Error reading from a stream |
NIMAXError_NCEStreamWriteError | -2147220471 | Error writing to a stream |
NIMAXError_NCEStreamSeekError | -2147220470 | Error seeking to a position in a stream |
NIMAXError_NCERepoNotReady | -2147220469 | Repository not ready to be exported |
NIMAXError_NCERepoInvalid | -2147220468 | The file or stream chosen to import the repository from is not a valid repository |
NIMAXError_NCERepoIncompat | -2147220467 | The repository was exported with a newer version of MAX than what is on the importing machine |
NIMAXError_NCENoImportStorage | -2147220466 | The import storage could not be opened |
NIMAXError_NCENoExportStorage | -2147220465 | The export storage could not be created |
NIMAXError_NCENoObjCopier | -2147220464 | The object copier could not be created |
NIMAXError_CopyInProgress | -2147220463 | A copy operation is already in progress |
NIMAXError_FileNotRecognized | -2147220462 | The custom file does not belong to a given product expert |
NIMAXError_SystemNotSupported | -2147220461 | A specified system is not supported by this product |
NIMAXError_SystemNotReachable | -2147220460 | A specified system is presumably supported, but network errors prevent connection |
NIMAXError_ProductSoftwareNotInstalled | -2147220459 | The remote NI Real-Time target was reached, but the product is not installed there |
NIMAXError_ProductSoftwareTooOld | -2147220458 | The product is installed on the remote NI Real-Time target, but is too old |
NIMAXError_ProductSoftwareTooNew | -2147220457 | The product is installed on the remote NI Real-Time target, but is too new |
NIMAXError_DataTooOld | -2147220456 | The import data is too old (product is not backwards compatible with this data) |
NIMAXError_DataTooNew | -2147220455 | The import data is too new (product is not forwards compatible with this data) |
NIMAXError_NoItemsToCopy | -2147220454 | The operation failed because no source items were specified |
NIMAXError_OrphanItems | -2147220453 | The operation failed because some items were orphans |
NIMAXError_DirtyItems | -2147220452 | The operation failed because some items were in-edit and not saved |
NIMAXError_FileOverwrite | -2147220451 | The operation failed because it would overwrite a file |
NIMAXError_ItemOverwrite | -2147220450 | The operation failed because it would overwrite items |
NIMAXError_MissingDependency | -2147220449 | The operation failed because of missing dependency items |
NIMAXError_Timeout | -2147220448 | The operation timed out |
NIMAXError_OperationCanceled | -2147220447 | The operation was canceled by the client |
NIMAXError_WarningConflicts | -2147220446 | The operation failed because of warning conflicts |
NIMAXError_ErrorConflicts | -2147220445 | The operation failed because of conflicts, in general |
NIMAXError_ItemsRequireUserInput | -2147220444 | The operation failed because of unresolved conflicts requiring user input |
NIMAXError_ProductExpertNotReady | -2147220443 | A product is not ready to accept the specified source or destination, but may become ready in the future |
NIMAXError_OrphanFiles | -2147220442 | The operation failed because some files were orphans |
NIMAXError_IsConst | -2147220441 | Caller called a non-constant method on an object that is logically constant |
NIMAXError_UnsupportedProductMode | -2147220440 | A product does not support the attempted copy mode, such as merge to file |