Bewerken

Delen via


WMI Error Constants

If an error occurs, WMI returns an error code as an HRESULT value. These codes may be returned by scripts, C++ applications, or Wmic.

Note

The following documentation is targeted for developers and IT administrators. If you are an end-user that has experienced an error message concerning WMI, you should go to Microsoft Support and search for the error code you see on the error message. For more information about troubleshooting problems with WMI scripts and the WMI service, see WMI Isn't Working!.

If WMI returns error messages, be aware that they may not indicate problems in the WMI service or in WMI providers. Failures can originate in other parts of the operating system and emerge as errors through WMI. Under any circumstances, do not delete the WMI repository as a first action because deleting the repository can cause damage to the system or to installed applications.

For more info, see WMI Troubleshooting.

Some methods in WMI classes can return system and network error codes (64 for example). You can check the definition of these types of error codes by using the net helpmsg command in the command prompt window. For example, the command net helpmsg 64 returns the message: The specified network name is no longer available.

The following list lists some common ranges of errors.

0x80041068 - 0x80041099

Errors that originate in WMI itself.

A specific WMI operation failed because of

  • An error in the request, for example, a WQL query fails or the account does not have the correct permissions.
  • A WMI infrastructure problem, such as incorrect CIM or DCOM registration.

0x8007xxxx

Errors originating in the core operating system. WMI may return this type of error because of an external failure, for example, DCOM security failure.

0x80040xxx

Errors originating in DCOM. For example, the DCOM configuration for operations to a remote computer may be incorrect.

0x8005xxxx

Error originating from ADSI (Active Directory Service Interfaces) or LDAP (Lightweight Directory Access Protocol), for example, an Active Directory access failure when using the WMI Active Directory providers.

Some methods in WMI classes can return system and network error codes (64 for example). You can check the definition of these types of error codes by using the net helpmsg command in the command prompt window. For example, the command net helpmsg 64 returns the message: The specified network name is no longer available. In C++, you can call FormatMessage and specify C:\Windows\System32\wbem\wmiutils.dll as the message module.

WBEM_E_FAILED

2147749889 (0x80041001)

Call failed.

WBEM_E_NOT_FOUND

2147749890 (0x80041002)

Object cannot be found.

WBEM_E_ACCESS_DENIED

2147749891 (0x80041003)

Current user does not have permission to perform the action.

WBEM_E_PROVIDER_FAILURE

2147749892 (0x80041004)

Provider has failed at some time other than during initialization.

WBEM_E_TYPE_MISMATCH

2147749893 (0x80041005)

Type mismatch occurred.

WBEM_E_OUT_OF_MEMORY

2147749894 (0x80041006)

Not enough memory for the operation.

WBEM_E_INVALID_CONTEXT

2147749895 (0x80041007)

The IWbemContext object is not valid.

WBEM_E_INVALID_PARAMETER

2147749896 (0x80041008)

One of the parameters to the call is not correct.

WBEM_E_NOT_AVAILABLE

2147749897 (0x80041009)

Resource, typically a remote server, is not currently available.

WBEM_E_CRITICAL_ERROR

2147749898 (0x8004100A)

Internal, critical, and unexpected error occurred. Report the error to Microsoft Technical Support.

WBEM_E_INVALID_STREAM

2147749899 (0x8004100B)

One or more network packets were corrupted during a remote session.

WBEM_E_NOT_SUPPORTED

2147749900 (0x8004100C)

Feature or operation is not supported.

WBEM_E_INVALID_SUPERCLASS

2147749901 (0x8004100D)

Parent class specified is not valid.

WBEM_E_INVALID_NAMESPACE

2147749902 (0x8004100E)

Namespace specified cannot be found.

WBEM_E_INVALID_OBJECT

2147749903 (0x8004100F)

Specified instance is not valid.

WBEM_E_INVALID_CLASS

2147749904 (0x80041010)

Specified class is not valid.

WBEM_E_PROVIDER_NOT_FOUND

2147749905 (0x80041011)

Provider referenced in the schema does not have a corresponding registration.

WBEM_E_INVALID_PROVIDER_REGISTRATION

2147749906

Provider referenced in the schema has an incorrect or incomplete registration.

