G
Guest
A application of basing on the WMI of pragrammed in the CSharp,always can not
connect the remote machine.This problem happened in "WMI SDK CIM STUDIO"
also.The hint of "access denied" appeared the screen even if all server are
opened in the "component server" of the "control panel".But,they both are
natural in the local machine.The application had been connected beforetime
the remote machine in the windows xp and windows 2000 professional ,but I
don't know the reason connected to remote machine.
the client machine : winows xp professional,service packet 1,dotnet framwork
the server machine : winows xp professional,service packet 1
the "component server" of the "control panel" :
COM+ Event System startup automatism local system
COM+ System Application startup automatism local system
DCOM startup automatism local system
Remote Procedure Call (RPC) startup automatism net service
Remote Procedure Call (RPC) Locator startup automatism net service
Windows Management Instrumentation startup automatism local system
Windows Management Instrumentation Driver Extensions startup
automatism local system
logs: in the accessories
Why???
[the accessories]
wmiadap.log
(Mon Sep 27 11:04:47 2004.2086960) : failure in loading HKEY 80000060 for
locale 004 err: 0
wmiprov.log
(Mon Sep 27 14:06:35 2004.12994835) : Impersonation failed - Access
denied(Mon Sep 27 14:06:35 2004.12994835) : No longer registered for Mof
events
(Tue Sep 28 08:54:20 2004.279982) : WDM call returned error: 4200
winmgmt.log
(Mon Sep 27 10:34:42 2004.281855) : No Dredge to run
(Tue Sep 28 08:54:20 2004.280012) : No Dredge to run
wbemprox.log
(Mon Sep 27 17:10:08 2004.24008141) : ConnectViaDCOM, CoCreateInstanceEx
resulted in hr = 0x80070005
(Mon Sep 27 11:27:38 2004.3458232) : NTLMLogin resulted in hr = 0x80041003
(Mon Sep 27 11:27:38 2004.3458232) : Access denied was returned, giving up!
(Mon Sep 27 11:27:52 2004.3472052) : ConnectViaDCOM, CoCreateInstanceEx
resulted in hr = 0x800706ba
wmimess.log
(Fri Sep 24 16:59:02 2004.6237529) : Unable to register event source
'Service Control Manager' on server ''. Error code: 6B5
(Fri Sep 24 16:59:02 2004.6237549) : Event consumer provider is unable to
instantiate event consumer NTEventLogEventConsumer="SCM Event Log Consumer":
error code 0x80041001
(Fri Sep 24 16:59:02 2004.6237549) : Failed the first attempt to retrieve
the sink to deliver an event to event consumer NTEventLogEventConsumer="SCM
Event Log Consumer" with error code 80041001.
WMI will reload and retry.
(Mon Sep 27 09:02:21 2004.120953) : NT Event Log Consumer: could not
retrieve sid, 0x80041002
wbemcore.log
(Fri Sep 24 14:27:02 2004.1547645) : Failed to pre-process an instance using
a property provider. Error code: 8004100A
setup.log
(Fri Sep 24 14:27:11 2004): Failed to get ODBC Driver version size info
(Fri Sep 24 14:27:11 2004): ERROR: A failure in verifying or removing
currently installed version of WBEM ODBC.
app_log1.txt
(Mon Sep 27 13:25:47 2004.16002765) : Local Events Verified called,
glEventsRegistered: 0
(Mon Sep 27 13:25:47 2004.16002812) : Instance Provider constructed
(Mon Sep 27 13:25:47 2004.16003062) : WDM call returned error: 4200
(Mon Sep 27 13:25:47 2004.16003609) : End of processing Binary
MOFS***************
(Mon Sep 27 13:25:47 2004.16003609) : Successfully Registered for Mof Events
(Mon Sep 27 13:25:47 2004.16003609) : Local Events Verified called,
glEventsRegistered: 1
(Mon Sep 27 13:25:48 2004.16003765) : Local Events Verified called,
glEventsRegistered: 0
(Mon Sep 27 13:25:48 2004.16003765) : Instance Provider constructed
(Mon Sep 27 13:25:48 2004.16003781) : Impersonation failed - Access
denied(Mon Sep 27 13:25:48 2004.16003781) : Impersonation failed - Access
denied(Mon Sep 27 13:25:48 2004.16003781) : Successfully Registered for Mof
Events
(Mon Sep 27 13:25:48 2004.16003781) : Local Events Verified called,
glEventsRegistered: 1
(Mon Sep 27 13:25:48 2004.16003781) : Impersonation failed - Access
denied(Mon Sep 27 13:26:18 2004.16033796) : Instance Provider destructed
app_log2.txt
loaded event parser:Notification
loaded event parser:Alarm
loaded renderer:TestResultPropertyRenderer
loaded editor:TestResultPropEditor
total memory = 380604
Added ProtocalAdapter
total memory = 503484
count = 1
polling task= WBEM.PollingTask
meta class Not found :screen
getMetaClass :System.Runtime.InteropServices.COMException (0x800706BA): RPC
server isn't used.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
errorCode
, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObject.Initialize(Boolean getObject)
at System.Management.ManagementObject.Get()
at WBEM.WMI.WMIAdapter.getMetaClass(String nameSpace, String className)
count = 2
count = 1
count = 0
count = 1
Event watcher try run
Event watcher try run 1
start watch : SELECT * FROM __InstanceOperationEvent WITHIN 10 WHERE
TargetInsta
nce ISA 'screen'
wmi start watcher ... ...1
wmi start watcher ... ...2
System.Runtime.InteropServices.COMException (0x800706BA): RPC server isn't
used.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
errorCode
, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementEventWatcher.Initialize()
at System.Management.ManagementEventWatcher.Start()
at WBEM.WMI.WMIAdapter.startWatch(String eventNameSpace, String
eventClass, String sourceClass, Int32 period, ICIMEventSubscriber callback,
Object& context)
connect the remote machine.This problem happened in "WMI SDK CIM STUDIO"
also.The hint of "access denied" appeared the screen even if all server are
opened in the "component server" of the "control panel".But,they both are
natural in the local machine.The application had been connected beforetime
the remote machine in the windows xp and windows 2000 professional ,but I
don't know the reason connected to remote machine.
the client machine : winows xp professional,service packet 1,dotnet framwork
the server machine : winows xp professional,service packet 1
the "component server" of the "control panel" :
COM+ Event System startup automatism local system
COM+ System Application startup automatism local system
DCOM startup automatism local system
Remote Procedure Call (RPC) startup automatism net service
Remote Procedure Call (RPC) Locator startup automatism net service
Windows Management Instrumentation startup automatism local system
Windows Management Instrumentation Driver Extensions startup
automatism local system
logs: in the accessories
Why???
[the accessories]
wmiadap.log
(Mon Sep 27 11:04:47 2004.2086960) : failure in loading HKEY 80000060 for
locale 004 err: 0
wmiprov.log
(Mon Sep 27 14:06:35 2004.12994835) : Impersonation failed - Access
denied(Mon Sep 27 14:06:35 2004.12994835) : No longer registered for Mof
events
(Tue Sep 28 08:54:20 2004.279982) : WDM call returned error: 4200
winmgmt.log
(Mon Sep 27 10:34:42 2004.281855) : No Dredge to run
(Tue Sep 28 08:54:20 2004.280012) : No Dredge to run
wbemprox.log
(Mon Sep 27 17:10:08 2004.24008141) : ConnectViaDCOM, CoCreateInstanceEx
resulted in hr = 0x80070005
(Mon Sep 27 11:27:38 2004.3458232) : NTLMLogin resulted in hr = 0x80041003
(Mon Sep 27 11:27:38 2004.3458232) : Access denied was returned, giving up!
(Mon Sep 27 11:27:52 2004.3472052) : ConnectViaDCOM, CoCreateInstanceEx
resulted in hr = 0x800706ba
wmimess.log
(Fri Sep 24 16:59:02 2004.6237529) : Unable to register event source
'Service Control Manager' on server ''. Error code: 6B5
(Fri Sep 24 16:59:02 2004.6237549) : Event consumer provider is unable to
instantiate event consumer NTEventLogEventConsumer="SCM Event Log Consumer":
error code 0x80041001
(Fri Sep 24 16:59:02 2004.6237549) : Failed the first attempt to retrieve
the sink to deliver an event to event consumer NTEventLogEventConsumer="SCM
Event Log Consumer" with error code 80041001.
WMI will reload and retry.
(Mon Sep 27 09:02:21 2004.120953) : NT Event Log Consumer: could not
retrieve sid, 0x80041002
wbemcore.log
(Fri Sep 24 14:27:02 2004.1547645) : Failed to pre-process an instance using
a property provider. Error code: 8004100A
setup.log
(Fri Sep 24 14:27:11 2004): Failed to get ODBC Driver version size info
(Fri Sep 24 14:27:11 2004): ERROR: A failure in verifying or removing
currently installed version of WBEM ODBC.
app_log1.txt
(Mon Sep 27 13:25:47 2004.16002765) : Local Events Verified called,
glEventsRegistered: 0
(Mon Sep 27 13:25:47 2004.16002812) : Instance Provider constructed
(Mon Sep 27 13:25:47 2004.16003062) : WDM call returned error: 4200
(Mon Sep 27 13:25:47 2004.16003609) : End of processing Binary
MOFS***************
(Mon Sep 27 13:25:47 2004.16003609) : Successfully Registered for Mof Events
(Mon Sep 27 13:25:47 2004.16003609) : Local Events Verified called,
glEventsRegistered: 1
(Mon Sep 27 13:25:48 2004.16003765) : Local Events Verified called,
glEventsRegistered: 0
(Mon Sep 27 13:25:48 2004.16003765) : Instance Provider constructed
(Mon Sep 27 13:25:48 2004.16003781) : Impersonation failed - Access
denied(Mon Sep 27 13:25:48 2004.16003781) : Impersonation failed - Access
denied(Mon Sep 27 13:25:48 2004.16003781) : Successfully Registered for Mof
Events
(Mon Sep 27 13:25:48 2004.16003781) : Local Events Verified called,
glEventsRegistered: 1
(Mon Sep 27 13:25:48 2004.16003781) : Impersonation failed - Access
denied(Mon Sep 27 13:26:18 2004.16033796) : Instance Provider destructed
app_log2.txt
loaded event parser:Notification
loaded event parser:Alarm
loaded renderer:TestResultPropertyRenderer
loaded editor:TestResultPropEditor
total memory = 380604
Added ProtocalAdapter
total memory = 503484
count = 1
polling task= WBEM.PollingTask
meta class Not found :screen
getMetaClass :System.Runtime.InteropServices.COMException (0x800706BA): RPC
server isn't used.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
errorCode
, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObject.Initialize(Boolean getObject)
at System.Management.ManagementObject.Get()
at WBEM.WMI.WMIAdapter.getMetaClass(String nameSpace, String className)
count = 2
count = 1
count = 0
count = 1
Event watcher try run
Event watcher try run 1
start watch : SELECT * FROM __InstanceOperationEvent WITHIN 10 WHERE
TargetInsta
nce ISA 'screen'
wmi start watcher ... ...1
wmi start watcher ... ...2
System.Runtime.InteropServices.COMException (0x800706BA): RPC server isn't
used.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
errorCode
, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementEventWatcher.Initialize()
at System.Management.ManagementEventWatcher.Start()
at WBEM.WMI.WMIAdapter.startWatch(String eventNameSpace, String
eventClass, String sourceClass, Int32 period, ICIMEventSubscriber callback,
Object& context)