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 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.

 

To obtain more information about the source of the problem, you can download and run the WMI Diagnosis Utility diagnostic command line tool. This tool produces a report that can usually isolate the source of the problem and provide instructions on how to fix it. The report also aids Microsoft support services in assisting you. You can download the WMI Diagnosis Utility here.

 

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 table lists some common ranges of errors.

 

Term

Description

&H800410xx - &H800440

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.

&H8007xxx

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

&H80040xxx

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

&H80005xxx

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.

 

Windows 2000, Windows NT 4.0, and Windows Me/98/95: Use C:\Winnt\System32\wbem\wbemcomn.dll as the message module.

 

Constant/value

Description

WBEM_E_FAILED

2147749889

&H80041001

Call failed.

WBEM_E_NOT_FOUND

2147749890

&H80041002

Object cannot be found.

WBEM_E_ACCESS_DENIED

2147749891

&H80041003

Current user does not have permission to perform the action.

WBEM_E_PROVIDER_FAILURE

2147749892

&H80041004

Provider has failed at some time other than during initialization.

WBEM_E_TYPE_MISMATCH

2147749893

&H80041005

Type mismatch occurred.

WBEM_E_OUT_OF_MEMORY

2147749894

&H80041006

Not enough memory for the operation.

WBEM_E_INVALID_CONTEXT

2147749895

&H80041007

The IWbemContext object is not valid.

WBEM_E_INVALID_PARAMETER

2147749896

&H80041008

One of the parameters to the call is not correct.

WBEM_E_NOT_AVAILABLE

2147749897

&H80041009

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

WBEM_E_CRITICAL_ERROR

2147749898

&H8004100A

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

WBEM_E_INVALID_STREAM

2147749899

&H8004100B

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

WBEM_E_NOT_SUPPORTED

2147749900

&H8004100C

Feature or operation is not supported.

WBEM_E_INVALID_SUPERCLASS

2147749901

&H8004100D

Parent class specified is not valid.

WBEM_E_INVALID_NAMESPACE

2147749902

&H8004100E

Namespace specified cannot be found.

WBEM_E_INVALID_OBJECT

2147749903

&H8004100F

Specified instance is not valid.

WBEM_E_INVALID_CLASS

2147749904

&H80041010

Specified class is not valid.

WBEM_E_PROVIDER_NOT_FOUND

2147749905

&H80041011

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.
Invalid hosting model.
An invalid class specified in the registration.
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

&H80041013

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_PROVIDER_LOAD_FAILURE

2147749907

&H80041013

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

&H80041014

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

WBEM_E_TRANSPORT_FAILURE

2147749909

&H80041015

Networking error that prevents normal operation has occurred.

WBEM_E_INVALID_OPERATION

2147749910

&H80041016

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

WBEM_E_INVALID_QUERY

2147749911

&H80041017

Query was not syntactically valid.

WBEM_E_INVALID_QUERY_TYPE

2147749912

&H80041018

Requested query language is not supported.

WBEM_E_ALREADY_EXISTS

2147749913

&H80041019

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

WBEM_E_OVERRIDE_NOT_ALLOWED

2147749914

&H8004101A

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

WBEM_E_PROPAGATED_QUALIFIER

2147749915

&H8004101B

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

WBEM_E_PROPAGATED_PROPERTY

2147749916

&H8004101C

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

WBEM_E_UNEXPECTED

2147749917

&H8004101D

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

WBEM_E_ILLEGAL_OPERATION

2147749918

&H8004101E

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

WBEM_E_CANNOT_BE_KEY

2147749919

&H8004101F

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

&H80041020

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

&H80041021

Query is syntactically not valid.

WBEM_E_NONDECORATED_OBJECT

2147749922

&H80041022

Reserved for future use.

WBEM_E_READ_ONLY

2147749923

&H80041023

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

WBEM_E_PROVIDER_NOT_CAPABLE

2147749924

&H80041024

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

&H80041025

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