This error may be caused by many conditions, including the following:

  • A missing #pragma namespace command in the Managed Object Format (MOF) file used to register the provider. The provider may be registered in the wrong WMI namespace.
  • Failure to retrieve the COM registration.
  • Hosting model is not valid. For more information, see Provider Hosting and Security.
  • An class specified in the registration is not valid.
  • Failure to create an instance of or inherit from the __Win32Provider class to create the provider registration in the MOF file.

WBEM_E_PROVIDER_LOAD_FAILURE

2147749907 (0x80041013)

COM cannot locate a provider referenced in the schema.

This error may be caused by many conditions, including the following:

  • Provider is using a WMI DLL that does not match the .lib file used when the provider was built.
  • Provider's DLL, or any of the DLLs on which it depends, is corrupt.
  • Provider failed to export DllRegisterServer.
  • In-process provider was not registered using the regsvr32 command.
  • Out-of-process provider was not registered using the /regserver switch. For example, myprog.exe /regserver.

WBEM_E_INITIALIZATION_FAILURE

2147749908 (0x80041014)

Component, such as a provider, failed to initialize for internal reasons.

WBEM_E_TRANSPORT_FAILURE

2147749909 (0x80041015)

Networking error that prevents normal operation has occurred.

WBEM_E_INVALID_OPERATION

2147749910 (0x80041016)

Requested operation is not valid. This error usually applies to invalid attempts to delete classes or properties.

WBEM_E_INVALID_QUERY

2147749911 (0x80041017)

Query was not syntactically valid.

WBEM_E_INVALID_QUERY_TYPE

2147749912 (0x80041018)

Requested query language is not supported.

WBEM_E_ALREADY_EXISTS

2147749913 (0x80041019)

In a put operation, the wbemChangeFlagCreateOnly flag was specified, but the instance already exists.

WBEM_E_OVERRIDE_NOT_ALLOWED

2147749914 (0x8004101A)

Not possible to perform the add operation on this qualifier because the owning object does not permit overrides.

WBEM_E_PROPAGATED_QUALIFIER

2147749915 (0x8004101B)

User attempted to delete a qualifier that was not owned. The qualifier was inherited from a parent class.

WBEM_E_PROPAGATED_PROPERTY

2147749916 (0x8004101C)

User attempted to delete a property that was not owned. The property was inherited from a parent class.

WBEM_E_UNEXPECTED

2147749917 (0x8004101D)

Client made an unexpected and illegal sequence of calls, such as calling EndEnumeration before calling BeginEnumeration.

WBEM_E_ILLEGAL_OPERATION

2147749918 (0x8004101E)

User requested an illegal operation, such as spawning a class from an instance.

WBEM_E_CANNOT_BE_KEY

2147749919 (0x8004101F)

Illegal attempt to specify a key qualifier on a property that cannot be a key. The keys are specified in the class definition for an object and cannot be altered on a per-instance basis.

WBEM_E_INCOMPLETE_CLASS

2147749920 (0x80041020)

Current object is not a valid class definition. Either it is incomplete or it has not been registered with WMI using SWbemObject.Put_.

WBEM_E_INVALID_SYNTAX

2147749921 (0x80041021)

Query is syntactically not valid.

WBEM_E_NONDECORATED_OBJECT

2147749922 (0x80041022)

Reserved for future use.

WBEM_E_READ_ONLY

2147749923 (0x80041023)

An attempt was made to modify a read-only property.

WBEM_E_PROVIDER_NOT_CAPABLE

2147749924 (0x80041024)

Provider cannot perform the requested operation. This can include a query that is too complex, retrieving an instance, creating or updating a class, deleting a class, or enumerating a class.

WBEM_E_CLASS_HAS_CHILDREN

2147749925 (0x80041025)

Attempt was made to make a change that invalidates a subclass.

WBEM_E_CLASS_HAS_INSTANCES

2147749926 (0x80041026)

Attempt was made to delete or modify a class that has instances.

WBEM_E_QUERY_NOT_IMPLEMENTED

2147749927 (0x80041027)

Reserved for future use.

WBEM_E_ILLEGAL_NULL

2147749928 (0x80041028)

Value of Nothing/NULL was specified for a property that must have a value, such as one that is marked by a Key, Indexed, or Not_Null qualifier.

