Compartilhar via


HRESULT Codes Specific to the Virtual Server

VM_E_TIMED_OUT

0xA0040202

Operation timed out.

VM_E_OUT_OF_RESOURCE

0xA0040203

Out of resources.

VM_E_TOO_MANY_VMS

0xA0040204

Too many virtual machines started.

VM_E_VM_NOT_RUNNING

0xA0040206

The virtual machine must be running for this operation.

VM_E_VM_UNKNOWN

0xA0040207

Could not find the specified virtual machine.

VM_E_OUT_OF_RESERVE

0xA0040208

A virtual machine could not be started because its resource allocation exceeds the amount of host resources available.

VM_E_APP_SHUTTING_DOWN

0xA0040209

The operation could not be done because Virtual Server is shutting down. This is normally caused when a user tries to start an asynchronous operation (such as running a virtual machine or creating a virtual hard disk image) after an administrator has started the server's shutdown process.

VM_E_SCRIPT_ALREADY_EXISTS

0xA004020A

A script is already attached to this event.

VM_E_PREF_NOT_FOUND

0xA0040300

Preference was not found.

VM_E_PREF_ILLEGAL_VALUE

0xA0040301

Illegal preference value was specified.

VM_E_PREF_VM_ACTIVE

0xA0040302

Preference cannot be changed for a running or saved virtual machine.

VM_E_PREF_CONFIG_UPDATED_VM_ACTIVE

0xA0040303

Preference change was successful but will not take effect until the next time the virtual machine is started.

VM_E_PREF_UNLOADABLE_ACTIVATION

0xA0040306

The activation dictionary could not be loaded. This can be caused by a corrupted or missing saved state file.

VM_E_PREF_SAVED_STATE_BAD_VERSION

0xA0040307

The virtual machine's saved state is not compatible with this version of Virtual Server.

VM_E_PREF_SAVED_STATE_ACCESS_DENIED

0xA0040308

The virtual machine's saved state could not be accessed because the user has insufficient access rights.

VM_E_CONFIG_NO_NAME

0xA0040400

A virtual machine name was not specified.

VM_E_CONFIG_NAME_TOO_LONG

0xA0040401

The name of the virtual machine is too long. The length of the name cannot be more than 256 characters.

VM_E_CONFIG_NAME_INVALID_CHAR

0xA0040402

The name of the virtual machine contains an invalid character (one of "*?:<>/|\"").

VM_E_CONFIG_DUPLICATE_NAME

0xA0040403

A virtual machine with this name already exists.

VM_E_VM_RUNNING

0xA0040500

Operation cannot be performed on a running virtual machine.

VM_E_VM_NO_SAVED_STATE

0xA0040501

Attempt to restore a virtual machine with no saved state.

VM_E_DRIVE_INVALID

0xA0040502

Invalid drive was specified.

VM_E_DRIVE_BUS_LOC_IN_USE

0xA0040503

Attempt to attach a drive to a bus location that is already in use.

VM_E_ADDITIONS_NOT_AVAIL

0xA0040504

Additions are not installed in this virtual machine, or the virtual machine has never been started.

VM_E_ADDITIONS_FEATURE_NOT_AVAIL

0xA0040505

Additions feature is not available; either Additions are not installed or the feature has been disabled.

VM_E_FOLDER_NOT_SHARED

0xA0040506

The specified folder is not being shared by the Additions.

VM_E_VM_PAUSED

0xA0040507

Cannot execute a command in the guest because the virtual machine is paused.

VM_E_MEDIA_UNMOUNT_FAIL

0xA0040508

Attempt to unmount the media present in virtual machine DVD drive failed.

VM_E_IMAGE_CAPTURE_FAIL

0xA0040650

Could not capture floppy drive image.

VM_E_HOST_FLOPPY_CAPTURE_FAIL

0xA0040651

Could not capture host floppy drive.

VM_E_NO_MEDIA_CAPTURED

0xA0040652

Could not capture floppy drive image.

VM_E_PARENT_PATH_NOT_FOUND

0xA0040677

Invalid differencing drive parent path.

VM_E_FILE_TOO_LARGE_FOR_VOLUME

0xA0040679

Attempt to create a file larger than what the host volume supports.

VM_E_FILE_READ_ONLY

0xA004067A

The file cannot be read-only.

VM_E_WRONG_HD_IMAGE_TYPE

0xA004067B

The hard disk drive image type cannot be used for this operation.

VM_E_HD_IMAGE_OPEN_FAIL

0xA004067C

The hard disk drive image could not be opened. Make sure that the file still exists and is not in use by any other applications.

VM_E_HOST_DRIVE_NOT_FOUND

0xA004067E

The host drive linked to by this virtual hard disk image cannot be found. Make sure that the host drive for this virtual hard disk image still exists.

VM_E_HD_IMAGE_ACCESS

0xA0040681

An unknown error has occurred attempting to access a virtual hard disk image.