WBEM_E_CLASS_HAS_INSTANCES

2147749926

&H80041026

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

WBEM_E_QUERY_NOT_IMPLEMENTED

2147749927

&H80041027

Reserved for future use.

WBEM_E_ILLEGAL_NULL

2147749928

&H80041028

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

&H80041029

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

WBEM_E_INVALID_PROPERTY_TYPE

2147749930

&H8004102A

CIM type specified for a property is not valid.

WBEM_E_VALUE_OUT_OF_RANGE

2147749931

&H8004102B

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

WBEM_E_CANNOT_BE_SINGLETON

2147749932

&H8004102C

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

&H8004102D

CIM type specified is invalid.

WBEM_E_INVALID_METHOD

2147749934

&H8004102E

Requested method is not available.

WBEM_E_INVALID_METHOD_PARAMETERS

2147749935

&H8004102F

Parameters provided for the method are not valid.

WBEM_E_SYSTEM_PROPERTY

2147749936

&H80041030

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

WBEM_E_INVALID_PROPERTY

2147749937

&H80041031

Property type is not recognized.

WBEM_E_CALL_CANCELLED

2147749938

&H80041032

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

&H80041033

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

WBEM_E_PROPAGATED_METHOD

2147749940

&H80041034

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

WBEM_E_UNSUPPORTED_PARAMETER

2147749941

&H80041035

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

&H80041036

Parameter was missing from the method call.

WBEM_E_INVALID_PARAMETER_ID

2147749943

&H80041037

Method parameter has an invalid ID qualifier.

WBEM_E_NONCONSECUTIVE_PARAMETER_IDS

2147749944

&H80041038

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

WBEM_E_INVALID_OBJECT_PATH

2147749946

&H8004103A

Specified object path was not valid.

WBEM_E_OUT_OF_DISK_SPACE

2147749947

&H8004103B

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

Windows XP and Windows 2000/NT:  Disk is out of space.

WBEM_E_BUFFER_TOO_SMALL

2147749948

&H8004103C

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

&H8004103D

Provider does not support the requested put operation.

WBEM_E_UNKNOWN_OBJECT_TYPE

2147749950

&H8004103E

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

WBEM_E_UNKNOWN_PACKET_TYPE

2147749951

&H8004103F

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

WBEM_E_MARSHAL_VERSION_MISMATCH

2147749952

&H80041040

Packet has an unsupported version.

WBEM_E_MARSHAL_INVALID_SIGNATURE

2147749953

&H80041041

Packet appears to be corrupt.

WBEM_E_INVALID_QUALIFIER

2147749954

&H80041042

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

WBEM_E_INVALID_DUPLICATE_PARAMETER

2147749955

&H80041043

Duplicate parameter was declared in a CIM method.

WBEM_E_TOO_MUCH_DATA

2147749956

&H80041044

Reserved for future use.

WBEM_E_SERVER_TOO_BUSY

2147749957

&H80041045

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

WBEM_E_INVALID_FLAVOR

2147749958

&H80041046

Specified qualifier flavor was invalid.

WBEM_E_CIRCULAR_REFERENCE

2147749959

&H80041047

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

WBEM_E_UNSUPPORTED_CLASS_UPDATE

2147749960

&H80041048

Specified class is not supported.

WBEM_E_CANNOT_CHANGE_KEY_INHERITANCE

2147749961

&H80041049

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

WBEM_E_CANNOT_CHANGE_INDEX_INHERITANCE

2147749968

&H80041050

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

WBEM_E_TOO_MANY_PROPERTIES

2147749969

&H80041051

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

WBEM_E_UPDATE_TYPE_MISMATCH

2147749970

&H80041052

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

WBEM_E_UPDATE_OVERRIDE_NOT_ALLOWED

2147749971

&H80041053

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

WBEM_E_UPDATE_PROPAGATED_METHOD

2147749972

&H80041054

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

WBEM_E_METHOD_NOT_IMPLEMENTED