WBEM_E_INVALID_QUALIFIER_TYPE

2147749929 (0x80041029)

Variant value for a qualifier was provided that is not a legal qualifier type.

WBEM_E_INVALID_PROPERTY_TYPE

2147749930 (0x8004102A)

CIM type specified for a property is not valid.

WBEM_E_VALUE_OUT_OF_RANGE

2147749931 (0x8004102B)

Request was made with an out-of-range value or it is incompatible with the type.

WBEM_E_CANNOT_BE_SINGLETON

2147749932 (0x8004102C)

Illegal attempt was made to make a class singleton, such as when the class is derived from a non-singleton class.

WBEM_E_INVALID_CIM_TYPE

2147749933 (0x8004102D)

CIM type specified is not valid.

WBEM_E_INVALID_METHOD

2147749934 (0x8004102E)

Requested method is not available.

WBEM_E_INVALID_METHOD_PARAMETERS

2147749935 (0x8004102F)

Parameters provided for the method are not valid.

WBEM_E_SYSTEM_PROPERTY

2147749936 (0x80041030)

There was an attempt to get qualifiers on a system property.

WBEM_E_INVALID_PROPERTY

2147749937 (0x80041031)

Property type is not recognized.

WBEM_E_CALL_CANCELLED

2147749938 (0x80041032)

Asynchronous process has been canceled internally or by the user. Note that due to the timing and nature of the asynchronous operation, the operation may not have been truly canceled.

WBEM_E_SHUTTING_DOWN

2147749939 (0x80041033)

User has requested an operation while WMI is in the process of shutting down.

WBEM_E_PROPAGATED_METHOD

2147749940 (0x80041034)

Attempt was made to reuse an existing method name from a parent class and the signatures do not match.

WBEM_E_UNSUPPORTED_PARAMETER

2147749941 (0x80041035)

One or more parameter values, such as a query text, is too complex or unsupported. WMI is therefore requested to retry the operation with simpler parameters.

WBEM_E_MISSING_PARAMETER_ID

2147749942 (0x80041036)

Parameter was missing from the method call.

WBEM_E_INVALID_PARAMETER_ID

2147749943 (0x80041037)

Method parameter has an ID qualifier that is not valid.

WBEM_E_NONCONSECUTIVE_PARAMETER_IDS

2147749944 (0x80041038)

One or more of the method parameters have ID qualifiers that are out of sequence.

WBEM_E_PARAMETER_ID_ON_RETVAL

2147749945 (0x80041039)

Return value for a method has an ID qualifier.

WBEM_E_INVALID_OBJECT_PATH

2147749946 (0x8004103A)

Specified object path was not valid.

WBEM_E_OUT_OF_DISK_SPACE

2147749947 (0x8004103B)

Disk is out of space or the 4 GB limit on WMI repository (CIM repository) size is reached.

WBEM_E_BUFFER_TOO_SMALL

2147749948 (0x8004103C)

Supplied buffer was too small to hold all of the objects in the enumerator or to read a string property.

WBEM_E_UNSUPPORTED_PUT_EXTENSION

2147749949 (0x8004103D)

Provider does not support the requested put operation.

WBEM_E_UNKNOWN_OBJECT_TYPE

2147749950 (0x8004103E)

Object with an incorrect type or version was encountered during marshaling.

WBEM_E_UNKNOWN_PACKET_TYPE

2147749951 (0x8004103F)

Packet with an incorrect type or version was encountered during marshaling.

WBEM_E_MARSHAL_VERSION_MISMATCH

2147749952 (0x80041040)

Packet has an unsupported version.

WBEM_E_MARSHAL_INVALID_SIGNATURE

2147749953 (0x80041041)

Packet appears to be corrupt.

WBEM_E_INVALID_QUALIFIER

2147749954 (0x80041042)

Attempt was made to mismatch qualifiers, such as putting [key] on an object instead of a property.

WBEM_E_INVALID_DUPLICATE_PARAMETER

2147749955 (0x80041043)

Duplicate parameter was declared in a CIM method.

WBEM_E_TOO_MUCH_DATA

2147749956 (0x80041044)

Reserved for future use.

