Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WMI provider problem

110 views
Skip to first unread message

Shober@discussions.microsoft.com Ed Shober

unread,
Dec 2, 2009, 7:06:06 PM12/2/09
to
I'm having trouble testing my WMI provider on Server 2003. My provider is
installed and registered. When I use WMI CIM Studio to enumerate instances I
get and error stating that the provider is not capable of the attempted
operation. I'm not sure what I've missed. The wbemcore.log listing below
doesn't help me. I'm not sure if there is a problem with the registration,
the cimple library I'm using or my provider. My provider is loaded but the
enumerate instances operation is not called.

Here's the wbemcore.log listing:

...
(Wed Dec 02 16:58:49 2009.20524640) : CALL CWbemNamespace::GetObject
BSTR ObjectPath = FIO_ComputerSystem
long lFlags = 0
IWbemClassObject ** pObj = 0x808F058
(Wed Dec 02 16:58:49 2009.20524703) : CALL CWbemNamespace::GetObject
BSTR ObjectPath = \\WINCRASH\ROOT\CIMV2:FIO_ComputerSystem
long lFlags = 131072
IWbemClassObject ** pObj = 0x560F058
(Wed Dec 02 16:58:51 2009.20526718) : CALL CWbemNamespace::GetObject
BSTR ObjectPath = FIO_ComputerSystem
long lFlags = 0
IWbemClassObject ** pObj = 0x4BCF058
(Wed Dec 02 16:58:51 2009.20526718) : CALL CWbemNamespace::GetObject
BSTR ObjectPath = FIO_ComputerSystem
long lFlags = 0
IWbemClassObject ** pObj = 0x808F058
(Wed Dec 02 16:58:51 2009.20526718) : CALL CWbemNamespace::CreateInstanceEnum
long lFlags = 0x30
BSTR Class = FIO_ComputerSystem
IEnumWbemClassObject **pEnum = 0x363452F0
(Wed Dec 02 16:58:51 2009.20526718) : CALL
CWbemNamespace::CreateInstanceEnumAsync
BSTR Class = FIO_ComputerSystem
long lFlags = 0x0
IWbemObjectSink pHandler = 0x0
(Wed Dec 02 16:58:51 2009.20526718) : CALL CWbemNamespace::GetObject
BSTR ObjectPath = __Win32Provider.Name="fiosmis"
long lFlags = 0
IWbemClassObject ** pObj = 0x3BA75720
(Wed Dec 02 16:58:51 2009.20526718) : CALL CWbemNamespace::GetObjectAsync
BSTR ObjectPath = __Win32Provider.Name="fiosmis"
long lFlags = 0
IWbemObjectSink* pHandler = 0x0
(Wed Dec 02 16:58:51 2009.20526718) : STARTING a main queue thread 3036 for
a total of 2
(Wed Dec 02 16:58:51 2009.20526718) : CALL CWbemNamespace::ExecQuery
BSTR QueryFormat = Wql
BSTR Query = references of {__Win32Provider.Name="fiosmis"}
IEnumWbemClassObject **pEnum = 0x3C1F548
(Wed Dec 02 16:58:51 2009.20526718) : CALL CWbemNamespace::ExecQueryAsync
BSTR QueryFormat = Wql
BSTR Query = references of {__Win32Provider.Name="fiosmis"}
IWbemObjectSink* pHandler = 0x0
(Wed Dec 02 16:58:51 2009.20526734) : CALL CWbemNamespace::GetObject
BSTR ObjectPath = __Win32Provider.Name="fiosmis"
long lFlags = 0
IWbemClassObject ** pObj = 0x4BCF058
(Wed Dec 02 16:58:51 2009.20526734) : CALL CWbemNamespace::ExecQuery
BSTR QueryFormat = Wql
BSTR Query = references of {__Win32Provider.Name="fiosmis"}
IEnumWbemClassObject **pEnum = 0x158A30
(Wed Dec 02 16:58:51 2009.20526734) : CALL CWbemNamespace::ExecQueryAsync
BSTR QueryFormat = Wql
BSTR Query = references of {__Win32Provider.Name="fiosmis"}
IWbemObjectSink* pHandler = 0x0
(Wed Dec 02 16:58:51 2009.20527000) : Query Engine request: querying dyn
provider with <select * from FIO_ComputerSystem>
(Wed Dec 02 16:58:51 2009.20527000) : Query Engine actual: querying dyn
provider with <select * from FIO_ComputerSystem>
(Wed Dec 02 16:58:51 2009.20527000) : CALL CWbemNamespace::GetObject
BSTR ObjectPath = __Win32Provider.Name="fiosmis"
long lFlags = 0
IWbemClassObject ** pObj = 0x3AE05F20
(Wed Dec 02 16:58:51 2009.20527000) : CALL CWbemNamespace::GetObjectAsync
BSTR ObjectPath = __Win32Provider.Name="fiosmis"
long lFlags = 0
IWbemObjectSink* pHandler = 0x0
(Wed Dec 02 16:58:51 2009.20527000) : CALL CWbemNamespace::ExecQuery
BSTR QueryFormat = Wql
BSTR Query = references of {__Win32Provider.Name="fiosmis"}
IEnumWbemClassObject **pEnum = 0x3D9F7C8
(Wed Dec 02 16:58:51 2009.20527000) : CALL CWbemNamespace::ExecQueryAsync
BSTR QueryFormat = Wql
BSTR Query = references of {__Win32Provider.Name="fiosmis"}
IWbemObjectSink* pHandler = 0x0
(Wed Dec 02 16:58:51 2009.20527000) : Error 80041024 occured executing
request for FIO_ComputerSystem
(Wed Dec 02 16:58:51 2009.20527000) : Error 80041002 occured executing
request for CancelProvAsyncCall for sink 000000003B7C9620
(Wed Dec 02 16:58:51 2009.20527000) : CAsyncReq_CancelProvAsyncCall call
failed
(Wed Dec 02 16:58:56 2009.20532437) : + DllCanUnloadNow()
(Wed Dec 02 16:58:56 2009.20532437) : - DllCanUnloadNow() S_FALSE
(Wed Dec 02 16:58:56 2009.20532437) : + DllCanUnloadNow()
(Wed Dec 02 16:58:56 2009.20532437) : - DllCanUnloadNow() S_FALSE
(Wed Dec 02 16:59:03 2009.20539000) : STOPPING a main queue thread 2660 for
a total of 1
(Wed Dec 02 16:59:03 2009.20539000) : STOPPING a main queue thread 3036 for
a total of 0
(Wed Dec 02 17:01:42 2009.20698609) : + DllCanUnloadNow()
(Wed Dec 02 17:01:42 2009.20698609) : - DllCanUnloadNow() S_FALSE
(Wed Dec 02 17:01:42 2009.20698609) : + DllCanUnloadNow()
(Wed Dec 02 17:01:42 2009.20698609) : - DllCanUnloadNow() S_FALSE

I would be so grateful for some help with this,
Ed

0 new messages