2147749973

&H80041055

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

&H80041057

Refresher is busy with another operation.

WBEM_E_UNPARSABLE_QUERY

2147749976

&H80041058

Filtering query is syntactically invalid.

WBEM_E_NOT_EVENT_CLASS

2147749977

&H80041059

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

&H8004105A

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

WBEM_E_MISSING_AGGREGATION_LIST

2147749979

&H8004105B

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

WBEM_E_PROPERTY_NOT_AN_OBJECT

2147749980

&H8004105C

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

WBEM_E_AGGREGATING_BY_OBJECT

2147749981

&H8004105D

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

WBEM_E_UNINTERPRETABLE_PROVIDER_QUERY

2147749983

&H8004105F

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

WBEM_E_BACKUP_RESTORE_WINMGMT_RUNNING

2147749984

&H80041060

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

&H80041061

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

WBEM_E_PRIVILEGE_NOT_HELD

2147749986

&H80041062

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

WBEM_E_INVALID_OPERATOR

2147749987

&H80041063

Operator is invalid for this property type.

WBEM_E_LOCAL_CREDENTIALS

2147749988

&H80041064

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

&H80041065

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

WBEM_E_AMENDED_OBJECT

2147749990

&H80041066

Amended object was written without the WBEM_FLAG_USE_AMENDED_QUALIFIERS flag being specified.

WBEM_E_CLIENT_TOO_SLOW

2147749991

&H80041067

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.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_NULL_SECURITY_DESCRIPTOR

2147749992

&H80041068

Null security descriptor was used.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_TIMED_OUT

2147749993

&H80041069

Operation timed out.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_INVALID_ASSOCIATION

2147749994

Association is not valid.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_AMBIGUOUS_OPERATION

2147749995

&H8004106B

Operation was ambiguous.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_QUOTA_VIOLATION

2147749996

&H8004106C

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

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_TRANSACTION_CONFLICT

2147749997

&H8004106D

Operation resulted in a transaction conflict.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_FORCED_ROLLBACK

2147749998

&H8004106E

Transaction forced a rollback.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_UNSUPPORTED_LOCALE

2147749999

&H8004106F

Locale used in the call is not supported.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_HANDLE_OUT_OF_DATE

2147750000

&H80041070

Object handle is out-of-date.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_CONNECTION_FAILED

2147750001

&H80041071

Connection to the SQL database failed.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_INVALID_HANDLE_REQUEST

2147750002

&H80041072

Handle request was invalid.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_PROPERTY_NAME_TOO_WIDE

2147750003

&H80041073

Property name contains more than 255 characters.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_CLASS_NAME_TOO_WIDE

2147750004

&H80041074

Class name contains more than 255 characters.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_METHOD_NAME_TOO_WIDE

2147750005

&H80041075

Method name contains more than 255 characters.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_QUALIFIER_NAME_TOO_WIDE

2147750006

&H80041076

Qualifier name contains more than 255 characters.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_RERUN_COMMAND

2147750007

&H80041077

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.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_DATABASE_VER_MISMATCH

2147750008

&H80041078

Database version does not match the version that the repository driver understands.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_VETO_DELETE

2147750009

&H80041079

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

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_VETO_PUT

2147750010

&H8004107A

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

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_INVALID_LOCALE

2147750016

&H80041080

Specified locale identifier was invalid for the operation.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_PROVIDER_SUSPENDED

2147750017

&H80041081

Provider is suspended.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_SYNCHRONIZATION_REQUIRED

2147750018

&H80041082

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.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_NO_SCHEMA

2147750019

&H80041083

Operation cannot be completed; no schema is available.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_PROVIDER_ALREADY_REGISTERED

02147750020

&H119FD010

Provider cannot be registered because it is already registered.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_PROVIDER_NOT_REGISTERED

2147750021

&H80041085

Provider was not registered.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_FATAL_TRANSPORT_ERROR

2147750022

&H80041086