VM_E_INVALID_HD_FILE

0xA0040682

The virtual hard disk image seems to be invalid. Make sure that the file has the "".vhd"" virtual hard disk image extension and that the file is actually a virtual hard disk image.

VM_E_IMAGE_SIZE_TOO_LARGE

0xA0040683

A virtual hard disk image size cannot be larger than 2,088,960 MB. A FAT16 virtual hard disk image size cannot be greater than 2,000 MB.

VM_E_IMAGE_SIZE_TOO_SMALL

0xA0040684

An unformatted virtual hard disk image size must be at least 3 MB. A FAT16 virtual hard disk image size must be at least 3 MB. A FAT32 virtual hard disk image size must be at least 514 MB.

VM_E_PARENT_CHILD_ID_MISMATCH

0xA0040685

A differencing drive must be linked to the parent it was created with. If the parent virtual hard disk image was replaced, it could lead to the child pointing at the wrong virtual hard disk image. Make sure to keep the correct child paired with the correct parent.

VM_E_ADAPTER_NOT_FOUND

0xA0040700

Host Ethernet adapter does not exist.

VM_E_VIRTUAL_NETWORK_NAME_ALREADY_EXISTS

0xA0040701

A duplicate virtual network name was specified.

VM_E_INVALID_VIRTUAL_NETWORK_ID

0xA0040702

A virtual network with the given ID could not be found.

VM_E_CANT_SET_ETHERNET_ADDRESS

0xA0040703

A virtual NIC Ethernet address cannot be set if the NIC has a dynamic Ethernet address. To set the Ethernet address, first set the IVMNetworkAdapter::IsEthernetAddressDynamic property to FALSE.

VM_E_INVALID_IP_ADDRESS

0xA0040704

The IP address string is not formed correctly. A properly formed IP address follows the pattern ""X.X.X.X"", where 0 <= X <= 255.

VM_E_INVALID_NETWORK_ADDRESS

0xA0040705

The IP address string must be a class A, class B, or class C address.

VM_E_INVALID_NETWORK_MASK

0xA0040706

The network mask is not valid for the class of network address.

VM_E_INVALID_STARTING_ADDRESS

0xA0040707

The starting IP address is not in a valid range.

VM_E_INVALID_ENDING_ADDRESS

0xA0040708

The ending IP address is not in a valid range.

VM_E_INVALID_ADDRESS_RANGE

0xA0040709

The starting IP address must be less than the ending IP address.

VM_E_CANT_SET_DYNAMIC_MAC_ADDRESS

0xA004070A

The Ethernet address for a network interface can either be generated dynamically by virtual server or can be set to a static address by the user. This function cannot be called when the address is set to be generated dynamically. The function IVMNetworkAdapter::IsEthernetAddressDynamic is used to change the generation behavior of the Ethernet address.

VM_E_DRIVE_IN_USE

0xA0040727

Access to the requested drive failed because the drive is already in use.

VM_E_MEDIA_WRONG_TYPE

0xA0040728

The media that is currently captured by this drive does not match the type that is required for the requested operation.

VM_E_NO_LICENSE

0xA0040750

No license is available.

VM_E_INVALID_LICENSE

0xA0040751

An invalid license is installed.

VM_E_INVALID_LICENSE_KEY

0xA0040752

An invalid license key was found.

VM_E_INVALID_LICENSE_VALUE

0xA0040753

An invalid license value was found.

VM_E_LICENSE_ACTIVE_VM_LIMIT

0xA0040754

Current limit on active virtual machines has been reached.

VM_E_LICENSE_HOST_MEMORY_LIMIT

0xA0040755

Current limit on host memory has been reached.

VM_E_LICENSE_VM_MEMORY_LIMIT

0xA0040756

Current limit on virtual machine memory has been reached.

VM_E_NOT_A_TRIAL_VERSION

0xA0040757

Attempt to invoke trial license routines on a license that is not a trial license.

VM_E_NON_ACTIVE_TRIAL

0xA0040758

The trial license installed either has not yet started or is already finished.

VM_E_MOUSE_NOT_ACTIVE

0xA0040800

The mouse device has not been powered up in the guest.

VM_E_USING_ABSOLUTE_COORDINATES

0xA0040801

The mouse device is currently set to use absolute mouse coordinates.

VM_E_USING_RELATIVE_COORDINATES

0xA0040802

The mouse device is currently set to use relative mouse coordinates.

VM_E_SET_EXCLUSIVE_MODE_FAIL

0xA0040825

Failed to set or release exclusive mode as requested. This could be because the virtual machine is no longer running, or because another process has already acquired exclusive mode on the virtual machine's keyboard device.

VM_E_NO_DISPLAY

0xA0040850

Failed to find the video device for a virtual machine.

VM_E_SECURITY_DUPLICATE_USER

0xA0040900

An attempt was made to add a duplicate user or group to a security object.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VsComInterfaces.h