Error Codes
- 0 – VIX_OK
- The operation was successful.
- 1 – VIX_E_FAIL
- Unknown error.
- 2 – VIX_E_OUT_OF_MEMORY
- Memory allocation failed: out of memory.
- 3 – VIX_E_INVALID_ARG
- One of the parameters was invalid.
- 4 – VIX_E_FILE_NOT_FOUND
- A file was not found.
- 5 – VIX_E_OBJECT_IS_BUSY
- This function cannot be performed because the handle is executing another function.
- 6 – VIX_E_NOT_SUPPORTED
- The operation is not supported for the specified parameters.
- 7 – VIX_E_FILE_ERROR
- A file access error occurred on the host or guest operating system.
- 8 – VIX_E_DISK_FULL
- An error occurred while writing a file; the disk is full. Data has not been saved. Free some space and try again.
- 9 – VIX_E_INCORRECT_FILE_TYPE
- An error occurred while accessing a file: wrong file type.
- 10 – VIX_E_CANCELLED
- The operation was cancelled.
- 11 – VIX_E_FILE_READ_ONLY
- The file is write-protected.
- 12 – VIX_E_FILE_ALREADY_EXISTS
- The file already exists.
- 13 – VIX_E_FILE_ACCESS_ERROR
- You do not have access rights to this file.
- 14 – VIX_E_REQUIRES_LARGE_FILES
- The file system does not support sufficiently large files.
- 15 – VIX_E_FILE_ALREADY_LOCKED
- The file is already in use.
- 16 – VIX_E_VMDB
- The system returned an error. Communication with the virtual machine may have been interrupted.
- 20 – VIX_E_NOT_SUPPORTED_ON_REMOTE_OBJECT
- The command is not supported on remote objects.
- 21 – VIX_E_FILE_TOO_BIG
- The file is too big for the filesystem.
- 22 – VIX_E_FILE_NAME_INVALID
- The file name is not valid.
- 23 – VIX_E_ALREADY_EXISTS
- Already exists.
- 24 – VIX_E_BUFFER_TOOSMALL
- Buffer is too small.
- 25 – VIX_E_OBJECT_NOT_FOUND
- The request refers to an object that no longer exists or has never existed.
- 26 – VIX_E_HOST_NOT_CONNECTED
- Unable to connect to the host.
- 29 – VIX_E_UNFINISHED_JOB
- Job has not finished yet.
- 1000 – VIX_E_INVALID_HANDLE
- The handle is not a valid VIX object.
- 1001 – VIX_E_NOT_SUPPORTED_ON_HANDLE_TYPE
- The operation is not supported on this type of handle.
- 1002 – VIX_E_TOO_MANY_HANDLES
- Too many handles are open.
- 2000 – VIX_E_NOT_FOUND
- Invalid file - a required section of the file is missing.
- 2001 – VIX_E_TYPE_MISMATCH
- Invalid file - an object has the wrong type.
- 2002 – VIX_E_INVALID_XML
- Invalid file - contents may be corrupt.
- 3000 – VIX_E_TIMEOUT_WAITING_FOR_TOOLS
- Timeout error while waiting for the guest tools to start.
- 3001 – VIX_E_UNRECOGNIZED_COMMAND
- The command is not recognized by the virtual machine.
- 3003 – VIX_E_OP_NOT_SUPPORTED_ON_GUEST
- The requested operation is not supported on this guest operating system.
- 3004 – VIX_E_PROGRAM_NOT_STARTED
- A program could not run on the guest operating system.
- 3005 – VIX_E_CANNOT_START_READ_ONLY_VM
- Cannot power on a read-only virtual machine.
- 3006 – VIX_E_VM_NOT_RUNNING
- The virtual machine needs to be powered on.
- 3007 – VIX_E_VM_IS_RUNNING
- The virtual machine should not be powered on. It appears to be running already.
- 3008 – VIX_E_CANNOT_CONNECT_TO_VM
- Cannot connect to the virtual machine.
- 3009 – VIX_E_POWEROP_SCRIPTS_NOT_AVAILABLE
- Cannot execute scripts.
- 3010 – VIX_E_NO_GUEST_OS_INSTALLED
- No operating system installed in the virtual machine.
- 3011 – VIX_E_VM_INSUFFICIENT_HOST_MEMORY
- Not enough physical memory is available to power on this virtual machine.
- 3012 – VIX_E_SUSPEND_ERROR
- An error occurred while suspending the virtual machine.
- 3013 – VIX_E_VM_NOT_ENOUGH_CPUS
- This virtual machine is configured to run with 2 CPUs, but the host only has 1 CPU. The virtual machine cannot be powered on.
- 3014 – VIX_E_HOST_USER_PERMISSIONS
- Insufficient permissions in host operating system.
- 3015 – VIX_E_GUEST_USER_PERMISSIONS
- Authentication failure or insufficient permissions in guest operating system.
- 3016 – VIX_E_TOOLS_NOT_RUNNING
- Guest tools is not running.
- 3017 – VIX_E_GUEST_OPERATIONS_PROHIBITED
- Guest operations are not allowed on this virtual machine.
- 3018 – VIX_E_ANON_GUEST_OPERATIONS_PROHIBITED
- Guest operations are not allowed for the anonymous user on this virtual machine.
- 3019 – VIX_E_ROOT_GUEST_OPERATIONS_PROHIBITED
- Guest operations are not allowed for administrative user on this virtual machine.
- 3023 – VIX_E_MISSING_ANON_GUEST_ACCOUNT
- The virtual machine configuration must specify guest account name to be used for anonymous guest operations.
- 3024 – VIX_E_CANNOT_AUTHENTICATE_WITH_GUEST
- The virtual machine cannot authenticate users with guest.
- 3025 – VIX_E_UNRECOGNIZED_COMMAND_IN_GUEST
- The command is not recognized by the Guest OS tools.
- 3026 – VIX_E_CONSOLE_GUEST_OPERATIONS_PROHIBITED
- Guest operations are not allowed for console user on this virtual machine.
- 3027 – VIX_E_MUST_BE_CONSOLE_USER
- The command can only be run by console user.
- 3028 – VIX_E_VMX_MSG_DIALOG_AND_NO_UI
- The virtual machine is blocked waiting for a user operation.
- 3029 – VIX_E_NOT_ALLOWED_DURING_VM_RECORDING
- Not allowed while the virtual machine is recording.
- 3030 – VIX_E_NOT_ALLOWED_DURING_VM_REPLAY
- Not allowed while the virtual machine is replaying.
- 3031 – VIX_E_OPERATION_NOT_ALLOWED_FOR_LOGIN_TYPE
- The command is not allowed by this login type.
- 3032 – VIX_E_LOGIN_TYPE_NOT_SUPPORTED
- This login type is not supported.
- 3033 – VIX_E_EMPTY_PASSWORD_NOT_ALLOWED_IN_GUEST
- The guest does not support empty passwords.
- 3034 – VIX_E_INTERACTIVE_SESSION_NOT_PRESENT
- The specified guest user must be logged in interactively to perform this operation.
- 3035 – VIX_E_INTERACTIVE_SESSION_USER_MISMATCH
- The specified guest user does not match the user currently logged in interactively.
- 3039 – VIX_E_UNABLE_TO_REPLAY_VM
- Unable to replay the virtual machine.
- 4000 – VIX_E_VM_NOT_FOUND
- The virtual machine cannot be found.
- 4001 – VIX_E_NOT_SUPPORTED_FOR_VM_VERSION
- The operation is not supported for this virtual machine version.
- 4002 – VIX_E_CANNOT_READ_VM_CONFIG
- Cannot read the virtual machine configuration file.
- 4003 – VIX_E_TEMPLATE_VM
- Cannot perform this operation on a template virtual machine.
- 4004 – VIX_E_VM_ALREADY_LOADED
- The virtual machine has already been loaded.
- 4006 – VIX_E_VM_ALREADY_UP_TO_DATE
- The virtual machine is already up-to-date.
- 6000 – VIX_E_UNRECOGNIZED_PROPERTY
- Unrecognized handle property identifier.
- 6001 – VIX_E_INVALID_PROPERTY_VALUE
- Invalid property value.
- 6002 – VIX_E_READ_ONLY_PROPERTY
- Cannot change a read-only property.
- 6003 – VIX_E_MISSING_REQUIRED_PROPERTY
- This handle is missing a required property.
- 6004 – VIX_E_INVALID_SERIALIZED_DATA
- A serialized object is invalid and cannot be deserialized.
- 8000 – VIX_E_BAD_VM_INDEX
- The index parameter does not correspond to a result set.
- A message header was corrupted or has the incorrect version.
- 10001 – VIX_E_INVALID_MESSAGE_BODY
- A message body was corrupted or is missing.
- 13000 – VIX_E_SNAPSHOT_INVAL
- The snapshot is incompatable with the current host.
- 13001 – VIX_E_SNAPSHOT_DUMPER
- Unable to open snapshot file.
- 13002 – VIX_E_SNAPSHOT_DISKLIB
- Disk problem.
- 13003 – VIX_E_SNAPSHOT_NOTFOUND
- A file by that name does not exist.
- 13004 – VIX_E_SNAPSHOT_EXISTS
- A file by that name already exists.
- 13005 – VIX_E_SNAPSHOT_VERSION
- Snapshots are not allowed on this virtual machine.
- 13006 – VIX_E_SNAPSHOT_NOPERM
- Insufficient permissions.
- 13007 – VIX_E_SNAPSHOT_CONFIG
- Something is wrong with the configuration file.
- 13008 – VIX_E_SNAPSHOT_NOCHANGE
- The state of the virtual machine has not changed since the last snapshot operation.
- 13009 – VIX_E_SNAPSHOT_CHECKPOINT
- Unable to save snapshot file.
- 13010 – VIX_E_SNAPSHOT_LOCKED
- A snapshot operation is already in progress.
- 13011 – VIX_E_SNAPSHOT_INCONSISTENT
- The snapshot files are in an inconsistent state.
- 13012 – VIX_E_SNAPSHOT_NAMETOOLONG
- The filename is too long.
- 13013 – VIX_E_SNAPSHOT_VIXFILE
- Cannot snapshot all metadata files.
- 13014 – VIX_E_SNAPSHOT_DISKLOCKED
- One or more of the disks are busy.
- 13015 – VIX_E_SNAPSHOT_DUPLICATEDDISK
- The virtual disk is used multiple times.
- 13016 – VIX_E_SNAPSHOT_INDEPENDENTDISK
- Powered on snapshot are not allowed on virtual machines with indpendent disks.
- 13017 – VIX_E_SNAPSHOT_NONUNIQUE_NAME
- The name does not uniquely identify one snapshot.
- 13018 – VIX_E_SNAPSHOT_MEMORY_ON_INDEPENDENT_DISK
- Failed to take a memory snapshot, since the virtual machine is configured with independent disks.
- 14003 – VIX_E_HOST_DISK_INVALID_VALUE
- The specified device is not a valid physical disk device.
- 14004 – VIX_E_HOST_DISK_SECTORSIZE
- Disk sector size check failed.
- 14005 – VIX_E_HOST_FILE_ERROR_EOF
- Read beyond the end of file.
- 14006 – VIX_E_HOST_NETBLKDEV_HANDSHAKE
- Error in protocol.
- 14007 – VIX_E_HOST_SOCKET_CREATION_ERROR
- Unable to create socket.
- 14008 – VIX_E_HOST_SERVER_NOT_FOUND
- The specified server could not be contacted.
- 14009 – VIX_E_HOST_NETWORK_CONN_REFUSED
- The server refused connection.
- 14010 – VIX_E_HOST_TCP_SOCKET_ERROR
- There was an error in communication.
- 14011 – VIX_E_HOST_TCP_CONN_LOST
- The connection was lost.
- 14012 – VIX_E_HOST_NBD_HASHFILE_VOLUME
- NBD_ERR_HASHFILE_VOLUME.
- 14013 – VIX_E_HOST_NBD_HASHFILE_INIT
- NBD_ERR_HASHFILE_INIT.
- 16000 – VIX_E_DISK_INVAL
- One of the parameters supplied is invalid.
- 16001 – VIX_E_DISK_NOINIT
- The disk library has not been initialized.
- 16002 – VIX_E_DISK_NOIO
- The called function requires the virtual disk to be opened for I/O.
- 16003 – VIX_E_DISK_PARTIALCHAIN
- The called function cannot be performed on partial chains. Please open the parent virtual disk.
- 16006 – VIX_E_DISK_NEEDSREPAIR
- The specified virtual disk needs repair.
- 16007 – VIX_E_DISK_OUTOFRANGE
- You have requested access to an area of the virtual disk that is out of bounds.
- 16008 – VIX_E_DISK_CID_MISMATCH
- The parent virtual disk has been modified since the child was created.
- 16009 – VIX_E_DISK_CANTSHRINK
- The specified virtual disk cannot be shrunk because it is not the parent disk.
- 16010 – VIX_E_DISK_PARTMISMATCH
- The partition table on the physical disk has changed since the disk was created. Remove the physical disk from the virtual machine, then add it again.
- 16011 – VIX_E_DISK_UNSUPPORTEDDISKVERSION
- than the version supported by this program.
- 16012 – VIX_E_DISK_OPENPARENT
- The parent of this virtual disk could not be opened.
- 16013 – VIX_E_DISK_NOTSUPPORTED
- The specified feature isn't supported by this version.
- 16014 – VIX_E_DISK_NEEDKEY
- One or more required keys were not provided.
- 16015 – VIX_E_DISK_NOKEYOVERRIDE
- Won't create unencrypted child of encrypted disk without explicit request.
- 16016 – VIX_E_DISK_NOTENCRYPTED
- Not an encrypted disk.
- 16017 – VIX_E_DISK_NOKEY
- No keys supplied for encrypting disk.
- 16018 – VIX_E_DISK_INVALIDPARTITIONTABLE
- The partition table is invalid.
- 16019 – VIX_E_DISK_NOTNORMAL
- Only sparse extents with embedded descriptors may be encrypted.
- 16020 – VIX_E_DISK_NOTENCDESC
- Not an encrypted descriptor file.
- 16022 – VIX_E_DISK_NEEDVMFS
- File system isn't VMFS.
- 16024 – VIX_E_DISK_RAWTOOBIG
- The physical disk is too big. The maximum size allowed is 2TB.
- 16027 – VIX_E_DISK_TOOMANYOPENFILES
- The host's limit for open files has been exceeded.
- 16028 – VIX_E_DISK_TOOMANYREDO
- Too many levels of redo logs.
- 16029 – VIX_E_DISK_RAWTOOSMALL
- The physical disk is too small.
- 16030 – VIX_E_DISK_INVALIDCHAIN
- Invalid disk chain: cannot mix hosted and managed style disks in the same chain.
- 16052 – VIX_E_DISK_KEY_NOTFOUND
- The specified key is not found in the disk data base.
- 16053 – VIX_E_DISK_SUBSYSTEM_INIT_FAIL
- One or more required subsystems failed to initialize.
- 16054 – VIX_E_DISK_INVALID_CONNECTION
- Invalid connection handle.
- 16061 – VIX_E_DISK_ENCODING
- Disk Encoding error.
- 16062 – VIX_E_DISK_CANTREPAIR
- Disk is corrupted and unrepairable.
- 16063 – VIX_E_DISK_INVALIDDISK
- The specified file is not a virtual disk.
- 16064 – VIX_E_DISK_NOLICENSE
- Host is not licensed for this feature.
- 17000 – VIX_E_CRYPTO_UNKNOWN_ALGORITHM
- Security library error.
- 17001 – VIX_E_CRYPTO_BAD_BUFFER_SIZE
- Security library error.
- 17002 – VIX_E_CRYPTO_INVALID_OPERATION
- Security library error.
- 17003 – VIX_E_CRYPTO_RANDOM_DEVICE
- Security library error.
- 17004 – VIX_E_CRYPTO_NEED_PASSWORD
- Security library error.
- 17005 – VIX_E_CRYPTO_BAS_PASSWORD
- Security library error.
- 17006 – VIX_E_CRYPTO_NOT_IN_DICTIONARY
- Security library error.
- 17007 – VIX_E_CRYPTO_NO_CRYPTO
- Security library error.
- 17008 – VIX_E_CRYPTO_ERROR
- Security library error.
- 17009 – VIX_E_CRYPTO_BAD_FORMAT
- Security library error.
- 17010 – VIX_E_CRYPTO_LOCKED
- Security library error.
- 17011 – VIX_E_CRYPTO_EMPTY
- Security library error.
- 17012 – VIX_E_CRYPTO_KEYSAFE_LOCATOR
- Security library error.
- 18000 – VIX_E_CANNOT_CONNECT_TO_HOST
- Cannot connect to host.
- 18001 – VIX_E_NOT_FOR_REMOTE_HOST
- This feature can only be supported on local host.
- 18002 – VIX_E_INVALID_HOSTNAME_SPECIFICATION
- Malformed hostname parameter. For the given service provider, the hostname must be a URL, in the form https://:/sdk.
- 19000 – VIX_E_SCREEN_CAPTURE_ERROR
- Could not capture screen.
- 19001 – VIX_E_SCREEN_CAPTURE_BAD_FORMAT
- Requested unsupported format.
- 19002 – VIX_E_SCREEN_CAPTURE_COMPRESSION_FAIL
- Could not compress screen capture.
- 19003 – VIX_E_SCREEN_CAPTURE_LARGE_DATA
- The screen capture data is larger than the given maximum size.
- 20000 – VIX_E_GUEST_VOLUMES_NOT_FROZEN
- Drives are not frozen.
- 20001 – VIX_E_NOT_A_FILE
- The object is not a file.
- 20002 – VIX_E_NOT_A_DIRECTORY
- The object is not a directory.
- 20003 – VIX_E_NO_SUCH_PROCESS
- No such process.
- 20004 – VIX_E_FILE_NAME_TOO_LONG
- File name too long.
- 22001 – VIX_E_WRAPPER_WORKSTATION_NOT_INSTALLED
- Service type VIX_SERVICEPROVIDER_VMWARE_WORKSTATION was specified, but not installed.
- 22002 – VIX_E_WRAPPER_VERSION_NOT_FOUND
- The specified version was not found.
- 22003 – VIX_E_WRAPPER_SERVICEPROVIDER_NOT_FOUND
- The specified service provider was not found.