VIC Error Codes

收集的一些VI Client错误信息和代码
 
0 �C VIX_OK
The operation was successful.

 
1 �C VIX_E_FAIL
Unknown error.

 
2 �C VIX_E_OUT_OF_MEMORY
Memory allocation failed: out of memory.

 
3 �C VIX_E_INVALID_ARG
One of the parameters was invalid.

 
4 �C VIX_E_FILE_NOT_FOUND
A file was not found.

 
5 �C VIX_E_OBJECT_IS_BUSY
This function cannot be performed because the handle is executing another function.

 
6 �C VIX_E_NOT_SUPPORTED
The operation is not supported for the specified parameters.

 
7 �C VIX_E_FILE_ERROR
A file access error occurred on the host or guest operating system.

 
8 �C 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 �C VIX_E_INCORRECT_FILE_TYPE
An error occurred while accessing a file: wrong file type.

 
10 �C VIX_E_CANCELLED
The operation was cancelled.

 
11 �C VIX_E_FILE_READ_ONLY
The file is write-protected.

 
12 �C VIX_E_FILE_ALREADY_EXISTS
The file already exists.

 
13 �C VIX_E_FILE_ACCESS_ERROR
You do not have access rights to this file.

 
14 �C VIX_E_REQUIRES_LARGE_FILES
The file system does not support sufficiently large files.

 
15 �C VIX_E_FILE_ALREADY_LOCKED
The file is already in use.

 
16 �C VIX_E_VMDB
The system returned an error. Communication with the virtual machine may have been interrupted.

 
20 �C VIX_E_NOT_SUPPORTED_ON_REMOTE_OBJECT
The command is not supported on remote objects.

 
21 �C VIX_E_FILE_TOO_BIG
The file is too big for the filesystem.

 
22 �C VIX_E_FILE_NAME_INVALID
The file name is not valid.

 
23 �C VIX_E_ALREADY_EXISTS
Already exists.

 
24 �C VIX_E_BUFFER_TOOSMALL
Buffer is too small.

 
25 �C VIX_E_OBJECT_NOT_FOUND
The request refers to an object that no longer exists or has never existed.

 
26 �C VIX_E_HOST_NOT_CONNECTED
Unable to connect to the host.

 
29 �C VIX_E_UNFINISHED_JOB
Job has not finished yet.

 
1000 �C VIX_E_INVALID_HANDLE
The handle is not a valid VIX object.

 
1001 �C VIX_E_NOT_SUPPORTED_ON_HANDLE_TYPE
The operation is not supported on this type of handle.

 
1002 �C VIX_E_TOO_MANY_HANDLES
Too many handles are open.

 
2000 �C VIX_E_NOT_FOUND
Invalid file - a required section of the file is missing.

 
2001 �C VIX_E_TYPE_MISMATCH
Invalid file - an object has the wrong type.

 
2002 �C VIX_E_INVALID_XML
Invalid file - contents may be corrupt.

 
3000 �C VIX_E_TIMEOUT_WAITING_FOR_TOOLS
Timeout error while waiting for the guest tools to start.

 
3001 �C VIX_E_UNRECOGNIZED_COMMAND
The command is not recognized by the virtual machine.

 
3003 �C VIX_E_OP_NOT_SUPPORTED_ON_GUEST
The requested operation is not supported on this guest operating system.

 
3004 �C VIX_E_PROGRAM_NOT_STARTED
A program could not run on the guest operating system.

 
3005 �C VIX_E_CANNOT_START_READ_ONLY_VM
Cannot power on a read-only virtual machine.

 
3006 �C VIX_E_VM_NOT_RUNNING
The virtual machine needs to be powered on.

 
3007 �C VIX_E_VM_IS_RUNNING
The virtual machine should not be powered on. It appears to be running already.

 
3008 �C VIX_E_CANNOT_CONNECT_TO_VM
Cannot connect to the virtual machine.

 
3009 �C VIX_E_POWEROP_SCRIPTS_NOT_AVAILABLE
Cannot execute scripts.

 
3010 �C VIX_E_NO_GUEST_OS_INSTALLED
No operating system installed in the virtual machine.

 
3011 �C VIX_E_VM_INSUFFICIENT_HOST_MEMORY
Not enough physical memory is available to power on this virtual machine.

 
3012 �C VIX_E_SUSPEND_ERROR
An error occurred while suspending the virtual machine.

 
3013 �C 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 �C VIX_E_HOST_USER_PERMISSIONS
Insufficient permissions in host operating system.

 
3015 �C VIX_E_GUEST_USER_PERMISSIONS
Authentication failure or insufficient permissions in guest operating system.

 
3016 �C VIX_E_TOOLS_NOT_RUNNING
Guest tools is not running.

 
3017 �C VIX_E_GUEST_OPERATIONS_PROHIBITED
Guest operations are not allowed on this virtual machine.

 
3018 �C VIX_E_ANON_GUEST_OPERATIONS_PROHIBITED
Guest operations are not allowed for the anonymous user on this virtual machine.

 
3019 �C VIX_E_ROOT_GUEST_OPERATIONS_PROHIBITED
Guest operations are not allowed for administrative user on this virtual machine.

 
3023 �C VIX_E_MISSING_ANON_GUEST_ACCOUNT
The virtual machine configuration must specify guest account name to be used for anonymous guest operations.

 
3024 �C VIX_E_CANNOT_AUTHENTICATE_WITH_GUEST
The virtual machine cannot authenticate users with guest.

 
3025 �C VIX_E_UNRECOGNIZED_COMMAND_IN_GUEST
The command is not recognized by the Guest OS tools.

 
3026 �C VIX_E_CONSOLE_GUEST_OPERATIONS_PROHIBITED
Guest operations are not allowed for console user on this virtual machine.

 
3027 �C VIX_E_MUST_BE_CONSOLE_USER
The command can only be run by console user.

 
3028 �C VIX_E_VMX_MSG_DIALOG_AND_NO_UI
The virtual machine is blocked waiting for a user operation.

 
3029 �C VIX_E_NOT_ALLOWED_DURING_VM_RECORDING
Not allowed while the virtual machine is recording.

 
3030 �C VIX_E_NOT_ALLOWED_DURING_VM_REPLAY
Not allowed while the virtual machine is replaying.

 
3031 �C VIX_E_OPERATION_NOT_ALLOWED_FOR_LOGIN_TYPE
The command is not allowed by this login type.

 
3032 �C VIX_E_LOGIN_TYPE_NOT_SUPPORTED
This login type is not supported.

 
3033 �C VIX_E_EMPTY_PASSWORD_NOT_ALLOWED_IN_GUEST
The guest does not support empty passwords.

 
3034 �C VIX_E_INTERACTIVE_SESSION_NOT_PRESENT
The specified guest user must be logged in interactively to perform this operation.

 
3035 �C VIX_E_INTERACTIVE_SESSION_USER_MISMATCH
The specified guest user does not match the user currently logged in interactively.

 
3039 �C VIX_E_UNABLE_TO_REPLAY_VM
Unable to replay the virtual machine.

 
4000 �C VIX_E_VM_NOT_FOUND
The virtual machine cannot be found.

 
4001 �C VIX_E_NOT_SUPPORTED_FOR_VM_VERSION
The operation is not supported for this virtual machine version.

 
4002 �C VIX_E_CANNOT_READ_VM_CONFIG
Cannot read the virtual machine configuration file.

 
4003 �C VIX_E_TEMPLATE_VM
Cannot perform this operation on a template virtual machine.

 
4004 �C VIX_E_VM_ALREADY_LOADED
The virtual machine has already been loaded.

 
4006 �C VIX_E_VM_ALREADY_UP_TO_DATE
The virtual machine is already up-to-date.

 
6000 �C VIX_E_UNRECOGNIZED_PROPERTY
Unrecognized handle property identifier.

 
6001 �C VIX_E_INVALID_PROPERTY_VALUE
Invalid property value.

 
6002 �C VIX_E_READ_ONLY_PROPERTY
Cannot change a read-only property.

 
6003 �C VIX_E_MISSING_REQUIRED_PROPERTY
This handle is missing a required property.

 
6004 �C VIX_E_INVALID_SERIALIZED_DATA
A serialized object is invalid and cannot be deserialized.

 
8000 �C VIX_E_BAD_VM_INDEX
The index parameter does not correspond to a result set.

 
10000 �C VIX_E_INVALID_MESSAGE_HEADER
A message header was corrupted or has the incorrect version.

 
10001 �C VIX_E_INVALID_MESSAGE_BODY
A message body was corrupted or is missing.

 
13000 �C VIX_E_SNAPSHOT_INVAL
The snapshot is incompatable with the current host.

 
13001 �C VIX_E_SNAPSHOT_DUMPER
Unable to open snapshot file.

 
13002 �C VIX_E_SNAPSHOT_DISKLIB
Disk problem.

 
13003 �C VIX_E_SNAPSHOT_NOTFOUND
A file by that name does not exist.

 
13004 �C VIX_E_SNAPSHOT_EXISTS
A file by that name already exists.

 
13005 �C VIX_E_SNAPSHOT_VERSION
Snapshots are not allowed on this virtual machine.

 
13006 �C VIX_E_SNAPSHOT_NOPERM
Insufficient permissions.

 
13007 �C VIX_E_SNAPSHOT_CONFIG
Something is wrong with the configuration file.

 
13008 �C VIX_E_SNAPSHOT_NOCHANGE
The state of the virtual machine has not changed since the last snapshot operation.

 
13009 �C VIX_E_SNAPSHOT_CHECKPOINT
Unable to save snapshot file.

 
13010 �C VIX_E_SNAPSHOT_LOCKED
A snapshot operation is already in progress.

 
13011 �C VIX_E_SNAPSHOT_INCONSISTENT
The snapshot files are in an inconsistent state.

 
13012 �C VIX_E_SNAPSHOT_NAMETOOLONG
The filename is too long.

 
13013 �C VIX_E_SNAPSHOT_VIXFILE
Cannot snapshot all metadata files.

 
13014 �C VIX_E_SNAPSHOT_DISKLOCKED
One or more of the disks are busy.

 
13015 �C VIX_E_SNAPSHOT_DUPLICATEDDISK
The virtual disk is used multiple times.

 
13016 �C VIX_E_SNAPSHOT_INDEPENDENTDISK
Powered on snapshot are not allowed on virtual machines with indpendent disks.

 
13017 �C VIX_E_SNAPSHOT_NONUNIQUE_NAME
The name does not uniquely identify one snapshot.

 
13018 �C VIX_E_SNAPSHOT_MEMORY_ON_INDEPENDENT_DISK
Failed to take a memory snapshot, since the virtual machine is configured with independent disks.

 
14003 �C VIX_E_HOST_DISK_INVALID_VALUE
The specified device is not a valid physical disk device.

 
14004 �C VIX_E_HOST_DISK_SECTORSIZE
Disk sector size check failed.

 
14005 �C VIX_E_HOST_FILE_ERROR_EOF
Read beyond the end of file.

 
14006 �C VIX_E_HOST_NETBLKDEV_HANDSHAKE
Error in protocol.

 
14007 �C VIX_E_HOST_SOCKET_CREATION_ERROR
Unable to create socket.

 
14008 �C VIX_E_HOST_SERVER_NOT_FOUND
The specified server could not be contacted.

 
14009 �C VIX_E_HOST_NETWORK_CONN_REFUSED
The server refused connection.

 
14010 �C VIX_E_HOST_TCP_SOCKET_ERROR
There was an error in communication.

 
14011 �C VIX_E_HOST_TCP_CONN_LOST
The connection was lost.

 
14012 �C VIX_E_HOST_NBD_HASHFILE_VOLUME
NBD_ERR_HASHFILE_VOLUME.

 
14013 �C VIX_E_HOST_NBD_HASHFILE_INIT
NBD_ERR_HASHFILE_INIT.

 
16000 �C VIX_E_DISK_INVAL
One of the parameters supplied is invalid.

 
16001 �C VIX_E_DISK_NOINIT
The disk library has not been initialized.

 
16002 �C VIX_E_DISK_NOIO
The called function requires the virtual disk to be opened for I/O.

 
16003 �C VIX_E_DISK_PARTIALCHAIN
The called function cannot be performed on partial chains. Please open the parent virtual disk.

 
16006 �C VIX_E_DISK_NEEDSREPAIR
The specified virtual disk needs repair.

 
16007 �C VIX_E_DISK_OUTOFRANGE
You have requested access to an area of the virtual disk that is out of bounds.

 
16008 �C VIX_E_DISK_CID_MISMATCH
The parent virtual disk has been modified since the child was created.

 
16009 �C VIX_E_DISK_CANTSHRINK
The specified virtual disk cannot be shrunk because it is not the parent disk.

 
16010 �C 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 �C VIX_E_DISK_UNSUPPORTEDDISKVERSION
than the version supported by this program.

 
16012 �C VIX_E_DISK_OPENPARENT
The parent of this virtual disk could not be opened.

 
16013 �C VIX_E_DISK_NOTSUPPORTED
The specified feature isn't supported by this version.

 
16014 �C VIX_E_DISK_NEEDKEY
One or more required keys were not provided.

 
16015 �C VIX_E_DISK_NOKEYOVERRIDE
Won't create unencrypted child of encrypted disk without explicit request.

 
16016 �C VIX_E_DISK_NOTENCRYPTED
Not an encrypted disk.

 
16017 �C VIX_E_DISK_NOKEY
No keys supplied for encrypting disk.

 
16018 �C VIX_E_DISK_INVALIDPARTITIONTABLE
The partition table is invalid.

 
16019 �C VIX_E_DISK_NOTNORMAL
Only sparse extents with embedded descriptors may be encrypted.

 
16020 �C VIX_E_DISK_NOTENCDESC
Not an encrypted descriptor file.

 
16022 �C VIX_E_DISK_NEEDVMFS
File system isn't VMFS.

 
16024 �C VIX_E_DISK_RAWTOOBIG
The physical disk is too big. The maximum size allowed is 2TB.

 
16027 �C VIX_E_DISK_TOOMANYOPENFILES
The host's limit for open files has been exceeded.

 
16028 �C VIX_E_DISK_TOOMANYREDO
Too many levels of redo logs.

 
16029 �C VIX_E_DISK_RAWTOOSMALL
The physical disk is too small.

 
16030 �C VIX_E_DISK_INVALIDCHAIN
Invalid disk chain: cannot mix hosted and managed style disks in the same chain.

 
16052 �C VIX_E_DISK_KEY_NOTFOUND
The specified key is not found in the disk data base.

 
16053 �C VIX_E_DISK_SUBSYSTEM_INIT_FAIL
One or more required subsystems failed to initialize.

 
16054 �C VIX_E_DISK_INVALID_CONNECTION
Invalid connection handle.

 
16061 �C VIX_E_DISK_ENCODING
Disk Encoding error.

 
16062 �C VIX_E_DISK_CANTREPAIR
Disk is corrupted and unrepairable.

 
16063 �C VIX_E_DISK_INVALIDDISK
The specified file is not a virtual disk.

 
16064 �C VIX_E_DISK_NOLICENSE
Host is not licensed for this feature.

 
17000 �C VIX_E_CRYPTO_UNKNOWN_ALGORITHM
Security library error.

 
17001 �C VIX_E_CRYPTO_BAD_BUFFER_SIZE
Security library error.

 
17002 �C VIX_E_CRYPTO_INVALID_OPERATION
Security library error.

 
17003 �C VIX_E_CRYPTO_RANDOM_DEVICE
Security library error.

 
17004 �C VIX_E_CRYPTO_NEED_PASSWORD
Security library error.

 
17005 �C VIX_E_CRYPTO_BAS_PASSWORD
Security library error.

 
17006 �C VIX_E_CRYPTO_NOT_IN_DICTIONARY
Security library error.

 
17007 �C VIX_E_CRYPTO_NO_CRYPTO
Security library error.

 
17008 �C VIX_E_CRYPTO_ERROR
Security library error.

 
17009 �C VIX_E_CRYPTO_BAD_FORMAT
Security library error.

 
17010 �C VIX_E_CRYPTO_LOCKED
Security library error.

 
17011 �C VIX_E_CRYPTO_EMPTY
Security library error.

 
17012 �C VIX_E_CRYPTO_KEYSAFE_LOCATOR
Security library error.

 
18000 �C VIX_E_CANNOT_CONNECT_TO_HOST
Cannot connect to host.

 
18001 �C VIX_E_NOT_FOR_REMOTE_HOST
This feature can only be supported on local host.

 
18002 �C 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 �C VIX_E_SCREEN_CAPTURE_ERROR
Could not capture screen.

 
19001 �C VIX_E_SCREEN_CAPTURE_BAD_FORMAT
Requested unsupported format.

 
19002 �C VIX_E_SCREEN_CAPTURE_COMPRESSION_FAIL
Could not compress screen capture.

 
19003 �C VIX_E_SCREEN_CAPTURE_LARGE_DATA
The screen capture data is larger than the given maximum size.

 
20000 �C VIX_E_GUEST_VOLUMES_NOT_FROZEN
Drives are not frozen.

 
20001 �C VIX_E_NOT_A_FILE
The object is not a file.

 
20002 �C VIX_E_NOT_A_DIRECTORY
The object is not a directory.

 
20003 �C VIX_E_NO_SUCH_PROCESS
No such process.

 
20004 �C VIX_E_FILE_NAME_TOO_LONG
File name too long.

 
22001 �C VIX_E_WRAPPER_WORKSTATION_NOT_INSTALLED
Service type VIX_SERVICEPROVIDER_VMWARE_WORKSTATION was specified, but not installed.

 
22002 �C VIX_E_WRAPPER_VERSION_NOT_FOUND
The specified version was not found.

 
22003 �C VIX_E_WRAPPER_SERVICEPROVIDER_NOT_FOUND
The specified service provider was not found.

你可能感兴趣的:(error,Vic,Codes,VirtualCenter,viclient)