WBEM_E_SERVER_TOO_BUSY

2147749957 (0x80041045)

Call to IWbemObjectSink::Indicate has failed. The provider can refire the event.

WBEM_E_INVALID_FLAVOR

2147749958 (0x80041046)

Specified qualifier flavor was not valid.

WBEM_E_CIRCULAR_REFERENCE

2147749959 (0x80041047)

Attempt was made to create a reference that is circular (for example, deriving a class from itself).

WBEM_E_UNSUPPORTED_CLASS_UPDATE

2147749960 (0x80041048)

Specified class is not supported.

WBEM_E_CANNOT_CHANGE_KEY_INHERITANCE

2147749961 (0x80041049)

Attempt was made to change a key when instances or subclasses are already using the key.

WBEM_E_CANNOT_CHANGE_INDEX_INHERITANCE

2147749968 (0x80041050)

An attempt was made to change an index when instances or subclasses are already using the index.

WBEM_E_TOO_MANY_PROPERTIES

2147749969 (0x80041051)

Attempt was made to create more properties than the current version of the class supports.

WBEM_E_UPDATE_TYPE_MISMATCH

2147749970 (0x80041052)

Property was redefined with a conflicting type in a derived class.

WBEM_E_UPDATE_OVERRIDE_NOT_ALLOWED

2147749971 (0x80041053)

Attempt was made in a derived class to override a qualifier that cannot be overridden.

WBEM_E_UPDATE_PROPAGATED_METHOD

2147749972 (0x80041054)

Method was re-declared with a conflicting signature in a derived class.

WBEM_E_METHOD_NOT_IMPLEMENTED

2147749973 (0x80041055)

Attempt was made to execute a method not marked with [implemented] in any relevant class.

WBEM_E_METHOD_DISABLED

Attempt was made to execute a method marked with [disabled].

WBEM_E_REFRESHER_BUSY

2147749975 (0x80041057)

Refresher is busy with another operation.

WBEM_E_UNPARSABLE_QUERY

2147749976 (0x80041058)

Filtering query is syntactically not valid.

WBEM_E_NOT_EVENT_CLASS

2147749977 (0x80041059)

The FROM clause of a filtering query references a class that is not an event class (not derived from __Event).

WBEM_E_MISSING_GROUP_WITHIN

2147749978 (0x8004105A)

A GROUP BY clause was used without the corresponding GROUP WITHIN clause.

WBEM_E_MISSING_AGGREGATION_LIST

2147749979 (0x8004105B)

A GROUP BY clause was used. Aggregation on all properties is not supported.

WBEM_E_PROPERTY_NOT_AN_OBJECT

2147749980 (0x8004105C)

Dot notation was used on a property that is not an embedded object.

WBEM_E_AGGREGATING_BY_OBJECT

2147749981 (0x8004105D)

A GROUP BY clause references a property that is an embedded object without using dot notation.

WBEM_E_UNINTERPRETABLE_PROVIDER_QUERY

2147749983 (0x8004105F)

Event provider registration query (__EventProviderRegistration) did not specify the classes for which events were provided.

WBEM_E_BACKUP_RESTORE_WINMGMT_RUNNING

2147749984 (0x80041060)

Request was made to back up or restore the repository while it was in use by WinMgmt.exe, or by the SVCHOST process that contains the WMI service.

WBEM_E_QUEUE_OVERFLOW

2147749985 (0x80041061)

Asynchronous delivery queue overflowed from the event consumer being too slow.

WBEM_E_PRIVILEGE_NOT_HELD

2147749986 (0x80041062)

Operation failed because the client did not have the necessary security privilege.

WBEM_E_INVALID_OPERATOR

2147749987 (0x80041063)

Operator is not valid for this property type.

WBEM_E_LOCAL_CREDENTIALS

2147749988 (0x80041064)

User specified a username/password/authority on a local connection. The user must use a blank username/password and rely on default security.

WBEM_E_CANNOT_BE_ABSTRACT

2147749989 (0x80041065)

Class was made abstract when its parent class is not abstract.

WBEM_E_AMENDED_OBJECT

2147749990 (0x80041066)

Amended object was written without the WBEM_FLAG_USE_AMENDED_QUALIFIERS flag being specified.