Fatal transport error occurred.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_ENCRYPTED_CONNECTION_REQUIRED

2147750023

&H80041087

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

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_PROVIDER_TIMED_OUT

2147750024

&H80041088

A provider failed to report results within the specified timeout.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_NO_KEY

2147750025

&H80041089

User attempted to put an instance with no defined key.

 

Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_PROVIDER_DISABLED

2147750026

&H8004108A

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

 

Windows 2000 and Windows NT: This error constant is not available.

WBEMESS_E_REGISTRATION_TOO_BROAD

2147753985

&H80042001

Provider registration overlaps with the system event domain.

WBEMESS_E_REGISTRATION_TOO_PRECISE

2147753986

&H80042002

A WITHIN clause was not used in this query.

WBEMESS_E_AUTHZ_NOT_PRIVILEGED

2147753987

&H80042003

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

&H80043001

Reserved for future use.

WBEMESS_E_AUTHZ_NOT_PRIVILEGED

2147753987

&H80042003

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

&H80043001

Reserved for future use.

WBEM_E_RESOURCE_CONTENTION

2147758082

&H80043002

Reserved for future use.

WBEMMOF_E_EXPECTED_QUALIFIER_NAME

2147762177

&H80044001

Expected a qualifier name.

WBEMMOF_E_EXPECTED_SEMI

2147762178

&H80044002

Expected semicolon or '='.

WBEMMOF_E_EXPECTED_OPEN_BRACE

2147762179

&H80044003

Expected an opening brace.

WBEMMOF_E_EXPECTED_CLOSE_BRACE

2147762180

&H80044004

Missing closing brace or an illegal array element.

WBEMMOF_E_EXPECTED_CLOSE_BRACKET

2147762181

&H80044005

Expected a closing bracket.

WBEMMOF_E_EXPECTED_CLOSE_PAREN

2147762182

&H80044006

Expected closing parenthesis.

WBEMMOF_E_ILLEGAL_CONSTANT_VALUE

2147762183

&H80044007

Numeric value out of range or strings without quotes.

WBEMMOF_E_EXPECTED_TYPE_IDENTIFIER

2147762184

&H80044008

Expected a type identifier.

WBEMMOF_E_EXPECTED_OPEN_PAREN

2147762185

&H80044009

Expected an open parenthesis.

WBEMMOF_E_UNRECOGNIZED_TOKEN

2147762186

&H8004400A

Unexpected token in the file.

WBEMMOF_E_EXPECTED_PROPERTY_NAME

2147762187

&H8004400B

Expected property or method name.

WBEMMOF_E_TYPEDEF_NOT_SUPPORTED

2147762189

&H8004400D

Typedefs and enumerated types are not supported.

WBEMMOF_E_UNEXPECTED_ALIAS

2147762190

&H8004400E

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

WBEMMOF_E_UNEXPECTED_ARRAY_INIT

2147762191

&H8004400F

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

WBEMMOF_E_INVALID_AMENDMENT_SYNTAX

2147762192

&H80044010

Invalid namespace path syntax.

WBEMMOF_E_INVALID_DUPLICATE_AMENDMENT

2147762193

&H80044011

Duplicate amendment specifiers.

WBEMMOF_E_INVALID_PRAGMA

2147762194

&H80044012

#pragma must be followed by a valid keyword.

WBEMMOF_E_INVALID_NAMESPACE_SYNTAX

2147762195

&H80044013

Invalid namespace path syntax.

WBEMMOF_E_EXPECTED_CLASS_NAME

2147762196

&H80044014

Unexpected character in class name must be an identifier.

WBEMMOF_E_TYPE_MISMATCH

2147762197

&H80044015

The value specified cannot be made into the appropriate type.

WBEMMOF_E_EXPECTED_ALIAS_NAME

2147762198

&H80044016

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

WBEMMOF_E_INVALID_CLASS_DECLARATION

2147762199

&H80044017

Invalid class declaration.

