Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

2010 Microsoft Corporation. All rights reserved.

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 [ http://msdn.microsoft.com/en-us/library/aa394531(VS.85).aspx ] . 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 [ http://go.microsoft.com/FWLink/?LinkId=84435 ] 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 [ http://go.microsoft.com/FWLink/?LinkId=84419 ] . 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

0x800410xx 0x800440

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.

0x8007xxx

Errors originating in the core operating system. WMI may return this type of error because of an external failure, for example, DCOM security failure. Errors originating in DCOM. For example, the DCOM configuration for operations to a remote computer may be incorrect. 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.

0x80040xxx

0x80005xxx

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 [ http://msdn.microsoft.com/en-us/library/ms679351(VS.85).aspx ] 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 (0x80041001) WBEM_E_NOT_FOUND 2147749890 (0x80041002) WBEM_E_ACCESS_DENIED 2147749891 (0x80041003) WBEM_E_PROVIDER_FAILURE 2147749892 (0x80041004)

Call failed. Object cannot be found. Current user does not have permission to perform the action. Provider has failed at some time other than during initialization.

http://msdn.microsoft.com/en-us/library/aa394559(VS.85,printer).aspx

Page 1 of 13

WBEM_E_TYPE_MISMATCH 2147749893 (0x80041005) WBEM_E_OUT_OF_MEMORY 2147749894 (0x80041006) WBEM_E_INVALID_CONTEXT 2147749895 (0x80041007)

Type mismatch occurred. Not enough memory for the operation. The IWbemContext [ http://msdn.microsoft.com/enus/library/aa391465(VS.85).aspx ] object is not valid. One of the parameters to the call is not correct. Resource, typically a remote server, is not currently available. Internal, critical, and unexpected error occurred. Report the error to Microsoft Technical Support. One or more network packets were corrupted during a remote session. Feature or operation is not supported. Parent class specified is not valid. Namespace specified cannot be found. Specified instance is not valid. Specified class is not valid. Provider referenced in the schema does not have a corresponding registration. 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 [ http://msdn.microsoft.com/enus/library/aa392754(VS.85).aspx ] 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. For more information, see Provider Hosting and Security [ http://msdn.microsoft.com/enus/library/aa392783(VS.85).aspx ] . An invalid class specified in the registration. Failure to create an instance of or inherit from the __Win32Provider [ http://msdn.microsoft.com/enus/library/aa394688(VS.85).aspx ] class to create the provider registration in the MOF file.

WBEM_E_INVALID_PARAMETER 2147749896 (0x80041008) WBEM_E_NOT_AVAILABLE 2147749897 (0x80041009) WBEM_E_CRITICAL_ERROR 2147749898 (0x8004100A) WBEM_E_INVALID_STREAM 2147749899 (0x8004100B) WBEM_E_NOT_SUPPORTED 2147749900 (0x8004100C) WBEM_E_INVALID_SUPERCLASS 2147749901 (0x8004100D) WBEM_E_INVALID_NAMESPACE 2147749902 (0x8004100E) WBEM_E_INVALID_OBJECT 2147749903 (0x8004100F) WBEM_E_INVALID_CLASS 2147749904 (0x80041010) WBEM_E_PROVIDER_NOT_FOUND 2147749905 (0x80041011) WBEM_E_INVALID_PROVIDER_REGISTRATION 2147749906

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:

http://msdn.microsoft.com/en-us/library/aa394559(VS.85,printer).aspx

Page 2 of 13

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 [ http://msdn.microsoft.com/enus/library/ms682162(VS.85).aspx ] . 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) WBEM_E_TRANSPORT_FAILURE 2147749909 (0x80041015) WBEM_E_INVALID_OPERATION 2147749910 (0x80041016) Component, such as a provider, failed to initialize for internal reasons. Networking error that prevents normal operation has occurred. Requested operation is not valid. This error usually applies to invalid attempts to delete classes or properties. Query was not syntactically valid. Requested query language is not supported. In a put operation, the wbemChangeFlagCreateOnly flag was specified, but the instance already exists. Not possible to perform the add operation on this qualifier because the owning object does not permit overrides. User attempted to delete a qualifier that was not owned. The qualifier was inherited from a parent class. User attempted to delete a property that was not owned. The property was inherited from a parent class. Client made an unexpected and illegal sequence of calls, such as calling EndEnumeration [ http://msdn.microsoft.com/enus/library/aa391440(VS.85).aspx ] before calling BeginEnumeration [ http://msdn.microsoft.com/enus/library/aa391434(VS.85).aspx ] . User requested an illegal operation, such as spawning a class from an instance. 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. Current object is not a valid class definition. Either it is incomplete or it has not been registered with WMI using SWbemObject.Put_ [ http://msdn.microsoft.com/enus/library/aa393783(VS.85).aspx ] .

WBEM_E_INVALID_QUERY 2147749911 (0x80041017) WBEM_E_INVALID_QUERY_TYPE 2147749912 (0x80041018) WBEM_E_ALREADY_EXISTS 2147749913 (0x80041019) WBEM_E_OVERRIDE_NOT_ALLOWED 2147749914 (0x8004101A)

WBEM_E_PROPAGATED_QUALIFIER 2147749915 (0x8004101B)

WBEM_E_PROPAGATED_PROPERTY 2147749916 (0x8004101C)

WBEM_E_UNEXPECTED 2147749917 (0x8004101D)

WBEM_E_ILLEGAL_OPERATION 2147749918 (0x8004101E) WBEM_E_CANNOT_BE_KEY 2147749919 (0x8004101F)

WBEM_E_INCOMPLETE_CLASS 2147749920 (0x80041020)

http://msdn.microsoft.com/en-us/library/aa394559(VS.85,printer).aspx

Page 3 of 13

WBEM_E_INVALID_SYNTAX 2147749921 (0x80041021) WBEM_E_NONDECORATED_OBJECT 2147749922 (0x80041022) WBEM_E_READ_ONLY 2147749923 (0x80041023) WBEM_E_PROVIDER_NOT_CAPABLE 2147749924 (0x80041024)

Query is syntactically not valid. Reserved for future use. An attempt was made to modify a read-only property. 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. Attempt was made to make a change that invalidates a subclass. Attempt was made to delete or modify a class that has instances. Reserved for future use. Value of Nothing/NULL was specified for a property that must have a value, such as one that is marked by a Key [ http://msdn.microsoft.com/enus/library/aa392157(VS.85).aspx ] , Indexed [ http://msdn.microsoft.com/enus/library/aa392729(VS.85).aspx ] , or Not_Null qualifier. Variant value for a qualifier was provided that is not a legal qualifier type. CIM type specified for a property is not valid. Request was made with an out-of-range value or it is incompatible with the type. Illegal attempt was made to make a class singleton, such as when the class is derived from a nonsingleton class. CIM type specified is invalid. Requested method is not available. Parameters provided for the method are not valid. There was an attempt to get qualifiers on a system property. Property type is not recognized. 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. User has requested an operation while WMI is in the process of shutting down. Attempt was made to reuse an existing method name from a parent class and the signatures do not

WBEM_E_CLASS_HAS_CHILDREN 2147749925 (0x80041025) WBEM_E_CLASS_HAS_INSTANCES 2147749926 (0x80041026) WBEM_E_QUERY_NOT_IMPLEMENTED 2147749927 (0x80041027) WBEM_E_ILLEGAL_NULL 2147749928 (0x80041028)

WBEM_E_INVALID_QUALIFIER_TYPE 2147749929 (0x80041029) WBEM_E_INVALID_PROPERTY_TYPE 2147749930 (0x8004102A) WBEM_E_VALUE_OUT_OF_RANGE 2147749931 (0x8004102B) WBEM_E_CANNOT_BE_SINGLETON 2147749932 (0x8004102C)

WBEM_E_INVALID_CIM_TYPE 2147749933 (0x8004102D) WBEM_E_INVALID_METHOD 2147749934 (0x8004102E) WBEM_E_INVALID_METHOD_PARAMETERS 2147749935 (0x8004102F) WBEM_E_SYSTEM_PROPERTY 2147749936 (0x80041030) WBEM_E_INVALID_PROPERTY 2147749937 (0x80041031) WBEM_E_CALL_CANCELLED 2147749938 (0x80041032)

WBEM_E_SHUTTING_DOWN 2147749939 (0x80041033) WBEM_E_PROPAGATED_METHOD 2147749940 (0x80041034)

http://msdn.microsoft.com/en-us/library/aa394559(VS.85,printer).aspx

Page 4 of 13

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. Parameter was missing from the method call. Method parameter has an invalid ID [ http://msdn.microsoft.com/enus/library/aa393651(VS.85).aspx ] qualifier. One or more of the method parameters have ID [ http://msdn.microsoft.com/enus/library/aa393651(VS.85).aspx ] qualifiers that are out of sequence. Return value for a method has an ID [ http://msdn.microsoft.com/enus/library/aa393651(VS.85).aspx ] qualifier. Specified object path was not valid. 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 (0x8004103C) Supplied buffer was too small to hold all of the objects in the enumerator or to read a string property. Provider does not support the requested put operation. Object with an incorrect type or version was encountered during marshaling. Packet with an incorrect type or version was encountered during marshaling. Packet has an unsupported version. Packet appears to be corrupt. Attempt was made to mismatch qualifiers, such as putting [key] on an object instead of a property. Duplicate parameter was declared in a CIM method. Reserved for future use. Call to IWbemObjectSink::Indicate [ http://msdn.microsoft.com/enus/library/aa391788(VS.85).aspx ] has failed. The provider can refire the event. Specified qualifier flavor was invalid.

WBEM_E_MISSING_PARAMETER_ID 2147749942 (0x80041036) WBEM_E_INVALID_PARAMETER_ID 2147749943 (0x80041037)

WBEM_E_NONCONSECUTIVE_PARAMETER_IDS 2147749944 (0x80041038)

WBEM_E_PARAMETER_ID_ON_RETVAL 2147749945 (0x80041039)

WBEM_E_INVALID_OBJECT_PATH 2147749946 (0x8004103A) WBEM_E_OUT_OF_DISK_SPACE 2147749947 (0x8004103B)

WBEM_E_UNSUPPORTED_PUT_EXTENSION 2147749949 (0x8004103D) WBEM_E_UNKNOWN_OBJECT_TYPE 2147749950 (0x8004103E) WBEM_E_UNKNOWN_PACKET_TYPE 2147749951 (0x8004103F) WBEM_E_MARSHAL_VERSION_MISMATCH 2147749952 (0x80041040) WBEM_E_MARSHAL_INVALID_SIGNATURE 2147749953 (0x80041041) WBEM_E_INVALID_QUALIFIER 2147749954 (0x80041042) WBEM_E_INVALID_DUPLICATE_PARAMETER 2147749955 (0x80041043) WBEM_E_TOO_MUCH_DATA 2147749956 (0x80041044) WBEM_E_SERVER_TOO_BUSY 2147749957 (0x80041045)

WBEM_E_INVALID_FLAVOR 2147749958 (0x80041046)

http://msdn.microsoft.com/en-us/library/aa394559(VS.85,printer).aspx

Page 5 of 13

WBEM_E_CIRCULAR_REFERENCE 2147749959 (0x80041047) WBEM_E_UNSUPPORTED_CLASS_UPDATE 2147749960 (0x80041048) WBEM_E_CANNOT_CHANGE_KEY_INHERITANCE 2147749961 (0x80041049) WBEM_E_CANNOT_CHANGE_INDEX_INHERITANCE 2147749968 (0x80041050) WBEM_E_TOO_MANY_PROPERTIES 2147749969 (0x80041051) WBEM_E_UPDATE_TYPE_MISMATCH 2147749970 (0x80041052) WBEM_E_UPDATE_OVERRIDE_NOT_ALLOWED 2147749971 (0x80041053) WBEM_E_UPDATE_PROPAGATED_METHOD 2147749972 (0x80041054) WBEM_E_METHOD_NOT_IMPLEMENTED 2147749973 (0x80041055) WBEM_E_METHOD_DISABLED

Attempt was made to create a reference that is circular (for example, deriving a class from itself). Specified class is not supported. Attempt was made to change a key when instances or subclasses are already using the key. An attempt was made to change an index when instances or subclasses are already using the index. Attempt was made to create more properties than the current version of the class supports. Property was redefined with a conflicting type in a derived class. Attempt was made in a derived class to override a qualifier that cannot be overridden. Method was re-declared with a conflicting signature in a derived class. Attempt was made to execute a method not marked with [implemented] in any relevant class. Attempt was made to execute a method marked with [disabled]. Refresher is busy with another operation. Filtering query is syntactically invalid. The FROM clause of a filtering query references a class that is not an event class (not derived from __Event [ http://msdn.microsoft.com/enus/library/aa394634(VS.85).aspx ] ). A GROUP BY clause was used without the corresponding GROUP WITHIN clause. A GROUP BY clause was used. Aggregation on all properties is not supported. Dot notation was used on a property that is not an embedded object. A GROUP BY clause references a property that is an embedded object without using dot notation. Event provider registration query (__EventProviderRegistration [ http://msdn.microsoft.com/enus/library/aa394642(VS.85).aspx ] ) did not specify the classes for which events were provided. 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. Asynchronous delivery queue overflowed from the

WBEM_E_REFRESHER_BUSY 2147749975 (0x80041057) WBEM_E_UNPARSABLE_QUERY 2147749976 (0x80041058) WBEM_E_NOT_EVENT_CLASS 2147749977 (0x80041059)

WBEM_E_MISSING_GROUP_WITHIN 2147749978 (0x8004105A) WBEM_E_MISSING_AGGREGATION_LIST 2147749979 (0x8004105B) WBEM_E_PROPERTY_NOT_AN_OBJECT 2147749980 (0x8004105C) WBEM_E_AGGREGATING_BY_OBJECT 2147749981 (0x8004105D) WBEM_E_UNINTERPRETABLE_PROVIDER_QUERY 2147749983 (0x8004105F)

WBEM_E_BACKUP_RESTORE_WINMGMT_RUNNING 2147749984 (0x80041060)

WBEM_E_QUEUE_OVERFLOW 2147749985 (0x80041061)

http://msdn.microsoft.com/en-us/library/aa394559(VS.85,printer).aspx

Page 6 of 13

event consumer being too slow. WBEM_E_PRIVILEGE_NOT_HELD 2147749986 (0x80041062) WBEM_E_INVALID_OPERATOR 2147749987 (0x80041063) WBEM_E_LOCAL_CREDENTIALS 2147749988 (0x80041064) Operation failed because the client did not have the necessary security privilege. Operator is invalid for this property type. User specified a username/password/authority on a local connection. The user must use a blank username/password and rely on default security. Class was made abstract when its parent class is not abstract. Amended object was written without the WBEM_FLAG_USE_AMENDED_QUALIFIERS flag being specified. 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 (0x80041068) Null security descriptor was used. Windows 2000 and Windows NT: This error constant is not available. WBEM_E_TIMED_OUT 2147749993 (0x80041069) 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 (0x8004106B) Operation was ambiguous. Windows 2000 and Windows NT: This error constant is not available. 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. Windows 2000 and Windows NT: This error constant is not available. WBEM_E_TRANSACTION_CONFLICT 2147749997 (0x8004106D) Operation resulted in a transaction conflict. Windows 2000 and

WBEM_E_CANNOT_BE_ABSTRACT 2147749989 (0x80041065) WBEM_E_AMENDED_OBJECT 2147749990 (0x80041066)

WBEM_E_CLIENT_TOO_SLOW 2147749991 (0x80041067)

http://msdn.microsoft.com/en-us/library/aa394559(VS.85,printer).aspx

Page 7 of 13

Windows NT: This error constant is not available. WBEM_E_FORCED_ROLLBACK 2147749998 (0x8004106E) Transaction forced a rollback. Windows 2000 and Windows NT: This error constant is not available. WBEM_E_UNSUPPORTED_LOCALE 2147749999 (0x8004106F) 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 (0x80041070) Object handle is out-of-date. Windows 2000 and Windows NT: This error constant is not available. WBEM_E_CONNECTION_FAILED 2147750001 (0x80041071) Connection to the SQL database failed. Windows 2000 and Windows NT: This error constant is not available. WBEM_E_INVALID_HANDLE_REQUEST 2147750002 (0x80041072) Handle request was invalid. Windows 2000 and Windows NT: This error constant is not available. WBEM_E_PROPERTY_NAME_TOO_WIDE 2147750003 (0x80041073) 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 (0x80041074) 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 (0x80041075) 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 (0x80041076) Qualifier name contains more than 255 characters. Windows 2000 and Windows NT: This error constant is not available. 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. Windows 2000 and Windows NT: This error constant is not available.

http://msdn.microsoft.com/en-us/library/aa394559(VS.85,printer).aspx

Page 8 of 13

WBEM_E_DATABASE_VER_MISMATCH 2147750008 (0x80041078)

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 (0x80041079)

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 (0x8004107A)

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 (0x80041080)

Specified locale identifier was invalid for the operation. Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_PROVIDER_SUSPENDED 2147750017 (0x80041081)

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

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. Windows 2000 and Windows NT: This error constant is not available.

WBEM_E_NO_SCHEMA 2147750019 (0x80041083)

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 (0x119FD010)

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 (0x80041085)

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

WBEM_E_FATAL_TRANSPORT_ERROR 2147750022 (0x80041086)

atal transport error occurred.

http://msdn.microsoft.com/en-us/library/aa394559(VS.85,printer).aspx

Page 9 of 13

Windows 2000 and Windows NT: This error constant is not available. WBEM_E_ENCRYPTED_CONNECTION_REQUIRED 2147750023 (0x80041087) 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 (0x80041088) 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 (0x80041089) 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 (0x8004108A) 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 (0x80042001) WBEMESS_E_REGISTRATION_TOO_PRECISE 2147753986 (0x80042002) WBEMESS_E_AUTHZ_NOT_PRIVILEGED 2147753987 (0x80042003) Provider registration overlaps with the system event domain. A WITHIN clause was not used in this query. 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. Reserved for future use. Reserved for future use. Expected a qualifier name. Expected semicolon or '='. Expected an opening brace. Missing closing brace or an illegal array element. Expected a closing bracket. Expected closing parenthesis. Numeric value out of range or strings without

WBEM_E_RETRY_LATER 2147758081 (0x80043001) WBEM_E_RESOURCE_CONTENTION 2147758082 (0x80043002) WBEMMOF_E_EXPECTED_QUALIFIER_NAME 2147762177 (0x80044001) WBEMMOF_E_EXPECTED_SEMI 2147762178 (0x80044002) WBEMMOF_E_EXPECTED_OPEN_BRACE 2147762179 (0x80044003) WBEMMOF_E_EXPECTED_CLOSE_BRACE 2147762180 (0x80044004) WBEMMOF_E_EXPECTED_CLOSE_BRACKET 2147762181 (0x80044005) WBEMMOF_E_EXPECTED_CLOSE_PAREN 2147762182 (0x80044006) WBEMMOF_E_ILLEGAL_CONSTANT_VALUE 2147762183 (0x80044007)

http://msdn.microsoft.com/en-us/library/aa394559(VS.85,printer).aspx

Page 10 of 13

quotes. WBEMMOF_E_EXPECTED_TYPE_IDENTIFIER 2147762184 (0x80044008) WBEMMOF_E_EXPECTED_OPEN_PAREN 2147762185 (0x80044009) WBEMMOF_E_UNRECOGNIZED_TOKEN 2147762186 (0x8004400A) WBEMMOF_E_UNRECOGNIZED_TYPE 2147762187 (0x8004400B) WBEMMOF_E_EXPECTED_PROPERTY_NAME 2147762187 (0x8004400B) WBEMMOF_E_TYPEDEF_NOT_SUPPORTED 2147762189 (0x8004400D) WBEMMOF_E_UNEXPECTED_ALIAS 2147762190 (0x8004400E) WBEMMOF_E_UNEXPECTED_ARRAY_INIT 2147762191 (0x8004400F) WBEMMOF_E_INVALID_AMENDMENT_SYNTAX 2147762192 (0x80044010) WBEMMOF_E_INVALID_DUPLICATE_AMENDMENT 2147762193 (0x80044011) WBEMMOF_E_INVALID_PRAGMA 2147762194 (0x80044012) Expected a type identifier. Expected an open parenthesis. Unexpected token in the file. Unrecognized or unsupported type identifier. Expected property or method name. Typedefs and enumerated types are not supported. Only a reference to a class object can have an alias value. Unexpected array initialization. Arrays must be declared with []. Invalid namespace path syntax. Duplicate amendment specifiers. #pragma [ http://msdn.microsoft.com/enus/library/aa392754(VS.85).aspx ] must be followed by a valid keyword. Invalid namespace path syntax. Unexpected character in class name must be an identifier. The value specified cannot be made into the appropriate type. Dollar sign must be followed by an alias name as an identifier. Invalid class declaration. The instance declaration is invalid. It must start with "instance of" Expected dollar sign. An alias in the form "$name" must follow the "as" keyword. "CIMTYPE" qualifier cannot be specified directly in a MOF file. Use standard type notation. Duplicate property name was found in the MOF. Invalid namespace syntax. References to other servers are not allowed. Value out of range. The file is not a valid text MOF file or binary MOF

WBEMMOF_E_INVALID_NAMESPACE_SYNTAX 2147762195 (0x80044013) WBEMMOF_E_EXPECTED_CLASS_NAME 2147762196 (0x80044014) WBEMMOF_E_TYPE_MISMATCH 2147762197 (0x80044015) WBEMMOF_E_EXPECTED_ALIAS_NAME 2147762198 (0x80044016) WBEMMOF_E_INVALID_CLASS_DECLARATION 2147762199 (0x80044017) WBEMMOF_E_INVALID_INSTANCE_DECLARATION 2147762200 (0x80044018) WBEMMOF_E_EXPECTED_DOLLAR 2147762201 (0x80044019) WBEMMOF_E_CIMTYPE_QUALIFIER 2147762202 (0x8004401A) WBEMMOF_E_DUPLICATE_PROPERTY 2147762203 (0x8004401B) WBEMMOF_E_INVALID_NAMESPACE_SPECIFICATION 2147762204 (0x8004401C) WBEMMOF_E_OUT_OF_RANGE 2147762205 (0x8004401D) WBEMMOF_E_INVALID_FILE 2147762206 (0x8004401E)

http://msdn.microsoft.com/en-us/library/aa394559(VS.85,printer).aspx

Page 11 of 13

file. WBEMMOF_E_ALIASES_IN_EMBEDDED 2147762207 (0x8004401F) WBEMMOF_E_NULL_ARRAY_ELEM 2147762208 (0x80044020) WBEMMOF_E_DUPLICATE_QUALIFIER 2147762209 (0x80044021) WBEMMOF_E_EXPECTED_FLAVOR_TYPE 2147762210 (0x80044022) Embedded objects cannot be aliases. NULL elements in an array are not supported. Qualifier was used more than once on the object. Expected a flavor type such as ToInstance, ToSubClass, EnableOverride, or DisableOverride. Combining EnableOverride and DisableOverride on same qualifier is not legal. An alias cannot be used twice. Combining Restricted, and ToInstance or ToSubClass is not legal. Methods cannot return array values. Arguments must have an In or Out qualifier. Invalid flags syntax. The final brace and semi-colon for a class are missing. A CIM version 2.2 feature is not supported for a qualifier value. The CIM version 2.2 data type is not supported. Invalid delete instance syntax. It should be

WBEMMOF_E_INCOMPATIBLE_FLAVOR_TYPES 2147762211 (0x80044023) WBEMMOF_E_MULTIPLE_ALIASES 2147762212 (0x80044024) WBEMMOF_E_INCOMPATIBLE_FLAVOR_TYPES2 2147762213 (0x80044025) WBEMMOF_E_NO_ARRAYS_RETURNED 2147762214 (0x80044026) WBEMMOF_E_MUST_BE_IN_OR_OUT 2147762215 (0x80044027) WBEMMOF_E_INVALID_FLAGS_SYNTAX 2147762216 (0x80044028) WBEMMOF_E_EXPECTED_BRACE_OR_BAD_TYPE 2147762217 (0x80044029) WBEMMOF_E_UNSUPPORTED_CIMV22_QUAL_VALUE 2147762218 (0x8004402A) WBEMMOF_E_UNSUPPORTED_CIMV22_DATA_TYPE 2147762219 (0x8004402B) WBEMMOF_E_INVALID_DELETEINSTANCE_SYNTAX 2147762220 (0x8004402C)

#pragma DeleteInstance("instancepath", FAIL|NOFAIL)

WBEMMOF_E_INVALID_QUALIFIER_SYNTAX 2147762221 (0x8004402D)

Invalid qualifier syntax. It should be

qualifiername:type=value,scope (class|instance), flavorname


.

WBEMMOF_E_QUALIFIER_USED_OUTSIDE_SCOPE 2147762222 (0x8004402E) WBEMMOF_E_ERROR_CREATING_TEMP_FILE 2147762223 (0x8004402F) WBEMMOF_E_ERROR_INVALID_INCLUDE_FILE 2147762224 (0x80044030)

The qualifier is used outside of its scope. Error creating temporary file. The temporary file is an intermediate stage in the MOF compilation. A file included in the MOF by the preprocessor command #include [ http://msdn.microsoft.com/enus/library/aa394618(VS.85).aspx ] is invalid. The syntax for the preprocessor commands #pragma deleteinstance [ http://msdn.microsoft.com/enus/library/aa392752(VS.85).aspx ] or #pragma deleteclass [ http://msdn.microsoft.com/enus/library/aa392751(VS.85).aspx ] is not valid.

WBEMMOF_E_INVALID_DELETECLASS_SYNTAX 2147762225 (0x80044031)

http://msdn.microsoft.com/en-us/library/aa394559(VS.85,printer).aspx

Page 12 of 13

Requirements
Minimum supported client Minimum supported server Header IDL

Windows 2000 Professional Windows 2000 Server WbemCli.h or WmiProv.h WbemCli.idl or WmiProv.idl

See Also
WMI Return Codes [ http://msdn.microsoft.com/en-us/library/aa394574(VS.85).aspx ]

Send comments about this topic to Microsoft Build date: 10/26/2010

http://msdn.microsoft.com/en-us/library/aa394559(VS.85,printer).aspx

Page 13 of 13

You might also like