WBEM_E_CLIENT_TOO_SLOW

2147749991 (0x80041067)

Client did not retrieve objects quickly enough from an enumeration. This constant is returned when a client creates an enumeration object, but does not retrieve objects from the enumerator in a timely fashion, causing the enumerator's object caches to back up.

WBEM_E_NULL_SECURITY_DESCRIPTOR

2147749992 (0x80041068)

Null security descriptor was used.

WBEM_E_TIMED_OUT

2147749993 (0x80041069)

Operation timed out.

WBEM_E_INVALID_ASSOCIATION

2147749994

Association is not valid.

WBEM_E_AMBIGUOUS_OPERATION

2147749995 (0x8004106B)

Operation was ambiguous.

WBEM_E_QUOTA_VIOLATION

2147749996 (0x8004106C)

WMI is taking up too much memory. This can be caused by low memory availability or excessive memory consumption by WMI.

WBEM_E_TRANSACTION_CONFLICT

2147749997 (0x8004106D)

Operation resulted in a transaction conflict.

WBEM_E_FORCED_ROLLBACK

2147749998 (0x8004106E)

Transaction forced a rollback.

WBEM_E_UNSUPPORTED_LOCALE

2147749999 (0x8004106F)

Locale used in the call is not supported.

WBEM_E_HANDLE_OUT_OF_DATE

2147750000 (0x80041070)

Object handle is out-of-date.

WBEM_E_CONNECTION_FAILED

2147750001 (0x80041071)

Connection to the SQL database failed.

WBEM_E_INVALID_HANDLE_REQUEST

2147750002 (0x80041072)

Handle request was not valid.

WBEM_E_PROPERTY_NAME_TOO_WIDE

2147750003 (0x80041073)

Property name contains more than 255 characters.

WBEM_E_CLASS_NAME_TOO_WIDE

2147750004 (0x80041074)

Class name contains more than 255 characters.

WBEM_E_METHOD_NAME_TOO_WIDE

2147750005 (0x80041075)

Method name contains more than 255 characters.

WBEM_E_QUALIFIER_NAME_TOO_WIDE

2147750006 (0x80041076)

Qualifier name contains more than 255 characters.

WBEM_E_RERUN_COMMAND

2147750007 (0x80041077)

The SQL command must be rerun because there is a deadlock in SQL. This can be returned only when data is being stored in an SQL database.

WBEM_E_DATABASE_VER_MISMATCH

2147750008 (0x80041078)

The database version does not match the version that the repository driver processes.

WBEM_E_VETO_DELETE

2147750009 (0x80041079)

WMI cannot execute the delete operation because the provider does not allow it.

WBEM_E_VETO_PUT

2147750010 (0x8004107A)

WMI cannot execute the put operation because the provider does not allow it.

WBEM_E_INVALID_LOCALE

2147750016 (0x80041080)

Specified locale identifier was not valid for the operation.

WBEM_E_PROVIDER_SUSPENDED

2147750017 (0x80041081)

Provider is suspended.

WBEM_E_SYNCHRONIZATION_REQUIRED

2147750018 (0x80041082)

Object must be written to the WMI repository and retrieved again before the requested operation can succeed. This constant is returned when an object must be committed and retrieved to see the property value.

WBEM_E_NO_SCHEMA

2147750019 (0x80041083)

Operation cannot be completed; no schema is available.

WBEM_E_PROVIDER_ALREADY_REGISTERED

02147750020 (0x119FD010)

Provider cannot be registered because it is already registered.

WBEM_E_PROVIDER_NOT_REGISTERED

2147750021 (0x80041085)

Provider was not registered.

WBEM_E_FATAL_TRANSPORT_ERROR

2147750022 (0x80041086)

A fatal transport error occurred.

WBEM_E_ENCRYPTED_CONNECTION_REQUIRED

2147750023 (0x80041087)

User attempted to set a computer name or domain without an encrypted connection.

WBEM_E_PROVIDER_TIMED_OUT

2147750024 (0x80041088)

A provider failed to report results within the specified timeout.

WBEM_E_NO_KEY

2147750025 (0x80041089)

User attempted to put an instance with no defined key.

WBEM_E_PROVIDER_DISABLED

2147750026 (0x8004108A)