WBEMMOF_E_INVALID_INSTANCE_DECLARATION

2147762200

&H80044018

The instance declaration is invalid. It must start with "instance of"

WBEMMOF_E_EXPECTED_DOLLAR

2147762201

&H80044019

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

WBEMMOF_E_CIMTYPE_QUALIFIER

2147762202

&H8004401A

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

WBEMMOF_E_DUPLICATE_PROPERTY

2147762203

&H8004401B

Duplicate property name was found in the MOF.

WBEMMOF_E_INVALID_NAMESPACE_SPECIFICATION

2147762204

&H8004401C

Invalid namespace syntax. References to other servers are not allowed.

WBEMMOF_E_OUT_OF_RANGE

2147762205

&H8004401D

Value out of range.

WBEMMOF_E_INVALID_FILE

2147762206

&H8004401E

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

WBEMMOF_E_ALIASES_IN_EMBEDDED

2147762207

&H8004401F

Embedded objects cannot be aliases.

WBEMMOF_E_NULL_ARRAY_ELEM

2147762208

&H80044020

NULL elements in an array are not supported.

WBEMMOF_E_DUPLICATE_QUALIFIER

2147762209

&H80044021

Qualifier was used more than once on the object.

WBEMMOF_E_EXPECTED_FLAVOR_TYPE

2147762210

&H80044022

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

WBEMMOF_E_INCOMPATIBLE_FLAVOR_TYPES

2147762211

&H80044023

Combining EnableOverride and DisableOverride on same qualifier is not legal.

WBEMMOF_E_MULTIPLE_ALIASES

2147762212

&H80044024

An alias cannot be used twice.

WBEMMOF_E_INCOMPATIBLE_FLAVOR_TYPES2

2147762213

&H80044025

Combining Restricted, and ToInstance or ToSubClass is not legal.

WBEMMOF_E_NO_ARRAYS_RETURNED

2147762214

&H80044026

Methods cannot return array values.

WBEMMOF_E_MUST_BE_IN_OR_OUT

2147762215

&H80044027

Arguments must have an In or Out qualifier.

WBEMMOF_E_INVALID_FLAGS_SYNTAX

2147762216

&H80044028

Invalid flags syntax.

WBEMMOF_E_EXPECTED_BRACE_OR_BAD_TYPE

2147762217

&H80044029

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

WBEMMOF_E_UNSUPPORTED_CIMV22_QUAL_VALUE

2147762218

&H8004402A

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

WBEMMOF_E_UNSUPPORTED_CIMV22_DATA_TYPE

2147762219

&H8004402B

The CIM version 2.2 data type is not supported.

WBEMMOF_E_INVALID_DELETEINSTANCE_SYNTAX

2147762220

&H8004402C

Invalid delete instance syntax. It should be #pragma DeleteInstance("instancepath", FAIL|NOFAIL)

WBEMMOF_E_INVALID_QUALIFIER_SYNTAX

2147762221

&H8004402D

Invalid qualifier syntax. It should be qualifiername:type=value,scope(class|instance), flavorname.

WBEMMOF_E_QUALIFIER_USED_OUTSIDE_SCOPE

2147762222

&H8004402E

The qualifier is used outside of its scope.

WBEMMOF_E_ERROR_CREATING_TEMP_FILE

2147762223

&H8004402F

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

WBEMMOF_E_ERROR_INVALID_INCLUDE_FILE

2147762224

&H80044030

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

WBEMMOF_E_INVALID_DELETECLASS_SYNTAX

2147762225

&H80044031

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

 

Requirements

 

Client

Requires Windows Vista, Windows XP, Windows 2000 Professional, Windows NT Workstation 4.0 SP4 and later, Windows Me, or Windows 95.

Server

Requires Windows Server 2008, Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0 SP4 and later.

Header

Declared in WbemCli.h or WmiProv.h.

IDL

Declared in WbemCli.idl or WmiProv.idl.

 

Valid XHTML 1.0 Transitional