User attempted to register a provider instance but the COM server for the provider instance was unloaded.

WBEMESS_E_REGISTRATION_TOO_BROAD

2147753985 (0x80042001)

Provider registration overlaps with the system event domain.

WBEMESS_E_REGISTRATION_TOO_PRECISE

2147753986 (0x80042002)

A WITHIN clause was not used in this query.

WBEMESS_E_AUTHZ_NOT_PRIVILEGED

2147753987 (0x80042003)

This computer does not have the necessary domain permissions to support the security functions that relate to the created subscription instance. Contact the Domain Administrator to get this computer added to the Windows Authorization Access Group.

WBEM_E_RETRY_LATER

2147758081 (0x80043001)

Reserved for future use.

WBEM_E_RESOURCE_CONTENTION

2147758082 (0x80043002)

Reserved for future use.

WBEMMOF_E_EXPECTED_QUALIFIER_NAME

2147762177 (0x80044001)

Expected a qualifier name.

WBEMMOF_E_EXPECTED_SEMI

2147762178 (0x80044002)

Expected semicolon or '='.

WBEMMOF_E_EXPECTED_OPEN_BRACE

2147762179 (0x80044003)

Expected an opening brace.

WBEMMOF_E_EXPECTED_CLOSE_BRACE

2147762180 (0x80044004)

Missing closing brace or an illegal array element.

WBEMMOF_E_EXPECTED_CLOSE_BRACKET

2147762181 (0x80044005)

Expected a closing bracket.

WBEMMOF_E_EXPECTED_CLOSE_PAREN

2147762182 (0x80044006)

Expected closing parenthesis.

WBEMMOF_E_ILLEGAL_CONSTANT_VALUE

2147762183 (0x80044007)

Numeric value out of range or strings without quotes.

WBEMMOF_E_EXPECTED_TYPE_IDENTIFIER

2147762184 (0x80044008)

Expected a type identifier.

WBEMMOF_E_EXPECTED_OPEN_PAREN

2147762185 (0x80044009)

Expected an open parenthesis.

WBEMMOF_E_UNRECOGNIZED_TOKEN

2147762186 (0x8004400A)

Unexpected token in the file.

WBEMMOF_E_UNRECOGNIZED_TYPE

2147762187 (0x8004400B)

Unrecognized or unsupported type identifier.

WBEMMOF_E_EXPECTED_PROPERTY_NAME

2147762187 (0x8004400B)

Expected property or method name.

WBEMMOF_E_TYPEDEF_NOT_SUPPORTED

2147762189 (0x8004400D)

Typedefs and enumerated types are not supported.

WBEMMOF_E_UNEXPECTED_ALIAS

2147762190 (0x8004400E)

Only a reference to a class object can have an alias value.

WBEMMOF_E_UNEXPECTED_ARRAY_INIT

2147762191 (0x8004400F)

Unexpected array initialization. Arrays must be declared with [].

WBEMMOF_E_INVALID_AMENDMENT_SYNTAX

2147762192 (0x80044010)

Namespace path syntax is not valid.

WBEMMOF_E_INVALID_DUPLICATE_AMENDMENT

2147762193 (0x80044011)

Duplicate amendment specifiers.

WBEMMOF_E_INVALID_PRAGMA

2147762194 (0x80044012)

#pragma must be followed by a valid keyword.

WBEMMOF_E_INVALID_NAMESPACE_SYNTAX

2147762195 (0x80044013)

Namespace path syntax is not valid.

WBEMMOF_E_EXPECTED_CLASS_NAME

2147762196 (0x80044014)

Unexpected character in class name must be an identifier.

WBEMMOF_E_TYPE_MISMATCH

2147762197 (0x80044015)

The value specified cannot be made into the appropriate type.

WBEMMOF_E_EXPECTED_ALIAS_NAME

2147762198 (0x80044016)

Dollar sign must be followed by an alias name as an identifier.

WBEMMOF_E_INVALID_CLASS_DECLARATION

2147762199 (0x80044017)

Class declaration is not valid.

WBEMMOF_E_INVALID_INSTANCE_DECLARATION

2147762200 (0x80044018)

The instance declaration is not valid. It must start with "instance of"

WBEMMOF_E_EXPECTED_DOLLAR

2147762201 (0x80044019)

Expected dollar sign. An alias in the form "$name" must follow the "as" keyword.

WBEMMOF_E_CIMTYPE_QUALIFIER

2147762202 (0x8004401A)

"CIMTYPE" qualifier cannot be specified directly in a MOF file. Use standard type notation.

WBEMMOF_E_DUPLICATE_PROPERTY

2147762203 (0x8004401B)

Duplicate property name was found in the MOF.

WBEMMOF_E_INVALID_NAMESPACE_SPECIFICATION

2147762204 (0x8004401C)

Namespace syntax is not valid. References to other servers are not allowed.

WBEMMOF_E_OUT_OF_RANGE

2147762205 (0x8004401D)

Value out of range.

WBEMMOF_E_INVALID_FILE

2147762206 (0x8004401E)

The file is not a valid text MOF file or binary MOF file.

WBEMMOF_E_ALIASES_IN_EMBEDDED

2147762207 (0x8004401F)

Embedded objects cannot be aliases.

WBEMMOF_E_NULL_ARRAY_ELEM

2147762208 (0x80044020)

NULL elements in an array are not supported.

WBEMMOF_E_DUPLICATE_QUALIFIER

2147762209 (0x80044021)

Qualifier was used more than once on the object.

WBEMMOF_E_EXPECTED_FLAVOR_TYPE

2147762210 (0x80044022)

Expected a flavor type such as ToInstance, ToSubClass, EnableOverride, or DisableOverride.

WBEMMOF_E_INCOMPATIBLE_FLAVOR_TYPES

2147762211 (0x80044023)

Combining EnableOverride and DisableOverride on same qualifier is not legal.

WBEMMOF_E_MULTIPLE_ALIASES

2147762212 (0x80044024)

An alias cannot be used twice.

WBEMMOF_E_INCOMPATIBLE_FLAVOR_TYPES2

2147762213 (0x80044025)

Combining Restricted, and ToInstance or ToSubClass is not legal.

WBEMMOF_E_NO_ARRAYS_RETURNED

2147762214 (0x80044026)

Methods cannot return array values.

WBEMMOF_E_MUST_BE_IN_OR_OUT

2147762215 (0x80044027)

Arguments must have an In or Out qualifier.

WBEMMOF_E_INVALID_FLAGS_SYNTAX

2147762216 (0x80044028)

Flags syntax is not valid.

WBEMMOF_E_EXPECTED_BRACE_OR_BAD_TYPE

2147762217 (0x80044029)

The final brace and semi-colon for a class are missing.

WBEMMOF_E_UNSUPPORTED_CIMV22_QUAL_VALUE

2147762218 (0x8004402A)

A CIM version 2.2 feature is not supported for a qualifier value.

WBEMMOF_E_UNSUPPORTED_CIMV22_DATA_TYPE

2147762219 (0x8004402B)

The CIM version 2.2 data type is not supported.

WBEMMOF_E_INVALID_DELETEINSTANCE_SYNTAX

2147762220 (0x8004402C)

The delete instance syntax is not valid. It should be #pragma DeleteInstance("instancepath", FAIL|NOFAIL)

WBEMMOF_E_INVALID_QUALIFIER_SYNTAX

2147762221 (0x8004402D)

The qualifier syntax is not valid. It should be qualifiername:type=value,scope(class|instance), flavorname.

WBEMMOF_E_QUALIFIER_USED_OUTSIDE_SCOPE

2147762222 (0x8004402E)

The qualifier is used outside of its scope.

WBEMMOF_E_ERROR_CREATING_TEMP_FILE

2147762223 (0x8004402F)

Error creating temporary file. The temporary file is an intermediate stage in the MOF compilation.

WBEMMOF_E_ERROR_INVALID_INCLUDE_FILE

2147762224 (0x80044030)

A file included in the MOF by the preprocessor command #include is not valid.

WBEMMOF_E_INVALID_DELETECLASS_SYNTAX

2147762225 (0x80044031)

The syntax for the preprocessor commands #pragma deleteinstance or #pragma deleteclass is not valid.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
WbemCli.h
IDL
WbemCli.idl

See also

WMI Return Codes